:root {
  --bg: #f4f6fa;
  --surface: #ffffff;
  --surface-soft: #f8f9fc;
  --text: #182032;
  --muted: #6f7789;
  --muted-2: #9aa2b1;
  --border: #e8eaf0;
  --nav: #111827;
  --nav-soft: #1a2233;
  --primary: #5965e8;
  --primary-deep: #4853d3;
  --primary-soft: #eef0ff;
  --red: #e85c5c;
  --red-soft: #fff0ef;
  --orange: #f09a49;
  --orange-soft: #fff5e8;
  --green: #2ea980;
  --green-soft: #eaf8f3;
  --blue: #5a8dee;
  --blue-soft: #edf4ff;
  --shadow-sm: 0 1px 2px rgba(20, 25, 38, 0.03), 0 5px 16px rgba(20, 25, 38, 0.035);
  --shadow-lg: 0 28px 80px rgba(17, 24, 39, 0.24);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* 经验案例库 */
.experience-library { margin-top: 18px; overflow: hidden; }
.case-library-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 25px 19px; border-bottom: 1px solid var(--border); }
.case-library-title { display: flex; align-items: center; gap: 13px; }
.case-library-symbol { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; color: #5b62e8; background: #eeefff; }
.case-library-symbol svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.case-library-title > div > span { display: block; margin-bottom: 3px; color: #777fa2; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.case-library-title h2 { margin: 0; color: #171b35; font-size: 20px; }
.case-library-title p { margin: 5px 0 0; color: #8389a3; font-size: 12px; }
.case-current-object { min-width: 260px; padding-left: 22px; text-align: right; border-left: 1px solid var(--border); }
.case-current-object span, .case-current-object small { display: block; color: #9298ae; font-size: 11px; }
.case-current-object strong { display: block; margin: 4px 0 3px; color: #252a48; font-size: 13px; }

.case-admission-rule { margin: 18px 22px 0; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid #d8dafd; border-radius: 13px; background: linear-gradient(100deg,#f6f6ff 0%,#fbfbff 60%,#f7fbff 100%); }
.case-admission-rule > div > span { display: block; margin-bottom: 5px; color: #686f99; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.case-admission-rule strong { color: #242946; font-size: 14px; }
.case-admission-rule strong b { color: #555de1; }
.case-admission-rule strong i { margin: 0 10px; padding: 3px 8px; color: #fff; font-size: 11px; font-style: normal; border-radius: 999px; background: #646bea; }
.case-admission-rule p { max-width: 440px; margin: 0; color: #737a99; font-size: 12px; line-height: 1.65; }
.case-admission-rule p span { color: #343a66; font-weight: 800; }

.case-summary { margin: 14px 22px 0; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border); border-radius: 13px; background: #fff; overflow: hidden; }
.case-summary > div { min-height: 84px; padding: 15px 18px; border-left: 1px solid var(--border); }
.case-summary > div:first-child { border-left: 0; }
.case-summary span, .case-summary small { display: block; color: #969caf; font-size: 11px; }
.case-summary strong { display: block; margin: 5px 0 2px; color: #222743; font-size: 23px; }

.case-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px 14px; }
.case-group-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.case-group-filters button { padding: 8px 11px; color: #747a94; font-size: 12px; font-weight: 700; border: 1px solid #e2e4ef; border-radius: 9px; background: #fff; cursor: pointer; }
.case-group-filters button span { margin-left: 6px; color: #9ca1b6; }
.case-group-filters button.active { color: #5159da; border-color: #cfd2ff; background: #f0f1ff; }
.case-group-filters button.active span { color: inherit; }
.case-legend { display: flex; align-items: center; gap: 13px; color: #8b91a7; font-size: 11px; white-space: nowrap; }
.case-legend span { display: inline-flex; align-items: center; gap: 5px; }
.case-legend i { width: 7px; height: 7px; border-radius: 50%; background: #23b87d; }
.case-legend i.adjust { background: #7776f0; }
.case-legend i.reference { background: #e0a23b; }

.case-grid { padding: 0 22px 20px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.experience-case-card { padding: 18px; border: 1px solid #e2e4ef; border-radius: 15px; background: #fff; box-shadow: 0 7px 22px rgba(31,37,80,.045); }
.experience-case-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.experience-case-card > header > div { display: flex; align-items: center; gap: 7px; }
.case-id { color: #868ca6; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.case-group-tag { padding: 4px 7px; color: #555dcc; font-size: 10px; font-weight: 800; border-radius: 999px; background: #f0f1ff; }
.case-fit { padding: 5px 8px; font-size: 10px; font-weight: 800; border-radius: 999px; }
.case-fit.direct, .case-detail-fit.direct { color: #14815a; background: #e9f8f1; }
.case-fit.adjust, .case-detail-fit.adjust { color: #5753c9; background: #efefff; }
.case-fit.reference, .case-detail-fit.reference { color: #a46a12; background: #fff5df; }
.case-fit.inapplicable, .case-detail-fit.inapplicable { color: #8a8fa4; background: #f0f1f5; }
.experience-case-card h3 { margin: 14px 0 7px; color: #202540; font-size: 17px; line-height: 1.35; }
.case-problem { margin: 0 0 13px; color: #6f7692; font-size: 12px; }
.case-problem span { margin-right: 7px; color: #989eb2; }
.case-root { padding: 11px 12px; border-radius: 10px; background: #f8f9fc; }
.case-root span, .case-root small { display: block; color: #969caf; font-size: 10px; }
.case-root strong { display: block; margin: 4px 0; color: #363b59; font-size: 12px; line-height: 1.5; }
.case-admission-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 11px 0; }
.case-admission-metrics > div { position: relative; padding: 10px 11px; border: 1px solid #dcece6; border-radius: 10px; background: #fbfffd; }
.case-admission-metrics span, .case-admission-metrics small { display: block; color: #85908d; font-size: 10px; }
.case-admission-metrics strong { display: block; margin: 3px 0; color: #17815a; font-size: 18px; }
.case-admission-metrics small { color: #22a974; font-weight: 800; }
.case-scope { padding-top: 11px; border-top: 1px solid #eceef4; }
.case-scope span { color: #8b91a7; font-size: 10px; font-weight: 800; }
.case-scope p { min-height: 38px; margin: 5px 0 0; color: #555c77; font-size: 11px; line-height: 1.6; }
.case-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 13px; }
.case-card-actions button { min-height: 36px; border-radius: 9px; font-size: 12px; font-weight: 800; cursor: pointer; }
.case-secondary { color: #596079; border: 1px solid #dfe2ed; background: #fff; }
.case-primary { color: #fff; border: 1px solid #5f66e7; background: #6269e8; }
.case-primary.reused { color: #17815a; border-color: #cbe8dc; background: #edf9f4; }
.case-primary:disabled { color: #9ca1b2; border-color: #e4e5eb; background: #f2f3f6; cursor: not-allowed; }
.case-observation-note { margin: 0 22px 22px; padding: 13px 15px; display: grid; grid-template-columns: 155px 1fr; align-items: start; gap: 12px; border: 1px dashed #e0e2ec; border-radius: 11px; background: #fafafd; }
.case-observation-note div span { display: block; margin-bottom: 3px; color: #9a8b6c; font-size: 10px; font-weight: 800; }
.case-observation-note div strong { color: #555c73; font-size: 12px; }
.case-observation-note p { margin: 0; color: #878da1; font-size: 11px; line-height: 1.65; }

.case-detail-modal { position: fixed; inset: 0; z-index: 1450; display: grid; place-items: center; padding: 22px; background: rgba(13,17,39,.58); backdrop-filter: blur(4px); }
.case-detail-modal[hidden] { display: none; }
.case-detail-window { width: min(1100px,calc(100vw - 44px)); max-height: min(820px,calc(100vh - 44px)); display: flex; flex-direction: column; border-radius: 18px; background: #f7f8fb; box-shadow: 0 30px 90px rgba(9,13,37,.32); overflow: hidden; }
.case-detail-header { min-height: 78px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: #171c34; }
.case-detail-heading { display: flex; align-items: center; gap: 12px; }
.case-detail-logo { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; font-size: 20px; background: linear-gradient(145deg,#777df4,#565dda); }
.case-detail-heading small { color: #aeb4d0; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.case-detail-heading h2 { margin: 3px 0 0; font-size: 18px; }
.case-detail-body { padding: 16px 18px 20px; overflow: auto; }
.case-detail-overview { display: grid; grid-template-columns: 1.55fr repeat(3,1fr); border: 1px solid var(--border); border-radius: 13px; background: #fff; overflow: hidden; }
.case-detail-overview > div { min-height: 82px; padding: 15px; border-left: 1px solid var(--border); }
.case-detail-overview > div:first-child { border-left: 0; }
.case-detail-overview span, .case-detail-overview small { display: block; color: #989eb2; font-size: 10px; }
.case-detail-overview strong { display: block; margin: 6px 0 4px; color: #242944; font-size: 14px; line-height: 1.35; }
.case-detail-overview > div:nth-child(2) strong, .case-detail-overview > div:nth-child(3) strong { color: #17815a; font-size: 21px; }
.case-detail-fit { width: fit-content; padding: 5px 8px; border-radius: 8px; }
.case-detail-tabs { margin-top: 15px; display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid #dde0eb; border-radius: 11px; background: #fff; overflow: hidden; }
.case-detail-tabs button { min-height: 43px; color: #7a8099; font-size: 11px; font-weight: 800; border: 0; border-left: 1px solid #e7e9f1; background: transparent; cursor: pointer; }
.case-detail-tabs button:first-child { border-left: 0; }
.case-detail-tabs button.active { color: #555dde; background: #f0f1ff; box-shadow: inset 0 -2px #666dea; }
.case-detail-content { margin-top: 12px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.case-detail-content article { min-height: 142px; padding: 15px; display: grid; grid-template-columns: 31px 1fr; gap: 11px; border: 1px solid #e2e4ed; border-radius: 12px; background: #fff; }
.case-detail-content article > span { display: grid; place-items: center; width: 29px; height: 29px; color: #6269dc; font-size: 10px; font-weight: 900; border-radius: 9px; background: #eff0ff; }
.case-detail-content h3 { margin: 3px 0 7px; color: #2c314d; font-size: 13px; }
.case-detail-content p { margin: 0; color: #69708a; font-size: 11px; line-height: 1.7; }
.detail-tag { display: inline-flex; margin: 0 5px 5px 0; padding: 5px 8px; color: #575ecc; font-weight: 800; border-radius: 999px; background: #eff0ff; }
.inline-fit { display: inline-block; margin-right: 7px; padding: 3px 7px; border-radius: 7px; }
.case-detail-footer { min-height: 76px; padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #dfe1e9; background: #fff; }
.case-detail-footer strong, .case-detail-footer small { display: block; }
.case-detail-footer strong { color: #30354f; font-size: 12px; }
.case-detail-footer small { max-width: 720px; margin-top: 4px; color: #898fa5; font-size: 10px; }
.case-detail-footer button { min-width: 160px; }

@media (max-width: 980px) {
  .case-admission-rule { align-items: flex-start; flex-direction: column; gap: 8px; }
  .case-admission-rule p { max-width: none; }
  .case-toolbar { align-items: flex-start; flex-direction: column; }
  .case-detail-overview { grid-template-columns: repeat(2,1fr); }
  .case-detail-overview > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .case-detail-overview > div:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 680px) {
  .case-library-head { align-items: flex-start; flex-direction: column; padding: 17px 14px; }
  .case-current-object { width: 100%; padding: 10px 0 0; text-align: left; border-top: 1px solid var(--border); border-left: 0; }
  .case-admission-rule, .case-summary, .case-observation-note { margin-inline: 12px; }
  .case-admission-rule strong { line-height: 2; }
  .case-admission-rule strong i { margin-inline: 4px; }
  .case-summary { grid-template-columns: repeat(2,1fr); }
  .case-summary > div:nth-child(3) { border-top: 1px solid var(--border); border-left: 0; }
  .case-summary > div:nth-child(4) { border-top: 1px solid var(--border); }
  .case-toolbar { padding-inline: 12px; }
  .case-legend { display: none; }
  .case-grid { padding-inline: 12px; grid-template-columns: 1fr; }
  .case-observation-note { grid-template-columns: 1fr; }
  .case-detail-modal { padding: 0; }
  .case-detail-window { width: 100vw; max-height: none; height: 100vh; border-radius: 0; }
  .case-detail-header { padding-inline: 13px; }
  .case-detail-body { padding: 10px; }
  .case-detail-tabs { display: flex; overflow-x: auto; }
  .case-detail-tabs button { flex: 0 0 116px; }
  .case-detail-content { grid-template-columns: 1fr; }
  .case-detail-footer { align-items: stretch; flex-direction: column; }
  .case-detail-footer button { width: 100%; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); }
button, input, select { font: inherit; }
button { cursor: pointer; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 10; width: 224px; padding: 24px 14px 18px;
  display: flex; flex-direction: column; color: #aab2c2; background: var(--nav);
}
.brand { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 10px; color: #fff; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; border-radius: 10px; background: linear-gradient(145deg, #6e79f3, #4955db); box-shadow: 0 8px 24px rgba(89,101,232,.28); }
.brand-mark svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; letter-spacing: .05em; }
.brand small { margin-top: 3px; color: #758097; font-size: 10px; letter-spacing: .08em; }
.nav-list { margin-top: 34px; display: grid; gap: 5px; }
.nav-item { min-height: 43px; padding: 0 13px; display: flex; align-items: center; gap: 12px; color: #919bad; font-size: 14px; text-decoration: none; border-radius: 9px; transition: .2s ease; }
.nav-item:hover { color: #e7eafd; background: rgba(255,255,255,.04); }
.nav-item.active { color: #fff; background: linear-gradient(90deg, rgba(89,101,232,.22), rgba(89,101,232,.08)); }
.nav-item.active::before { position: absolute; left: 0; width: 3px; height: 22px; content: ""; background: #7d86ff; border-radius: 0 4px 4px 0; }
.nav-icon { width: 19px; height: 19px; display: inline-grid; place-items: center; }
.nav-icon svg { width: 18px; height: 18px; }
.nav-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; color: #efc3bf; font-size: 11px; background: rgba(232,92,92,.18); border-radius: 12px; }
.sidebar-foot { margin-top: auto; }
.team-card { margin: 0 2px 12px; padding: 13px 10px; display: flex; align-items: center; gap: 9px; color: #dce0e9; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.05); border-radius: 10px; }
.team-card strong, .team-card small { display: block; }
.team-card strong { font-size: 12px; font-weight: 500; }
.team-card small { margin-top: 3px; color: #768094; font-size: 10px; }
.team-avatar { flex: 0 0 auto; width: 29px; height: 29px; display: grid; place-items: center; color: #d9ddff; font-size: 12px; background: #303958; border-radius: 8px; }
.chevron { margin-left: auto; color: #7b8495; }

.main { min-width: 0; margin-left: 224px; padding: 0 30px 28px; }
.topbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--border); }
.eyebrow { margin-bottom: 5px; color: var(--muted); font-size: 11px; letter-spacing: .11em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.02em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.date-button, .icon-button, .avatar-button, .close-button { border: 0; background: none; }
.date-button { height: 38px; padding: 0 12px; display: flex; align-items: center; gap: 9px; color: #51596b; font-size: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; }
.date-button svg { width: 16px; height: 16px; }
.date-button span { margin-left: 4px; color: #949baa; }
.icon-button { position: relative; width: 38px; height: 38px; display: grid; place-items: center; color: #697184; background: var(--surface); border: 1px solid var(--border); border-radius: 9px; }
.icon-button svg { width: 17px; height: 17px; }
.notification-dot { position: absolute; top: 8px; right: 8px; width: 6px; height: 6px; background: var(--red); border: 2px solid #fff; border-radius: 50%; }
.primary-button { height: 40px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 500; font-size: 13px; border: 0; border-radius: 9px; background: linear-gradient(135deg, #6370f2, var(--primary-deep)); box-shadow: 0 5px 14px rgba(76,87,215,.18); transition: transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 8px 19px rgba(76,87,215,.25); }
.agent-spark { font-size: 15px; }
.avatar-button { width: 37px; height: 37px; color: #4d5884; font-weight: 600; background: #e8ebf8; border-radius: 10px; }

.analysis-selector { margin-top: 20px; min-height: 70px; padding: 11px 13px 11px 16px; display: grid; grid-template-columns: minmax(175px,.8fr) minmax(150px,.72fr) minmax(230px,1.25fr) auto auto; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; box-shadow: var(--shadow-sm); }
.selector-heading { display: flex; align-items: center; gap: 10px; }
.selector-icon { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: 9px; }
.selector-icon svg { width: 17px; height: 17px; }
.selector-heading strong, .selector-heading small { display: block; }
.selector-heading strong { color: #3a4254; font-size: 11px; }
.selector-heading small { margin-top: 4px; color: #9aa1af; font-size: 8px; }
.selector-field { min-width: 0; }
.selector-field > span { display: block; margin: 0 0 5px 2px; color: #969dac; font-size: 8px; }
.selector-field select { width: 100%; height: 34px; padding: 0 31px 0 10px; overflow: hidden; color: #454d5f; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; border: 1px solid #e2e5eb; outline: 0; background: #fafbfc; border-radius: 8px; }
.selector-field select:focus { border-color: #aeb5f5; box-shadow: 0 0 0 3px rgba(89,101,232,.08); }
.selected-object-meta { min-width: 92px; padding-left: 12px; border-left: 1px solid var(--border); }
.selected-object-meta span, .selected-object-meta strong { display: block; white-space: nowrap; }
.selected-object-meta span { color: #657087; font-size: 9px; }
.selected-object-meta strong { margin-top: 5px; color: #999fad; font-size: 8px; font-weight: 500; }
.database-jump { height: 38px; padding: 0 7px 0 12px; display: flex; align-items: center; gap: 9px; color: var(--primary); font-size: 9px; border: 1px solid #dfe2fb; background: #fafaff; border-radius: 9px; }
.database-jump span { min-width: 39px; height: 25px; display: grid; place-items: center; color: #fff; font-size: 9px; background: var(--primary); border-radius: 7px; }

.brief-bar { margin-top: 22px; min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #495164; font-size: 13px; background: linear-gradient(90deg, #f0f1ff, #f7f8ff); border: 1px solid #e6e8ff; border-radius: 10px; }
.brief-copy { display: flex; align-items: center; gap: 10px; }
.live-dot { width: 8px; height: 8px; background: var(--red); border: 2px solid rgba(232,92,92,.2); border-radius: 50%; box-shadow: 0 0 0 4px rgba(232,92,92,.09); }
.brief-meta { display: flex; gap: 22px; color: #788092; font-size: 12px; }
.brief-meta strong { color: #3b4356; }

.kpi-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi-card { min-width: 0; padding: 17px 18px 15px; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; box-shadow: var(--shadow-sm); }
.kpi-head, .kpi-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi-head { color: #626a7c; font-size: 12px; }
.metric-tag { padding: 3px 6px; font-size: 10px; border-radius: 5px; }
.metric-tag.up { color: var(--green); background: var(--green-soft); }
.metric-tag.down { color: #cc6c51; background: var(--orange-soft); }
.kpi-value { margin: 13px 0 9px; color: #21283a; font-size: 27px; font-weight: 650; letter-spacing: -.03em; }
.kpi-value span { margin-left: 2px; font-size: 14px; font-weight: 500; }
.kpi-foot { color: var(--muted-2); font-size: 10px; }
.progress { height: 4px; margin-top: 12px; overflow: hidden; background: #eff1f5; border-radius: 3px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, #8992f3, var(--primary)); border-radius: inherit; }
.progress.danger span { background: linear-gradient(90deg, #f0aa72, #e87562); }

.scope-kpi-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.scope-kpi-card { position: relative; overflow: hidden; }
.scope-kpi-card::after { position: absolute; top: 0; right: 0; width: 70px; height: 70px; content: ""; pointer-events: none; background: radial-gradient(circle at top right, rgba(89,101,232,.09), transparent 68%); }
.scope-metric-tag { padding: 3px 7px; color: var(--primary); font-size: 9px; background: var(--primary-soft); border-radius: 5px; }
.scope-metric-tag.warning { color: #bd7542; background: var(--orange-soft); }
.issue-total-card .kpi-value { color: #d75858; }
.loss-total-card .kpi-value { color: #bd6a3f; }

.scope-product-overview { margin-top: 16px; overflow: hidden; }
.scope-overview-head { min-height: 74px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.scope-overview-head > div > span { display: block; margin-bottom: 3px; color: var(--primary); font-size: 8px; font-weight: 650; letter-spacing: .08em; }
.scope-overview-head h2 { margin: 0; color: #30384b; font-size: 15px; }
.scope-overview-head p { margin: 5px 0 0; color: #969daa; font-size: 9px; }
.scope-overview-count { padding: 6px 9px; color: #5965db; font-size: 9px; background: var(--primary-soft); border-radius: 7px; white-space: nowrap; }
.scope-product-table-wrap { overflow-x: auto; }
.scope-product-table { width: 100%; min-width: 960px; border-collapse: collapse; }
.scope-product-table th { height: 38px; padding: 0 13px; color: #8c94a4; font-size: 8px; font-weight: 550; text-align: left; background: #fafbfc; border-bottom: 1px solid var(--border); }
.scope-product-table td { padding: 12px 13px; color: #5d6577; font-size: 9px; border-bottom: 1px solid #eff1f4; vertical-align: middle; }
.scope-product-table tbody tr:last-child td { border-bottom: 0; }
.scope-product-table tbody tr:hover { background: #fbfbff; }
.scope-product-table strong, .scope-product-table small { display: block; }
.scope-product-table strong { color: #434b5e; font-size: 9px; }
.scope-product-table small { margin-top: 4px; color: #9aa1ae; font-size: 8px; }
.scope-product-table .scope-current { max-width: 190px; }
.scope-count-pill { min-width: 25px; height: 22px; display: inline-grid; place-items: center; color: #d05757; font-weight: 650; background: var(--red-soft); border-radius: 11px; }
.scope-evidence-cell { min-width: 120px; }
.scope-evidence-line { display: flex; align-items: center; gap: 8px; }
.scope-evidence-line > span { flex: 1; height: 4px; overflow: hidden; background: #edf0f4; border-radius: 3px; }
.scope-evidence-line > span i { display: block; height: 100%; background: linear-gradient(90deg,#8790ef,var(--primary)); border-radius: inherit; }
.scope-loss-value { color: #bd6a3f; font-weight: 650; }
.scope-row-actions { display: flex; align-items: center; gap: 6px; }
.scope-row-actions button { min-height: 27px; padding: 0 9px; color: var(--primary); font-size: 8px; border: 1px solid #dfe2fa; background: #fafaff; border-radius: 6px; white-space: nowrap; }
.scope-row-actions button.secondary { color: #9c7044; border-color: #f0dfca; background: #fffaf3; }
.scope-row-actions button:disabled { color: #a7adba; border-color: #e7e9ed; background: #f6f7f9; cursor: default; }
.scope-aggregate-note { grid-column: 1 / -1; min-height: 102px; padding: 19px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #626b7d; background: linear-gradient(90deg,#f7f8ff,#fff); border: 1px solid #e3e6fb; border-radius: 9px; }
.scope-aggregate-note strong { display: block; margin-bottom: 6px; color: #3f485d; font-size: 11px; }
.scope-aggregate-note p { margin: 0; font-size: 9px; line-height: 1.65; }
.scope-aggregate-note button { padding: 7px 10px; color: #fff; font-size: 8px; border: 0; background: var(--primary); border-radius: 7px; white-space: nowrap; }

.insight-factor-panel { margin-top: 16px; overflow: hidden; }
.factor-panel-head { min-height: 86px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--border); }
.factor-level > span { display: block; margin-bottom: 4px; color: var(--primary); font-size: 8px; font-weight: 600; letter-spacing: .09em; }
.factor-level h2 { margin: 0; color: #293143; font-size: 16px; }
.factor-level p { margin: 5px 0 0; color: #989fad; font-size: 9px; }
.factor-model-path { padding-left: 18px; text-align: right; border-left: 1px solid var(--border); }
.factor-model-path span, .factor-model-path strong { display: block; }
.factor-model-path span { color: #9aa1af; font-size: 8px; }
.factor-model-path strong { margin-top: 6px; color: #586174; font-size: 9px; font-weight: 500; }
.factor-model-path i { margin: 0 5px; color: #a8aeba; font-style: normal; }
.factor-group-tabs { padding: 13px 20px; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; background: #fafbfc; border-bottom: 1px solid var(--border); }
.factor-group-tab { min-height: 55px; padding: 9px 11px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 9px; color: #737c8e; text-align: left; border: 1px solid #e8eaf0; background: #fff; border-radius: 9px; transition: .18s; }
.factor-group-tab:hover { border-color: #d8dcf6; }
.factor-group-tab.active { color: var(--primary); border-color: #cfd4fb; background: #f7f8ff; box-shadow: 0 4px 14px rgba(76,87,215,.07); }
.factor-group-tab > span:first-child { width: 28px; height: 28px; display: grid; place-items: center; color: #858da0; font-size: 9px; background: #f1f3f6; border-radius: 8px; }
.factor-group-tab.active > span:first-child { color: #fff; background: var(--primary); }
.factor-group-tab strong, .factor-group-tab small { display: block; }
.factor-group-tab strong { color: inherit; font-size: 9px; font-weight: 600; }
.factor-group-tab small { margin-top: 3px; color: #a0a7b4; font-size: 7px; }
.factor-group-tab > em { color: #7e8798; font-size: 8px; font-style: normal; }
.factor-group-tab > em.has-gap { color: var(--orange); }
.factor-context { min-height: 52px; padding: 9px 20px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border-bottom: 1px solid #eff0f4; }
.factor-context div span, .factor-context div strong { display: block; }
.factor-context div span { color: #a1a7b4; font-size: 7px; }
.factor-context div strong { margin-top: 3px; color: #485063; font-size: 10px; }
.factor-context p { margin: 0; color: #9299a8; font-size: 8px; }
.factor-evidence-score { padding: 4px 7px; color: var(--green); font-size: 8px; background: var(--green-soft); border-radius: 6px; }
.factor-evidence-score.has-gap { color: #b3783e; background: var(--orange-soft); }
.factor-detail-grid { padding: 14px 20px 16px; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.factor-detail-card { min-width: 0; padding: 13px 14px; background: #fff; border: 1px solid var(--border); border-radius: 9px; }
.factor-detail-card.missing { border-color: #f2d9d6; background: #fffafa; }
.factor-detail-card.stale { border-color: #f2e3cd; background: #fffdf9; }
.factor-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.factor-card-head h3 { margin: 0; color: #464e60; font-size: 10px; }
.factor-card-status { min-height: 20px; padding: 0 7px; display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 7px; background: var(--green-soft); border-radius: 10px; white-space: nowrap; }
.factor-card-status::before { width: 5px; height: 5px; content: ""; background: currentColor; border-radius: 50%; }
.factor-card-status.missing { color: var(--red); background: var(--red-soft); }
.factor-card-status.stale { color: var(--orange); background: var(--orange-soft); }
.factor-card-value { margin: 10px 0 9px; min-height: 34px; color: #626b7d; font-size: 9px; line-height: 1.65; }
.factor-fields { display: flex; flex-wrap: wrap; gap: 5px; }
.factor-fields span { padding: 3px 6px; color: #8991a1; font-size: 7px; background: #f4f5f8; border-radius: 5px; }
.factor-card-evidence { margin-top: 10px; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #9ba2b0; font-size: 7px; border-top: 1px solid #eff0f4; }
.factor-card-evidence strong { color: #6c7485; font-size: 7px; font-weight: 500; }
.factor-card-evidence strong.loss { color: var(--red); }
.factor-card-evidence strong.partial { color: var(--orange); }
.factor-panel-foot { min-height: 47px; padding: 9px 20px; display: flex; align-items: center; justify-content: space-between; color: #9299a8; font-size: 8px; background: #fafbfc; border-top: 1px solid var(--border); }
.factor-panel-foot > span { display: flex; align-items: center; gap: 6px; }
.factor-panel-foot > span i { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
.factor-panel-foot b { font-weight: 400; }

.dashboard-grid { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 16px; align-items: start; }
.panel { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 11px; box-shadow: var(--shadow-sm); }
.panel-head { min-height: 74px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); }
.panel-head.compact { min-height: 68px; }
.panel-head h2 { margin: 0; color: #252c3d; font-size: 15px; font-weight: 600; }
.panel-head p { margin: 5px 0 0; color: var(--muted-2); font-size: 11px; }
.title-row { display: flex; align-items: center; gap: 7px; }
.count-badge { min-width: 20px; height: 20px; padding: 0 6px; display: grid; place-items: center; color: var(--primary); font-size: 10px; background: var(--primary-soft); border-radius: 10px; }
.factor-origin { padding: 3px 6px; color: #8b739f; font-size: 7px; background: #f4eff8; border-radius: 5px; }
.text-button { padding: 5px; display: flex; align-items: center; gap: 5px; color: var(--primary); font-size: 11px; border: 0; background: none; }
.issue-list { padding: 3px 20px 8px; }
.issue-row { width: 100%; padding: 15px 2px; display: grid; grid-template-columns: minmax(220px, 1fr) 105px 100px 83px; align-items: center; gap: 18px; text-align: left; color: inherit; border: 0; border-bottom: 1px solid #eff0f4; background: none; transition: .18s; }
.issue-row:last-child { border-bottom: 0; }
.issue-row:hover { margin: 0 -10px; padding-left: 12px; padding-right: 12px; width: calc(100% + 20px); background: #f9faff; border-radius: 8px; }
.issue-main { min-width: 0; display: flex; align-items: center; gap: 12px; }
.severity-bar { align-self: stretch; width: 3px; min-height: 38px; background: var(--orange); border-radius: 3px; }
.severity-bar.high { background: var(--red); }
.severity-bar.medium { background: #efaa55; }
.issue-main strong, .issue-main small { display: block; }
.issue-main strong { overflow: hidden; color: #303748; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.issue-main small { margin-top: 5px; color: var(--muted-2); font-size: 10px; }
.issue-metric span, .issue-owner span { display: block; color: var(--muted-2); font-size: 9px; }
.issue-metric strong { display: block; margin-top: 4px; color: #343b4d; font-size: 12px; }
.issue-metric strong b { margin-left: 4px; color: var(--red); font-size: 9px; font-weight: 500; }
.issue-owner strong { display: block; margin-top: 4px; color: #555d70; font-size: 11px; font-weight: 500; }
.status-pill { justify-self: end; min-width: 67px; height: 24px; padding: 0 8px; display: inline-grid; place-items: center; color: #b57134; font-size: 9px; background: var(--orange-soft); border-radius: 12px; }
.status-pill.red { color: #cf5b5b; background: var(--red-soft); }
.status-pill.blue { color: #5879bd; background: var(--blue-soft); }

.review-progress { grid-row: span 2; }
.progress-status { padding: 4px 8px; color: var(--primary); font-size: 9px; background: var(--primary-soft); border-radius: 10px; }
.stepper { margin: 0; padding: 11px 20px 16px; list-style: none; }
.stepper li { position: relative; min-height: 55px; display: grid; grid-template-columns: 27px 1fr auto; align-items: start; gap: 10px; }
.stepper li::before { position: absolute; top: 27px; bottom: -1px; left: 13px; width: 1px; content: ""; background: #e6e8ee; }
.stepper li:last-child::before { display: none; }
.stepper li > span { z-index: 1; width: 27px; height: 27px; display: grid; place-items: center; color: #a6adba; font-size: 9px; background: #f3f4f7; border: 1px solid #e6e8ed; border-radius: 50%; }
.stepper li.done > span { color: #fff; background: var(--green); border-color: var(--green); }
.stepper li.done > span { font-size: 0; }
.stepper li.done > span::after { content: "✓"; font-size: 11px; }
.stepper li.active > span { color: #fff; background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.stepper strong, .stepper small { display: block; }
.stepper strong { color: #434a5c; font-size: 11px; font-weight: 600; }
.stepper small { margin-top: 4px; color: #a0a7b5; font-size: 9px; }
.stepper li.active strong { color: var(--primary); }
.stepper em { color: var(--muted-2); font-size: 9px; font-style: normal; }
.stepper li.done em { color: var(--green); }
.stepper li.active em { padding: 3px 6px; color: var(--primary); background: var(--primary-soft); border-radius: 8px; }

.legend { display: flex; gap: 14px; color: var(--muted); font-size: 9px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; }
.legend-bar { width: 8px; height: 8px; background: #cbd0fa; border-radius: 2px; }
.legend-line { width: 12px; height: 2px; background: var(--orange); border-radius: 2px; }
.chart-wrap { padding: 8px 16px 5px; }
.trend-chart { width: 100%; height: 230px; overflow: visible; }
.grid-lines line { stroke: #edf0f4; stroke-width: 1; }
.axis-labels text { fill: #9da4b2; font-size: 9px; }
.axis-labels text:not(:first-child):not(:nth-child(2)):not(:nth-child(3)):not(:nth-child(4)) { text-anchor: middle; }
.bars rect { fill: #dfe2fd; }
.rate-line { fill: none; stroke: var(--orange); stroke-width: 2.3; }
.rate-points circle { fill: #fff; stroke: var(--orange); stroke-width: 2; }
.chart-callout rect { fill: var(--orange); stroke: none; }
.chart-callout text { fill: #fff; font-size: 10px; font-weight: 600; text-anchor: middle; }

.action-summary { padding: 17px 20px; display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--border); }
.action-summary div { padding-left: 15px; border-left: 1px solid var(--border); }
.action-summary div:first-child { padding-left: 0; border-left: 0; }
.action-summary strong, .action-summary span { display: block; }
.action-summary strong { font-size: 20px; }
.action-summary span { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.strategy-project-entry { margin: 10px 16px 4px; padding: 11px 12px; display: grid; grid-template-columns: 31px 1fr auto auto; align-items: center; gap: 11px; background: linear-gradient(105deg,#f3f4ff,#fff); border: 1px solid #dfe2fb; border-radius: 9px; }
.strategy-project-entry[hidden] { display: none; }
.project-entry-icon { width: 31px; height: 31px; display: grid; place-items: center; color: #fff; font-size: 9px; background: linear-gradient(135deg,#7884fb,#4c59dc); border-radius: 8px; }
.strategy-project-entry div > small, .strategy-project-entry div > strong, .strategy-project-entry div > span { display: block; }
.strategy-project-entry div > small { color: #969eae; font-size: 7px; }
.strategy-project-entry div > strong { margin-top: 3px; color: #444d60; font-size: 9px; }
.strategy-project-entry div > span { margin-top: 3px; color: #8d95a5; font-size: 7px; }
.project-entry-progress { min-width: 58px; text-align: center; }
.project-entry-progress strong { color: var(--primary) !important; font-size: 13px !important; }
.strategy-project-entry button { min-height: 29px; padding: 0 11px; color: #fff; font-size: 8px; font-weight: 600; background: var(--primary); border: 0; border-radius: 7px; cursor: pointer; }
.warning { color: var(--orange); }
.danger-text { color: var(--red) !important; }
.task-list { padding: 6px 20px 9px; }
.execution-empty-state { min-height: 112px; display: grid; place-content: center; gap: 5px; color: #98a0af; text-align: center; }
.execution-empty-state strong { color: #697286; font-size: 10px; font-weight: 550; }
.execution-empty-state span { font-size: 8px; }
.task-row { min-height: 58px; display: grid; grid-template-columns: 7px 1fr auto; align-items: center; gap: 11px; border-bottom: 1px solid #f0f1f4; }
.linked-execution-task { cursor: pointer; }
.linked-execution-task:hover { background: #fafbff; }
.task-row:last-child { border-bottom: 0; }
.task-state { width: 7px; height: 7px; border-radius: 50%; }
.task-state.orange { background: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft); }
.task-state.red { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.task-state.blue { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.task-state.green { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.task-row strong, .task-row small { display: block; }
.task-row strong { color: #444b5d; font-size: 10px; font-weight: 550; }
.task-row small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.task-date { color: #7c8495; font-size: 9px; }
.task-date.overdue { color: var(--red); }
.more-execution-tasks { width: 100%; min-height: 34px; color: var(--primary); font-size: 8px; background: transparent; border: 0; cursor: pointer; }
.evidence-database { margin-top: 16px; overflow: hidden; scroll-margin-top: 18px; }
.database-head { min-height: 82px; padding: 17px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--border); }
.database-title-row { display: flex; align-items: center; gap: 9px; }
.database-symbol { width: 31px; height: 31px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: 8px; }
.database-symbol svg { width: 16px; height: 16px; }
.database-head h2 { margin: 0; color: #293143; font-size: 15px; }
.database-head p { margin: 5px 0 0 40px; color: #979eac; font-size: 9px; }
.database-object { padding-left: 18px; text-align: right; border-left: 1px solid var(--border); }
.database-object span, .database-object strong { display: block; }
.database-object span { color: #989fad; font-size: 8px; }
.database-object strong { margin-top: 5px; color: #4a5264; font-size: 10px; }
.database-summary { display: grid; grid-template-columns: repeat(4,1fr); background: #fafbfc; border-bottom: 1px solid var(--border); }
.database-summary > div { min-height: 86px; padding: 16px 20px; border-left: 1px solid var(--border); }
.database-summary > div:first-child { border-left: 0; }
.database-summary span, .database-summary strong, .database-summary small { display: block; }
.database-summary > div > span { color: #929aaa; font-size: 9px; }
.database-summary strong { margin-top: 6px; color: #343c4e; font-size: 20px; }
.database-summary strong.sync-time { font-size: 15px; letter-spacing: .01em; }
.database-summary small { margin-top: 5px; color: #a0a6b3; font-size: 8px; }
.sync-dot { display: inline-block; width: 5px; height: 5px; margin-right: 4px; background: var(--green); border-radius: 50%; }
.evidence-warning { margin: 14px 20px 0; padding: 11px 13px; display: flex; align-items: flex-start; gap: 10px; color: #6f5b4f; background: #fff8ef; border: 1px solid #f6e5cf; border-radius: 9px; }
.warning-icon { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; background: var(--orange); border-radius: 50%; }
.evidence-warning strong { display: block; color: #6c5547; font-size: 10px; }
.evidence-warning p { margin: 4px 0 0; color: #9a7e6b; font-size: 9px; line-height: 1.55; }
.evidence-warning.complete-state { color: #446b5d; background: var(--green-soft); border-color: #d8efe6; }
.evidence-warning.complete-state .warning-icon { background: var(--green); }
.evidence-warning.complete-state strong { color: #416b5b; }
.evidence-warning.complete-state p { color: #668678; }
.evidence-toolbar { min-height: 57px; padding: 11px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--border); }
.evidence-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.evidence-filters button { min-height: 27px; padding: 0 9px; color: #7e8697; font-size: 8px; border: 0; background: transparent; border-radius: 7px; }
.evidence-filters button:hover { color: var(--primary); background: #f6f7fd; }
.evidence-filters button.active { color: var(--primary); font-weight: 600; background: var(--primary-soft); }
.evidence-legend { display: flex; gap: 12px; color: #9198a7; font-size: 8px; white-space: nowrap; }
.evidence-legend span { display: flex; align-items: center; gap: 5px; }
.evidence-legend i { width: 7px; height: 7px; border-radius: 50%; }
.evidence-legend .complete { background: var(--green); }
.evidence-legend .stale { background: var(--orange); }
.evidence-legend .missing { background: var(--red); }
.evidence-table-wrap { overflow-x: auto; }
.evidence-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.evidence-table th { padding: 10px 14px; color: #9299a7; font-size: 8px; font-weight: 500; text-align: left; background: #fafbfc; border-bottom: 1px solid var(--border); }
.evidence-table th:nth-child(1) { width: 17%; padding-left: 20px; }
.evidence-table th:nth-child(2) { width: 34%; }
.evidence-table th:nth-child(3) { width: 22%; }
.evidence-table th:nth-child(4) { width: 13%; }
.evidence-table th:nth-child(5) { width: 14%; text-align: right; padding-right: 20px; }
.evidence-table td { padding: 12px 14px; color: #626b7e; font-size: 9px; line-height: 1.5; vertical-align: middle; border-bottom: 1px solid #eff0f4; }
.evidence-table tr:last-child td { border-bottom: 0; }
.evidence-table tr.missing-row { background: #fffafa; }
.evidence-table tr.stale-row { background: #fffdf9; }
.evidence-table td:first-child { padding-left: 20px; }
.evidence-table td:last-child { padding-right: 20px; text-align: right; }
.evidence-name { display: flex; align-items: flex-start; gap: 8px; }
.evidence-name > span { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; color: var(--primary); font-size: 8px; font-weight: 600; background: var(--primary-soft); border-radius: 7px; }
.evidence-name strong, .evidence-name small, .source-cell strong, .source-cell small { display: block; }
.evidence-name strong { color: #454d5f; font-size: 9px; }
.evidence-name small { margin-top: 3px; color: #a0a6b3; font-size: 7px; }
.evidence-content strong { display: block; margin-bottom: 3px; color: #515a6c; font-size: 9px; }
.evidence-content span { color: #9299a8; font-size: 8px; }
.source-cell strong { color: #596274; font-size: 8px; font-weight: 500; }
.source-cell small { margin-top: 4px; color: #a0a7b5; font-size: 7px; }
.evidence-status { display: inline-flex; align-items: center; gap: 5px; min-height: 22px; padding: 0 7px; font-size: 8px; border-radius: 11px; }
.evidence-status::before { width: 5px; height: 5px; content: ""; border-radius: 50%; }
.evidence-status.complete { color: #328568; background: var(--green-soft); }
.evidence-status.complete::before { background: var(--green); }
.evidence-status.stale { color: #b4793e; background: var(--orange-soft); }
.evidence-status.stale::before { background: var(--orange); }
.evidence-status.missing { color: #c45656; background: var(--red-soft); }
.evidence-status.missing::before { background: var(--red); }
.confidence-impact { color: #9ca3b0; font-weight: 600; }
.confidence-impact.loss { color: var(--red); }
.confidence-impact.partial { color: var(--orange); }
.page-footer { padding: 18px 4px 0; display: flex; justify-content: space-between; color: #a2a9b6; font-size: 9px; }

.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(12,18,30,.25); backdrop-filter: blur(1px); }
.cause-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(760px, 100vw); display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 60px rgba(23,30,50,.16); transform: translateX(102%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.cause-drawer.open { transform: translateX(0); }
.drawer-head { min-height: 88px; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.drawer-kicker { display: block; margin-bottom: 5px; color: var(--primary); font-size: 10px; letter-spacing: .08em; }
.drawer-head h2 { margin: 0; font-size: 18px; }
.close-button { width: 34px; height: 34px; display: grid; place-items: center; color: #7c8493; font-size: 23px; border-radius: 8px; }
.close-button:hover { background: #f2f3f6; }
.drawer-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 22px 25px; }
.deviation-card { padding: 14px 16px; display: grid; grid-template-columns: repeat(4,1fr); background: var(--surface-soft); border: 1px solid #eceef3; border-radius: 10px; }
.deviation-card div { padding: 0 10px; border-left: 1px solid #e2e5eb; }
.deviation-card div:first-child { padding-left: 0; border-left: 0; }
.deviation-card span, .deviation-card strong { display: block; }
.deviation-card span { color: var(--muted-2); font-size: 9px; }
.deviation-card strong { margin-top: 5px; color: #3a4152; font-size: 12px; }
.facts-note { margin-top: 10px; padding: 11px 12px; display: flex; align-items: flex-start; gap: 9px; color: #626a7b; font-size: 10px; line-height: 1.6; background: var(--blue-soft); border-radius: 8px; }
.facts-note > span { flex: 0 0 auto; width: 18px; height: 18px; display: grid; place-items: center; color: #fff; font-size: 9px; font-weight: 600; background: var(--blue); border-radius: 50%; }
.facts-note p { margin: 0; }
.drawer-tabs { margin-top: 18px; display: flex; gap: 22px; border-bottom: 1px solid var(--border); }
.drawer-tab { position: relative; padding: 10px 1px; color: #8a91a0; font-size: 11px; border: 0; background: none; }
.drawer-tab.active { color: var(--primary); font-weight: 600; }
.drawer-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ""; background: var(--primary); border-radius: 2px 2px 0 0; }
.tab-panel { padding-top: 15px; }
.root-cause-card { padding: 15px 16px; background: linear-gradient(135deg, #f7f4ff, #f3f5ff); border: 1px solid #e7e4fb; border-radius: 10px; }
.root-label { display: flex; justify-content: space-between; align-items: center; }
.root-label > span:first-child { padding: 3px 7px; color: #fff; font-size: 9px; background: var(--primary); border-radius: 5px; }
.confidence { display: flex; align-items: center; gap: 5px; color: #767e91; font-size: 9px; }
.confidence i { width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.confidence span { color: var(--green); font-weight: 600; }
.root-cause-card h3 { margin: 12px 0 7px; color: #333a4d; font-size: 14px; }
.root-cause-card p { margin: 0; color: #757d8e; font-size: 10px; line-height: 1.7; }
.section-title { margin: 18px 0 10px; color: #4b5263; font-size: 11px; font-weight: 600; }
.cause-chain { display: grid; grid-template-columns: 1fr 20px 1fr 20px 1fr; align-items: stretch; }
.cause-chain > div { padding: 10px; background: #f8f9fb; border-radius: 8px; }
.cause-chain > div.root { background: #f0f1ff; }
.cause-chain span { display: block; color: #929aaa; font-size: 8px; }
.cause-chain p { margin: 5px 0 0; color: #525a6c; font-size: 9px; line-height: 1.5; }
.cause-chain > i { display: grid; place-items: center; color: #aab0bc; font-size: 12px; font-style: normal; transform: rotate(-90deg); }
.factor-list { display: grid; gap: 9px; }
.factor-row { display: grid; grid-template-columns: 60px 1fr 35px; align-items: center; gap: 9px; color: #687083; font-size: 9px; }
.factor-track { height: 6px; overflow: hidden; background: #f0f1f5; border-radius: 4px; }
.factor-track span { display: block; height: 100%; background: #aeb5f6; border-radius: inherit; }
.factor-row:first-child .factor-track span { background: var(--primary); }
.factor-row strong { color: #50586b; font-size: 9px; text-align: right; }
.attribution-overview { padding: 15px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg,#f6f7ff,#fbfbff); border: 1px solid #e4e6fb; border-radius: 11px; }
.attribution-overview > div:first-child { min-width: 0; }
.attribution-kicker { color: var(--primary); font-size: 8px; font-weight: 600; letter-spacing: .08em; }
.attribution-overview h3 { margin: 6px 0 4px; color: #373f51; font-size: 13px; }
.attribution-overview p { margin: 0; color: #8991a2; font-size: 9px; line-height: 1.6; }
.attribution-confidence { flex: 0 0 116px; padding-left: 16px; border-left: 1px solid #e1e3f4; }
.attribution-confidence span, .attribution-confidence strong, .attribution-confidence small { display: block; }
.attribution-confidence span { color: #969dad; font-size: 8px; }
.attribution-confidence strong { margin-top: 5px; color: var(--primary); font-size: 20px; }
.attribution-confidence small { margin-top: 3px; color: #9ca3b1; font-size: 7px; }
.attribution-group-tabs { margin-top: 11px; display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.attribution-group-tab { flex: 1 0 122px; min-height: 49px; padding: 8px 9px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 7px; color: #747d90; text-align: left; border: 1px solid #e6e8ee; background: #fff; border-radius: 8px; }
.attribution-group-tab:hover { border-color: #d7daf5; }
.attribution-group-tab.active { color: var(--primary); border-color: #ccd1fa; background: #f6f7ff; }
.attribution-group-tab > span:first-child { width: 22px; height: 22px; display: grid; place-items: center; color: #969dac; font-size: 7px; background: #f0f2f5; border-radius: 6px; }
.attribution-group-tab.active > span:first-child { color: #fff; background: var(--primary); }
.attribution-group-tab strong, .attribution-group-tab small { display: block; }
.attribution-group-tab strong { color: inherit; font-size: 8px; line-height: 1.25; }
.attribution-group-tab small { margin-top: 3px; color: #a0a7b5; font-size: 7px; }
.attribution-group-head { min-height: 67px; padding: 15px 2px 10px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.attribution-group-head div > span { color: var(--primary); font-size: 7px; font-weight: 600; }
.attribution-group-head h3 { margin: 4px 0 3px; color: #424a5c; font-size: 12px; }
.attribution-group-head p { margin: 0; color: #999fad; font-size: 8px; }
.attribution-group-score { padding: 5px 8px; color: var(--green); font-size: 8px; background: var(--green-soft); border-radius: 12px; white-space: nowrap; }
.attribution-group-score.has-gap { color: #b7793f; background: var(--orange-soft); }
.attribution-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.attribution-detail-card { min-height: 168px; padding: 13px; display: flex; flex-direction: column; border: 1px solid #e8eaf0; background: #fff; border-radius: 9px; box-shadow: 0 3px 12px rgba(27,36,55,.025); }
.attribution-detail-card.stale { border-color: #eee0ca; background: #fffdf9; }
.attribution-detail-card.missing { border-color: #f0d7d7; background: #fffafa; }
.attribution-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.attribution-card-head h4 { margin: 0; color: #444c5f; font-size: 10px; }
.attribution-card-status { flex: 0 0 auto; padding: 3px 6px; color: var(--green); font-size: 7px; background: var(--green-soft); border-radius: 9px; }
.attribution-card-status.stale { color: #aa713b; background: var(--orange-soft); }
.attribution-card-status.missing { color: #bd5555; background: var(--red-soft); }
.attribution-card-value { margin: 9px 0 10px; color: #687184; font-size: 9px; line-height: 1.65; }
.attribution-fields { display: flex; flex-wrap: wrap; gap: 4px; }
.attribution-fields span { padding: 3px 5px; color: #7d8697; font-size: 7px; background: #f2f3f6; border-radius: 4px; }
.attribution-card-evidence { margin-top: auto; padding-top: 9px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; border-top: 1px dashed #e5e7ec; }
.attribution-card-evidence span, .attribution-card-evidence strong { display: block; }
.attribution-card-evidence span { max-width: 72%; color: #939aa8; font-size: 7px; line-height: 1.45; }
.attribution-card-evidence strong { color: var(--green); font-size: 7px; font-weight: 550; text-align: right; }
.attribution-card-evidence strong.partial { color: #ad733e; }
.attribution-card-evidence strong.loss { color: #bd5555; }
.evidence-header { margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; color: var(--muted-2); font-size: 9px; }
.evidence-grade { padding: 4px 7px; color: var(--green); background: var(--green-soft); border-radius: 5px; }
.evidence-list { margin: 0; padding: 0; list-style: none; counter-reset: proof; }
.evidence-list li { position: relative; padding: 12px 11px 12px 42px; color: #5d6577; font-size: 10px; line-height: 1.6; border-bottom: 1px solid var(--border); counter-increment: proof; }
.evidence-list li::before { position: absolute; top: 12px; left: 8px; width: 22px; height: 22px; display: grid; place-items: center; content: counter(proof); color: var(--primary); font-size: 9px; background: var(--primary-soft); border-radius: 50%; }
.counter-evidence, .pending-proof { margin-top: 14px; padding: 13px; border-radius: 8px; }
.counter-evidence { background: var(--green-soft); }
.pending-proof { background: var(--orange-soft); }
.counter-evidence strong, .pending-proof strong { color: #596173; font-size: 10px; }
.counter-evidence p, .pending-proof p { margin: 6px 0 0; color: #737b8c; font-size: 10px; line-height: 1.6; }
.strategy-option { position: relative; margin-bottom: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 10px; }
.strategy-option.recommended { border-color: #dfe1fb; background: #fafaff; }
.recommend-tag { display: inline-block; padding: 3px 7px; color: var(--primary); font-size: 8px; background: var(--primary-soft); border-radius: 5px; }
.recommend-tag.neutral { color: #777f8f; background: #f0f2f5; }
.strategy-option h3 { margin: 11px 0 6px; color: #3c4354; font-size: 12px; }
.strategy-option p { margin: 0; color: #7c8495; font-size: 9px; line-height: 1.65; }
.strategy-metrics { margin-top: 12px; padding-top: 11px; display: flex; justify-content: space-between; gap: 8px; color: #8a92a1; font-size: 8px; border-top: 1px solid var(--border); }
.strategy-metrics strong { display: block; margin-top: 3px; color: #50586a; font-size: 10px; }
.drawer-footer { min-height: 70px; padding: 14px 22px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; border-top: 1px solid var(--border); background: #fff; }
.secondary-button { height: 40px; color: #60687b; font-size: 11px; border: 1px solid var(--border); background: #fff; border-radius: 9px; }
.primary-button.full { width: 100%; }

.agent-modal { position: fixed; inset: 0; z-index: 80; padding: 24px; display: grid; place-items: center; background: rgba(10,16,28,.58); backdrop-filter: blur(4px); }
.agent-modal[hidden], .overlay[hidden] { display: none; }
.agent-window { width: min(980px, 96vw); height: min(700px, 92vh); overflow: hidden; background: #fff; border-radius: 15px; box-shadow: var(--shadow-lg); }
.agent-header { height: 74px; padding: 0 20px 0 22px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(100deg, #171e34, #222b4d); }
.agent-identity { display: flex; align-items: center; gap: 11px; }
.agent-logo { width: 36px; height: 36px; display: grid; place-items: center; color: #f1f2ff; font-size: 17px; background: linear-gradient(135deg, #7b85f8, #505dde); border-radius: 10px; box-shadow: 0 8px 22px rgba(81,94,223,.3); }
.agent-identity h2 { margin: 0; font-size: 15px; }
.agent-identity p { margin: 4px 0 0; color: #929bb7; font-size: 9px; }
.agent-header-actions { display: flex; align-items: center; gap: 13px; }
.agent-online { display: flex; align-items: center; gap: 6px; color: #aeb6cc; font-size: 9px; }
.agent-online i { width: 6px; height: 6px; background: #4ed0a0; border-radius: 50%; box-shadow: 0 0 0 4px rgba(78,208,160,.1); }
.close-button.dark { color: #9fa8c0; }
.close-button.dark:hover { color: #fff; background: rgba(255,255,255,.08); }
.agent-body { height: calc(100% - 74px); display: grid; grid-template-columns: 230px 1fr; }
.agent-context { min-height: 0; padding: 22px 18px; overflow-y: auto; background: #f8f9fc; border-right: 1px solid var(--border); }
.context-label { display: block; color: #969dac; font-size: 8px; letter-spacing: .09em; }
.agent-context h3 { margin: 9px 0 15px; color: #343b4d; font-size: 13px; line-height: 1.4; }
.context-metric { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #9aa1b0; font-size: 9px; border-bottom: 1px dashed #e3e5ea; }
.context-metric strong { color: #545c6e; font-size: 10px; font-weight: 550; text-align: right; }
.agent-context hr { margin: 18px 0; border: 0; border-top: 1px solid var(--border); }
.mini-steps { margin: 13px 0 0; padding: 0; display: grid; gap: 2px; list-style: none; }
.mini-steps li { min-height: 34px; padding: 0 8px; display: flex; align-items: center; gap: 9px; color: #9299a8; font-size: 9px; border-radius: 7px; }
.mini-steps li span { width: 19px; height: 19px; display: grid; place-items: center; color: #9ca3b1; font-size: 8px; background: #eef0f4; border-radius: 50%; }
.mini-steps li.active { color: var(--primary); font-weight: 600; background: var(--primary-soft); }
.mini-steps li.active span { color: #fff; background: var(--primary); }
.mini-steps li.done { color: #5e6678; }
.mini-steps li.done span { color: #fff; font-size: 0; background: var(--green); }
.mini-steps li.done span::after { content: "✓"; font-size: 9px; }
.agent-conversation { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.agent-stage-head { min-height: 62px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.agent-stage-head span, .agent-stage-head strong { display: block; }
.agent-stage-head div > span { margin-bottom: 4px; color: var(--muted-2); font-size: 8px; }
.agent-stage-head strong { color: #434a5c; font-size: 12px; }
.stage-count { padding: 4px 8px; color: var(--primary); font-size: 9px; background: var(--primary-soft); border-radius: 10px; }
.conversation-scroll { flex: 1; min-height: 0; padding: 20px 24px; overflow-y: auto; background: #fff; }
.agent-message { margin-bottom: 16px; display: flex; align-items: flex-start; gap: 10px; animation: message-in .28s ease both; }
@keyframes message-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.message-avatar { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; color: #fff; font-size: 11px; background: var(--primary); border-radius: 8px; }
.agent-message > div { max-width: 86%; padding: 11px 13px; background: #f7f8fc; border-radius: 3px 10px 10px 10px; }
.agent-message p { margin: 0; color: #555d70; font-size: 10px; line-height: 1.7; }
.agent-message p strong { color: #373e50; }
.agent-checks { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.agent-checks span { padding: 3px 6px; color: #5870ad; font-size: 8px; background: #edf2ff; border-radius: 5px; }
.analysis-card { margin-top: 10px; padding: 11px; background: #fff; border: 1px solid #e7e9ef; border-radius: 8px; }
.analysis-card strong { display: block; margin-bottom: 5px; color: #3f4658; font-size: 10px; }
.analysis-card span { color: #7b8394; font-size: 9px; line-height: 1.55; }
.agent-message.result > div { background: linear-gradient(135deg, #f5f6ff, #fafaff); border: 1px solid #e6e7fb; }
.strategy-result { margin-top: 10px; padding: 12px; background: #fff; border: 1px solid #e5e7f2; border-radius: 8px; }
.strategy-ai-label { display: inline-block; margin-bottom: 7px; padding: 3px 7px; color: var(--primary); font-size: 7px; font-weight: 600; background: var(--primary-soft); border-radius: 9px; }
.strategy-result h4 { margin: 0 0 9px; color: #343b4d; font-size: 11px; }
.strategy-result ul { margin: 0; padding-left: 16px; color: #697184; font-size: 9px; line-height: 1.8; }
.strategy-result .strategy-action { margin: 0; color: #697184; font-size: 9px; line-height: 1.7; }
.result-metrics { margin-top: 10px; display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.result-metrics span { padding: 8px; color: #9097a6; font-size: 8px; background: #f8f9fb; border-radius: 6px; }
.result-metrics strong { display: block; margin-top: 4px; color: #4a5264; font-size: 10px; }
.agent-actions { min-height: 72px; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--border); background: #fff; }
.agent-actions p { margin: 0; color: #9ba2b1; font-size: 9px; }
.agent-start { min-width: 145px; }
.agent-start:disabled { cursor: wait; opacity: .7; transform: none; }
.strategy-task-modal { position: fixed; inset: 0; z-index: 140; padding: 18px; display: grid; place-items: center; background: rgba(10,16,28,.64); backdrop-filter: blur(4px); }
.strategy-task-modal[hidden] { display: none; }
.strategy-task-window { width: min(1220px, 98vw); height: min(820px, 95vh); display: flex; flex-direction: column; overflow: hidden; background: #f6f7fa; border-radius: 15px; box-shadow: 0 30px 90px rgba(12,19,35,.35); }
.task-sheet-header { flex: 0 0 auto; min-height: 72px; padding: 0 19px 0 22px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(105deg, #171e34, #232d50); }
.task-sheet-identity { display: flex; align-items: center; gap: 11px; }
.task-sheet-logo { width: 37px; height: 37px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #7884fb, #4c59dc); border-radius: 10px; box-shadow: 0 8px 20px rgba(69,83,209,.3); }
.task-sheet-logo svg { width: 18px; height: 18px; }
.task-sheet-identity span, .task-sheet-identity h2 { display: block; }
.task-sheet-identity div > span { margin-bottom: 4px; color: #969fb9; font-size: 8px; }
.task-sheet-identity h2 { margin: 0; font-size: 15px; }
.task-sheet-header-actions { display: flex; align-items: center; gap: 12px; }
.task-sheet-status { min-height: 25px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; color: #c9ceff; font-size: 8px; background: rgba(104,116,242,.16); border-radius: 13px; }
.task-sheet-status i { width: 6px; height: 6px; background: #7e88ff; border-radius: 50%; }
.task-sheet-status.dispatched { color: #92dfc2; background: rgba(46,169,128,.14); }
.task-sheet-status.dispatched i { background: #48c99a; }
.task-sheet-body { flex: 1; min-height: 0; overflow-y: auto; padding: 15px 18px 18px; }
.task-sheet-overview { display: grid; grid-template-columns: minmax(300px,1.6fr) repeat(3,minmax(125px,.6fr)); background: #fff; border: 1px solid var(--border); border-radius: 11px; box-shadow: var(--shadow-sm); }
.task-sheet-overview > div { min-height: 88px; padding: 15px 17px; border-left: 1px solid var(--border); }
.task-sheet-overview > div:first-child { border-left: 0; }
.task-number { display: inline-block; padding: 3px 6px; color: var(--primary); font-size: 7px; background: var(--primary-soft); border-radius: 4px; }
.task-overview-main h3 { margin: 8px 0 7px; color: #333b4d; font-size: 13px; }
.task-overview-main p { margin: 0; color: #9aa1b0; font-size: 8px; }
.task-overview-main p strong { margin-left: 6px; color: #626b7e; font-weight: 500; }
.task-overview-stat span, .task-overview-stat strong, .task-overview-stat small { display: block; }
.task-overview-stat span { color: #9aa1af; font-size: 8px; }
.task-overview-stat strong { margin-top: 8px; color: #424a5c; font-size: 13px; }
.task-overview-stat small { margin-top: 5px; color: #a0a7b5; font-size: 7px; }
.strategy-reference-grid { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.strategy-reference-card { min-width: 0; padding: 13px 15px; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-sm); }
.strategy-reference-card header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.strategy-reference-card header span { color: #555f73; font-size: 9px; font-weight: 650; }
.strategy-reference-card header em { padding: 3px 7px; color: #828af0; font-size: 7px; font-style: normal; background: #f0f1ff; border-radius: 9px; }
.strategy-reference-card h4 { margin: 9px 0 5px; color: #3f485b; font-size: 11px; }
.strategy-reference-card p { margin: 0; color: #697286; font-size: 8px; line-height: 1.7; }
.strategy-reference-card small { margin-top: 8px; display: block; color: #9aa1af; font-size: 7px; }
.ai-reference { border-color: #dfe2ff; background: linear-gradient(135deg,#f7f7ff,#fff); }
.manager-reference label { margin: 8px 0 5px; display: block; color: #858d9e; font-size: 7px; }
.manager-reference textarea { width: 100%; min-height: 58px; padding: 8px 9px; resize: vertical; color: #4f586b; font: inherit; font-size: 8px; line-height: 1.55; background: #fafbfc; border: 1px solid #e2e5eb; border-radius: 7px; outline: none; }
.manager-reference textarea:focus { border-color: #9aa2f6; box-shadow: 0 0 0 3px rgba(104,116,242,.09); }
.manager-reference footer { margin-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.manager-reference footer span { color: #9aa1af; font-size: 7px; }
.manager-reference footer span.saved { color: var(--green); }
.manager-reference button { min-height: 25px; padding: 0 10px; color: var(--primary); font-size: 8px; font-weight: 600; background: var(--primary-soft); border: 0; border-radius: 6px; cursor: pointer; }
.manager-reference button:hover { background: #e5e7ff; }
.task-sheet-toolbar { min-height: 54px; margin-top: 11px; padding: 0 5px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.task-sheet-toolbar strong, .task-sheet-toolbar div > span { display: block; }
.task-sheet-toolbar strong { color: #424a5c; font-size: 11px; }
.task-sheet-toolbar div > span { margin-top: 4px; color: #989fad; font-size: 8px; }
.task-table-legend { display: flex; gap: 12px; }
.task-table-legend span { margin: 0 !important; display: flex !important; align-items: center; gap: 5px; color: #858e9f !important; font-size: 8px !important; }
.task-table-legend i { width: 6px; height: 6px; border-radius: 50%; }
.task-table-legend .ready { background: var(--primary); }
.task-table-legend .review { background: var(--orange); }
.task-table-legend .proof { background: var(--red); }
.task-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-sm); }
.strategy-task-table { width: 100%; min-width: 1080px; border-collapse: collapse; table-layout: fixed; }
.strategy-task-table th { padding: 10px 11px; color: #8e96a6; font-size: 8px; font-weight: 500; text-align: left; background: #f8f9fb; border-bottom: 1px solid var(--border); }
.strategy-task-table th:nth-child(1) { width: 7%; }
.strategy-task-table th:nth-child(2) { width: 13%; }
.strategy-task-table th:nth-child(3) { width: 12%; }
.strategy-task-table th:nth-child(4) { width: 47%; }
.strategy-task-table th:nth-child(5) { width: 12%; }
.strategy-task-table th:nth-child(6) { width: 9%; }
.strategy-task-table td { padding: 10px 11px; color: #626b7e; font-size: 8px; line-height: 1.6; vertical-align: top; border-bottom: 1px solid #edf0f3; border-left: 1px solid #f0f1f4; }
.strategy-task-table tr:last-child td { border-bottom: 0; }
.task-first-factor { color: var(--primary) !important; font-weight: 600; text-align: center; vertical-align: middle !important; background: #f5f6ff; }
.task-group-factor { color: #4f586a !important; font-weight: 600; vertical-align: middle !important; background: #fafbfc; }
.task-group-factor span { display: block; margin-top: 5px; color: #a0a7b4; font-size: 7px; font-weight: 400; }
.task-dimension { color: #4d5668 !important; font-weight: 550; }
.generated-task-content { color: #687184; line-height: 1.7; }
.generated-task-content strong { color: #444d60; font-weight: 600; }
.task-responsibility strong, .task-responsibility span { display: block; }
.task-responsibility strong { color: #515a6c; font-size: 8px; }
.task-responsibility span { margin-top: 4px; color: #9ba2b0; font-size: 7px; }
.task-row-status { min-height: 21px; padding: 0 7px; display: inline-flex; align-items: center; gap: 4px; font-size: 7px; border-radius: 11px; white-space: nowrap; }
.task-row-status::before { width: 5px; height: 5px; content: ""; background: currentColor; border-radius: 50%; }
.task-row-status.ready { color: var(--primary); background: var(--primary-soft); }
.task-row-status.review { color: #b57b3f; background: var(--orange-soft); }
.task-row-status.proof { color: #c55656; background: var(--red-soft); }
.task-row-status.dispatched { color: #318467; background: var(--green-soft); }
.task-sheet-footer { flex: 0 0 auto; min-height: 72px; padding: 12px 19px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #fff; border-top: 1px solid var(--border); }
.task-sheet-footer > div:first-child { display: flex; align-items: center; gap: 9px; }
.footer-check { width: 25px; height: 25px; display: grid; place-items: center; color: var(--green); font-size: 10px; background: var(--green-soft); border-radius: 50%; }
.task-sheet-footer p { margin: 0; }
.task-sheet-footer p strong, .task-sheet-footer p small { display: block; }
.task-sheet-footer p strong { color: #4b5466; font-size: 9px; }
.task-sheet-footer p small { margin-top: 3px; color: #9ca3b0; font-size: 7px; }
.task-footer-actions { display: flex; gap: 9px; }
.task-footer-actions .secondary-button, .task-footer-actions .primary-button { min-width: 130px; }
.execution-launch-button { color: var(--primary); border-color: #cfd3ff; background: var(--primary-soft); }

.strategy-execution-modal { position: fixed; inset: 0; z-index: 150; padding: 15px; display: grid; place-items: center; background: rgba(10,16,28,.68); backdrop-filter: blur(4px); }
.strategy-execution-modal[hidden] { display: none; }
.strategy-execution-window { width: min(1480px,98vw); height: min(900px,96vh); display: flex; flex-direction: column; overflow: hidden; background: #f6f7fa; border-radius: 15px; box-shadow: 0 30px 90px rgba(12,19,35,.38); }
.execution-header { flex: 0 0 auto; min-height: 70px; padding: 0 19px 0 22px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(105deg,#17233b,#27365e); }
.execution-heading, .execution-header-actions { display: flex; align-items: center; gap: 11px; }
.execution-logo { width: 37px; height: 37px; display: grid; place-items: center; color: #fff; font-size: 11px; background: linear-gradient(135deg,#47b690,#27876b); border-radius: 10px; }
.execution-heading small { display: block; margin-bottom: 4px; color: #9eacc5; font-size: 8px; }
.execution-heading h2 { margin: 0; font-size: 15px; }
.execution-project-status { min-height: 25px; padding: 0 9px; display: inline-flex; align-items: center; gap: 6px; color: #a9e5d0; font-size: 8px; background: rgba(72,201,154,.12); border-radius: 13px; }
.execution-project-status i { width: 6px; height: 6px; background: #48c99a; border-radius: 50%; }
.execution-project-status.completed { color: #c7ccd7; background: rgba(255,255,255,.08); }
.execution-project-status.completed i { background: #8b94a6; }
.execution-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px 18px; }
.execution-overview { display: grid; grid-template-columns: 1.5fr repeat(3,.7fr); background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-sm); }
.execution-overview > div { min-height: 78px; padding: 13px 15px; border-left: 1px solid var(--border); }
.execution-overview > div:first-child { border-left: 0; }
.execution-overview span, .execution-overview strong, .execution-overview small { display: block; }
.execution-overview span { color: #9aa1af; font-size: 8px; }
.execution-overview strong { margin-top: 7px; color: #424a5c; font-size: 11px; }
.execution-overview small { margin-top: 5px; color: #9aa1af; font-size: 7px; }
.execution-reference-strip { margin-top: 9px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.execution-reference-strip > div { min-width: 0; padding: 10px 12px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.execution-reference-strip span, .execution-reference-strip strong { display: block; }
.execution-reference-strip span { color: #858def; font-size: 7px; }
.execution-reference-strip strong { margin-top: 5px; overflow: hidden; color: #596276; font-size: 8px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.execution-toolbar { min-height: 52px; padding: 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.execution-toolbar strong, .execution-toolbar div > span { display: block; }
.execution-toolbar strong { color: #424a5c; font-size: 11px; }
.execution-toolbar div > span { margin-top: 3px; color: #989fad; font-size: 8px; }
.execution-legend { display: flex; gap: 11px; }
.execution-legend span { margin: 0 !important; display: flex !important; align-items: center; gap: 5px; color: #858e9f !important; font-size: 8px !important; }
.execution-legend i { width: 6px; height: 6px; border-radius: 50%; }
.execution-legend .monitoring { background: var(--blue); }
.execution-legend .reminded { background: var(--orange); }
.execution-legend .completed { background: var(--green); }
.execution-table-wrap { overflow: auto; background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-sm); }
.execution-tracking-table { width: 100%; min-width: 1180px; border-collapse: collapse; table-layout: fixed; }
.execution-tracking-table th { padding: 9px 10px; color: #8e96a6; font-size: 8px; font-weight: 500; text-align: left; background: #f8f9fb; border-bottom: 1px solid var(--border); }
.execution-tracking-table th:nth-child(1) { width: 9%; }
.execution-tracking-table th:nth-child(2) { width: 9%; }
.execution-tracking-table th:nth-child(3) { width: 25%; }
.execution-tracking-table th:nth-child(4) { width: 20%; }
.execution-tracking-table th:nth-child(5) { width: 20%; }
.execution-tracking-table th:nth-child(6) { width: 17%; }
.execution-tracking-table td { padding: 9px 10px; color: #626b7e; font-size: 8px; line-height: 1.55; vertical-align: top; border-bottom: 1px solid #edf0f3; border-left: 1px solid #f0f1f4; }
.execution-tracking-table tr:last-child td { border-bottom: 0; }
.execution-tracking-table tr.completed-row td { background: #fbfdfc; }
.execution-stage { color: #455069 !important; font-weight: 650; vertical-align: middle !important; background: #f7f8fd; }
.execution-item strong, .execution-item small { display: block; }
.execution-item strong { color: #4c5568; font-size: 8px; }
.execution-item small { margin-top: 4px; color: #a0a7b4; font-size: 7px; }
.execution-requirement { color: #626b7e; line-height: 1.65; }
.execution-requirement strong { color: #444d60; }
.execution-record-input, .execution-evidence-input { width: 100%; min-height: 54px; padding: 7px 8px; resize: vertical; color: #4f586b; font: inherit; font-size: 8px; line-height: 1.5; background: #fafbfc; border: 1px solid #e2e5eb; border-radius: 6px; outline: none; }
.execution-record-input:focus, .execution-evidence-input:focus { border-color: #9aa2f6; box-shadow: 0 0 0 2px rgba(104,116,242,.08); }
.execution-record-input:disabled, .execution-evidence-input:disabled { color: #8e96a5; background: #f2f4f6; }
.evidence-tools { margin-top: 6px; display: flex; align-items: center; gap: 7px; }
.evidence-file-input { display: none; }
.evidence-upload-button { padding: 4px 7px; color: var(--primary); font-size: 7px; background: var(--primary-soft); border-radius: 5px; cursor: pointer; }
.evidence-upload-button.disabled { color: #a5aab4; background: #eef0f3; pointer-events: none; }
.evidence-file-name { min-width: 0; overflow: hidden; color: #9299a8; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }
.execution-actions { display: grid; gap: 6px; }
.execution-actions button { min-height: 25px; padding: 0 7px; font-size: 7px; font-weight: 600; border-radius: 6px; cursor: pointer; }
.complete-execution-task { color: #fff; background: var(--green); border: 0; }
.complete-execution-task:disabled { color: #9ca3ae; background: #e7e9ed; cursor: not-allowed; }
.manual-reminder-button { color: #b06e2d; background: #fff7ed; border: 1px solid #f3d5b5; }
.manual-reminder-button:disabled { color: #a4a9b2; background: #eef0f3; border-color: #e2e5e9; cursor: not-allowed; }
.auto-reminder-status { display: flex; align-items: center; gap: 5px; color: #7991ad; font-size: 7px; }
.auto-reminder-status::before { width: 5px; height: 5px; content: ""; background: var(--blue); border-radius: 50%; }
.auto-reminder-status.triggered { color: #b06e2d; }
.auto-reminder-status.triggered::before { background: var(--orange); }
.execution-footer { flex: 0 0 auto; min-height: 68px; padding: 11px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border-top: 1px solid var(--border); }
.execution-footer > div:last-child { display: flex; gap: 9px; }
.execution-footer strong, .execution-footer small { display: block; }
.execution-footer strong { color: #4b5466; font-size: 9px; }
.execution-footer small { margin-top: 4px; color: #9ba2b1; font-size: 7px; }
.execution-footer .secondary-button, .execution-footer .primary-button { min-width: 130px; }
.execution-footer .primary-button:disabled { color: #9ca3ae; background: #e4e7eb; cursor: not-allowed; box-shadow: none; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.assistant-fab { position: fixed; right: 24px; bottom: 22px; z-index: 62; min-width: 134px; height: 52px; padding: 0 14px 0 7px; display: flex; align-items: center; gap: 9px; color: #fff; text-align: left; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(105deg, #222b4d, #161d34); border-radius: 15px; box-shadow: 0 14px 35px rgba(25,33,60,.28); transition: transform .2s, box-shadow .2s; }
.assistant-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(25,33,60,.34); }
.assistant-fab:focus-visible { outline: 3px solid rgba(99,112,242,.35); outline-offset: 3px; }
.assistant-orb { position: relative; width: 39px; height: 39px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #7c87ff, #4a57d8); border-radius: 11px; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 7px 16px rgba(75,87,220,.36); }
.assistant-orb i { position: absolute; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; animation: orb-pulse 2.4s ease-in-out infinite; }
.assistant-orb b { z-index: 1; font-size: 16px; font-weight: 400; }
@keyframes orb-pulse { 50% { opacity: .25; transform: scale(1.4); } }
.assistant-fab-copy strong, .assistant-fab-copy small { display: block; }
.assistant-fab-copy strong { font-size: 12px; font-weight: 600; }
.assistant-fab-copy small { margin-top: 3px; color: #929cb9; font-size: 8px; font-weight: 400; }
.assistant-menu { position: fixed; right: 24px; bottom: 84px; z-index: 75; width: 290px; padding: 8px; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 13px; box-shadow: 0 20px 52px rgba(20,28,50,.2); transform-origin: bottom right; animation: menu-pop .18s ease both; }
.assistant-menu[hidden] { display: none; }
@keyframes menu-pop { from { opacity: 0; transform: translateY(7px) scale(.97); } to { opacity: 1; transform: none; } }
.assistant-menu-title { padding: 8px 10px 7px; color: #9aa2b1; font-size: 9px; letter-spacing: .08em; }
.assistant-menu > button { width: 100%; min-height: 63px; padding: 9px 10px; display: grid; grid-template-columns: 36px 1fr 14px; align-items: center; gap: 10px; color: inherit; text-align: left; border: 0; background: transparent; border-radius: 9px; }
.assistant-menu > button:hover, .assistant-menu > button:focus-visible { outline: none; background: #f6f7fb; }
.menu-feature-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; }
.menu-feature-icon svg { width: 18px; height: 18px; }
.chat-icon { color: var(--primary); background: var(--primary-soft); }
.guide-icon { color: #c27a32; background: var(--orange-soft); }
.assistant-menu button strong, .assistant-menu button small { display: block; }
.assistant-menu button strong { color: #3d4557; font-size: 11px; }
.assistant-menu button small { margin-top: 4px; color: #9198a7; font-size: 8px; }
.assistant-menu button > i { color: #b0b6c2; font-size: 12px; font-style: normal; }
.assistant-menu-tip { margin-top: 4px; padding: 8px 10px 6px; color: #a0a7b5; font-size: 8px; border-top: 1px solid #f0f1f4; }
.assistant-backdrop { position: fixed; inset: 0; z-index: 64; background: rgba(12,18,30,.17); backdrop-filter: blur(1px); }
.assistant-backdrop[hidden] { display: none; }
.assistant-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(430px, 100vw); display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 60px rgba(23,30,50,.18); transform: translateX(102%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.assistant-panel.open { transform: translateX(0); }
.assistant-panel-head { min-height: 76px; padding: 15px 17px 15px 19px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(105deg, #171e34, #232d50); }
.assistant-title-wrap { display: flex; align-items: center; gap: 10px; }
.assistant-head-logo { width: 36px; height: 36px; display: grid; place-items: center; font-size: 15px; background: linear-gradient(135deg, #7884fb, #4c59dc); border-radius: 10px; box-shadow: 0 8px 20px rgba(69,83,209,.28); }
.assistant-title-wrap h2 { margin: 0; font-size: 14px; }
.assistant-title-wrap p { margin: 4px 0 0; display: flex; align-items: center; gap: 6px; color: #9ca5bd; font-size: 8px; }
.assistant-title-wrap p i { width: 5px; height: 5px; background: #48c89b; border-radius: 50%; }
.assistant-panel-head .close-button { color: #a6aec4; }
.assistant-panel-head .close-button:hover { color: #fff; background: rgba(255,255,255,.08); }
.assistant-scope { min-height: 44px; padding: 0 19px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; color: #9aa1af; font-size: 8px; background: #f8f9fc; border-bottom: 1px solid var(--border); }
.assistant-scope strong { color: #566073; font-size: 9px; font-weight: 550; }
.assistant-scope button { padding: 5px 7px; color: var(--primary); font-size: 8px; border: 0; background: var(--primary-soft); border-radius: 6px; }
.assistant-messages { flex: 1; min-height: 0; padding: 18px 18px 10px; overflow-y: auto; background: #fff; }
.chat-message { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 8px; animation: message-in .25s ease both; }
.chat-message.user { justify-content: flex-end; }
.chat-avatar { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; color: #fff; font-size: 10px; background: var(--primary); border-radius: 8px; }
.chat-bubble { max-width: 84%; padding: 10px 12px; color: #566073; font-size: 10px; line-height: 1.65; background: #f6f7fb; border-radius: 3px 10px 10px 10px; }
.chat-message.user .chat-bubble { color: #fff; background: var(--primary); border-radius: 10px 3px 10px 10px; }
.chat-bubble p { margin: 0; }
.chat-bubble p + p { margin-top: 8px; }
.chat-bubble ul, .chat-bubble ol { margin: 6px 0 0; padding-left: 17px; }
.chat-bubble li { margin: 3px 0; }
.chat-bubble strong { color: #333b4d; }
.chat-message.user .chat-bubble strong { color: #fff; }
.chat-typing { display: flex; gap: 4px; padding-block: 13px; }
.chat-typing i { width: 5px; height: 5px; background: #a7aebd; border-radius: 50%; animation: typing-dot 1s infinite ease-in-out; }
.chat-typing i:nth-child(2) { animation-delay: .15s; }
.chat-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing-dot { 0%, 70%, 100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-4px); opacity: 1; } }
.suggestion-chips { padding: 5px 18px 12px; display: flex; flex-wrap: wrap; gap: 6px; background: #fff; }
.suggestion-chips button { min-height: 27px; padding: 0 9px; color: #697285; font-size: 8px; border: 1px solid #e4e7ee; background: #fff; border-radius: 14px; }
.suggestion-chips button:hover { color: var(--primary); border-color: #d4d8fa; background: #fafaff; }
.assistant-composer { margin: 0 17px 17px; padding: 9px 10px 7px; border: 1px solid #dfe2ea; background: #fff; border-radius: 10px; box-shadow: 0 4px 16px rgba(25,34,56,.05); }
.assistant-composer:focus-within { border-color: #aeb5f5; box-shadow: 0 0 0 3px rgba(89,101,232,.08); }
.assistant-composer textarea { width: 100%; min-height: 44px; max-height: 110px; resize: none; color: #3f4759; font-size: 11px; line-height: 1.55; border: 0; outline: 0; background: transparent; }
.assistant-composer textarea::placeholder { color: #adb3bf; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.composer-foot > span { color: #a8aeba; font-size: 7px; }
.composer-foot button { width: 29px; height: 29px; display: grid; place-items: center; color: #fff; border: 0; background: var(--primary); border-radius: 8px; }
.composer-foot button svg { width: 15px; height: 15px; }

.guide-layer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.guide-layer[hidden] { display: none; }
.guide-blocker { position: fixed; inset: 0; z-index: 0; pointer-events: auto; }
.guide-spotlight { position: fixed; z-index: 1; border: 2px solid #7d87ff; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(12,18,31,.64), 0 0 0 5px rgba(111,124,245,.2); transition: top .28s ease, left .28s ease, width .28s ease, height .28s ease; pointer-events: none; }
.guide-card { position: fixed; right: 24px; bottom: 24px; z-index: 2; width: min(370px, calc(100vw - 32px)); padding: 17px 18px 16px; color: var(--text); background: #fff; border-radius: 13px; box-shadow: 0 22px 64px rgba(13,20,36,.32); pointer-events: auto; }
.guide-card header { display: flex; align-items: center; justify-content: space-between; }
.guide-step-label { color: #8e96a7; font-size: 9px; }
.guide-card .close-button { margin: -7px -7px 0 0; }
.guide-progress { margin: 8px 0 17px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 5px; }
.guide-progress i { height: 3px; background: #eceef3; border-radius: 2px; }
.guide-progress i.done { background: var(--primary); }
.guide-kicker { display: block; margin-bottom: 6px; color: var(--primary); font-size: 9px; font-weight: 600; }
.guide-card h2 { margin: 0 0 8px; color: #303748; font-size: 16px; }
.guide-card > p { margin: 0; color: #747c8d; font-size: 10px; line-height: 1.7; }
.guide-tip { margin-top: 13px; padding: 10px 11px; color: #687184; font-size: 9px; line-height: 1.55; background: var(--primary-soft); border-radius: 8px; }
.guide-tip strong { color: var(--primary); }
.guide-card footer { margin-top: 16px; display: flex; justify-content: flex-end; gap: 9px; }
.guide-skip { height: 40px; padding: 0 13px; color: #747c8d; font-size: 10px; border: 0; background: transparent; }
.toast { position: fixed; right: 26px; bottom: 88px; z-index: 130; min-width: 240px; padding: 12px 15px; color: #fff; font-size: 11px; background: #252d40; border-radius: 9px; box-shadow: 0 12px 30px rgba(16,24,40,.2); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: none; }

@media (max-width: 1180px) {
  .sidebar { width: 76px; padding-inline: 10px; }
  .brand { justify-content: center; padding: 0; }
  .brand > span:last-child, .nav-item:not(.active)::after, .nav-item { font-size: 0; }
  .nav-item { justify-content: center; padding: 0; }
  .nav-icon { width: 20px; height: 20px; }
  .nav-count { position: absolute; margin: -22px 0 0 25px; font-size: 9px; }
  .team-card { justify-content: center; padding-inline: 0; }
  .team-card > span:not(.team-avatar) { display: none; }
  .main { margin-left: 76px; }
  .issue-row { grid-template-columns: minmax(190px,1fr) 95px 82px; }
  .issue-owner { display: none; }
}

@media (max-width: 900px) {
  .main { padding-inline: 18px; }
  .topbar { align-items: flex-start; padding: 18px 0; }
  .topbar-actions { flex-wrap: wrap; justify-content: flex-end; }
  .date-button, .icon-button { display: none; }
  .analysis-selector { grid-template-columns: 1fr 1fr; }
  .selector-heading { grid-column: 1 / -1; }
  .selected-object-meta { border-left: 0; padding-left: 0; }
  .database-jump { justify-self: end; }
  .brief-bar { align-items: flex-start; flex-direction: column; padding-block: 13px; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }
  .scope-kpi-grid { grid-template-columns: repeat(3,1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .review-progress { grid-row: auto; }
  .stepper { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 20px; }
  .stepper li { min-height: 45px; }
  .stepper li::before { display: none; }
  .agent-body { grid-template-columns: 190px 1fr; }
  .factor-group-tabs { grid-template-columns: repeat(2,1fr); }
  .database-summary { grid-template-columns: repeat(2,1fr); }
  .database-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .database-summary > div:nth-child(4) { border-top: 1px solid var(--border); }
  .evidence-toolbar { align-items: flex-start; flex-direction: column; }
  .task-sheet-overview { grid-template-columns: repeat(3,1fr); }
  .task-overview-main { grid-column: 1 / -1; border-bottom: 1px solid var(--border); }
  .task-sheet-overview > div:nth-child(2) { border-left: 0; }
}

@media (max-width: 680px) {
  .sidebar { top: auto; right: 0; width: auto; height: 60px; padding: 7px 12px; flex-direction: row; align-items: center; }
  .brand, .sidebar-foot, .nav-list .nav-item:nth-child(1) { display: none; }
  .nav-list { width: 100%; margin: 0; display: flex; justify-content: space-around; }
  .nav-item { width: 48px; height: 46px; }
  .nav-item.active::before { top: auto; bottom: -7px; left: 14px; width: 20px; height: 3px; border-radius: 3px 3px 0 0; }
  .main { margin-left: 0; padding: 0 13px 82px; }
  .topbar { min-height: 78px; align-items: center; }
  .eyebrow { display: none; }
  h1 { font-size: 20px; }
  .topbar-actions { flex-wrap: nowrap; }
  .avatar-button { display: none; }
  .primary-button { padding-inline: 12px; }
  .brief-meta { width: 100%; justify-content: space-between; gap: 8px; }
  .analysis-selector { margin-top: 12px; padding: 13px; grid-template-columns: 1fr; }
  .selector-heading, .selector-field, .selected-object-meta, .database-jump { grid-column: 1; width: 100%; }
  .selector-heading small { max-width: 220px; }
  .selected-object-meta { padding-top: 4px; display: flex; justify-content: space-between; }
  .database-jump { justify-content: space-between; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .scope-kpi-grid { grid-template-columns: 1fr; gap: 9px; }
  .kpi-card { padding: 14px 13px; }
  .kpi-value { font-size: 23px; }
  .issue-list { padding-inline: 14px; }
  .factor-panel-head { align-items: flex-start; flex-direction: column; }
  .factor-model-path { width: 100%; padding: 9px 0 0; text-align: left; border-top: 1px solid var(--border); border-left: 0; }
  .factor-group-tabs { padding-inline: 12px; grid-template-columns: 1fr; }
  .factor-context { padding-inline: 13px; grid-template-columns: 1fr auto; }
  .factor-context p { grid-column: 1 / -1; }
  .factor-detail-grid { padding-inline: 12px; grid-template-columns: 1fr; }
  .factor-panel-foot { align-items: flex-start; flex-direction: column; gap: 5px; padding-inline: 13px; }
  .issue-row { grid-template-columns: 1fr auto; gap: 10px; }
  .issue-metric, .issue-owner { display: none; }
  .stepper { grid-template-columns: 1fr; }
  .legend { display: none; }
  .page-footer { flex-direction: column; gap: 5px; }
  .database-head { align-items: flex-start; flex-direction: column; }
  .database-head p { margin-left: 0; }
  .database-object { width: 100%; padding: 10px 0 0; text-align: left; border-top: 1px solid var(--border); border-left: 0; }
  .database-summary > div { min-height: 76px; padding: 13px; }
  .evidence-warning { margin-inline: 12px; }
  .evidence-toolbar { padding-inline: 12px; }
  .evidence-table { min-width: 820px; }
  .cause-drawer { width: 100vw; }
  .drawer-tabs { gap: 15px; overflow-x: auto; }
  .drawer-tab { flex: 0 0 auto; }
  .attribution-overview { align-items: flex-start; }
  .attribution-confidence { flex-basis: 94px; }
  .attribution-detail-grid { grid-template-columns: 1fr; }
  .cause-chain { grid-template-columns: 1fr; gap: 5px; }
  .cause-chain > i { transform: none; }
  .agent-modal { padding: 0; }
  .agent-window { width: 100vw; height: 100vh; border-radius: 0; }
  .agent-body { display: block; }
  .agent-context { display: none; }
  .agent-conversation { height: 100%; }
  .agent-actions { align-items: stretch; flex-direction: column; }
  .agent-actions p { text-align: center; }
  .assistant-fab { right: 13px; bottom: 72px; min-width: 48px; width: 48px; height: 48px; padding: 5px; border-radius: 14px; }
  .assistant-orb { width: 36px; height: 36px; }
  .assistant-fab-copy { display: none; }
  .assistant-menu { right: 13px; bottom: 126px; width: min(290px, calc(100vw - 26px)); }
  .assistant-panel { width: 100vw; }
  .guide-card { right: 16px; bottom: 76px; }
  .toast { right: 13px; bottom: 130px; max-width: calc(100vw - 26px); }
  .strategy-task-modal { padding: 0; }
  .strategy-task-window { width: 100vw; height: 100vh; border-radius: 0; }
  .task-sheet-header { padding-inline: 13px; }
  .task-sheet-status { display: none; }
  .task-sheet-body { padding: 10px; }
  .task-sheet-overview { grid-template-columns: 1fr 1fr; }
  .task-overview-main { grid-column: 1 / -1; }
  .task-sheet-overview > div:nth-child(2) { border-left: 0; }
  .task-sheet-overview > div:nth-child(4) { border-top: 1px solid var(--border); border-left: 0; }
  .strategy-reference-grid { grid-template-columns: 1fr; }
  .strategy-project-entry { grid-template-columns: 31px 1fr auto; }
  .project-entry-progress { display: none; }
  .strategy-execution-modal { padding: 0; }
  .strategy-execution-window { width: 100vw; height: 100vh; border-radius: 0; }
  .execution-header { padding-inline: 13px; }
  .execution-project-status { display: none; }
  .execution-body { padding: 10px; }
  .execution-overview { grid-template-columns: 1fr 1fr; }
  .execution-overview > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .execution-overview > div:nth-child(4) { border-top: 1px solid var(--border); }
  .execution-reference-strip { grid-template-columns: 1fr; }
  .execution-legend { display: none; }
  .execution-footer { align-items: stretch; flex-direction: column; }
  .execution-footer > div:last-child { width: 100%; }
  .execution-footer button { flex: 1; min-width: 0 !important; }
  .task-table-legend { display: none; }
  .task-sheet-footer { align-items: stretch; flex-direction: column; }
  .task-sheet-footer > div:first-child { display: none; }
  .task-footer-actions { width: 100%; }
  .task-footer-actions button { flex: 1; min-width: 0 !important; }
}

/* 固定自然周、自动复盘与证据补充 */
.topbar-actions { position: relative; }
.date-button { cursor: pointer; }
.date-button .selected-week-label { margin-left: 0; color: #51596b; }
.date-button .week-chevron { margin-left: 2px; }
.week-selector-popover, .notification-panel { position: absolute; top: 47px; z-index: 1200; color: var(--text); border: 1px solid #dfe2ec; border-radius: 13px; background: #fff; box-shadow: 0 18px 55px rgba(23,29,58,.18); }
.week-selector-popover[hidden], .notification-panel[hidden] { display: none; }
.week-selector-popover { right: 285px; width: 340px; padding: 15px; }
.week-selector-popover header, .notification-panel header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.week-selector-popover header strong, .week-selector-popover header span, .notification-panel header strong, .notification-panel header span { display: block; }
.week-selector-popover header strong, .notification-panel header strong { color: #30364e; font-size: 12px; }
.week-selector-popover header span, .notification-panel header span { margin-top: 3px; color: #969caf; font-size: 9px; }
.week-selector-popover header button, .notification-panel header button { width: 27px; height: 27px; color: #7e8599; font-size: 18px; border: 0; border-radius: 8px; background: #f4f5f8; cursor: pointer; }
.week-selector-popover > label { display: block; margin: 15px 0 6px; color: #7d8499; font-size: 9px; font-weight: 700; }
.week-selector-popover select { width: 100%; height: 40px; padding: 0 10px; color: #3d445c; font-size: 11px; border: 1px solid #dfe2ec; border-radius: 9px; background: #fff; }
.week-rule-note { margin: 10px 0 13px; padding: 10px; display: grid; grid-template-columns: auto 1fr; gap: 8px; border-radius: 9px; background: #f5f6ff; }
.week-rule-note span { padding: 3px 6px; align-self: start; color: #5961d6; font-size: 8px; font-weight: 800; border-radius: 5px; background: #e8eaff; }
.week-rule-note p { margin: 0; color: #737a93; font-size: 9px; line-height: 1.55; }
.week-selector-popover > .primary-button { width: 100%; }

.auto-review-button { height: 40px; padding: 0 12px 0 8px; display: flex; align-items: center; gap: 8px; color: #3d4460; border: 1px solid #dcdff4; border-radius: 9px; background: #f7f7ff; cursor: pointer; }
.auto-review-icon { display: grid; place-items: center; width: 26px; height: 26px; color: #fff; font-size: 17px; border-radius: 8px; background: linear-gradient(145deg,#747bf3,#555ddb); }
.auto-review-button strong, .auto-review-button small { display: block; text-align: left; }
.auto-review-button strong { font-size: 10px; }
.auto-review-button small { margin-top: 2px; color: #7d84a4; font-size: 7px; }
.notification-count { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; color: #fff; font-size: 8px; font-weight: 800; border: 2px solid #f4f6fa; border-radius: 999px; background: #e65d64; }
.notification-count[hidden] { display: none; }
.notification-panel { right: 74px; width: 390px; overflow: hidden; }
.notification-panel header { padding: 14px 15px 11px; border-bottom: 1px solid #eceef3; }
.notification-list { max-height: 365px; overflow-y: auto; }
.notification-item { width: 100%; padding: 11px 14px; display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 9px; text-align: left; border: 0; border-bottom: 1px solid #f0f1f5; background: #fff; cursor: pointer; }
.notification-item.unread { background: #fafaff; }
.notification-priority { display: grid; place-items: center; width: 24px; height: 24px; color: #c24f55; font-size: 8px; font-weight: 800; border-radius: 7px; background: #ffeded; }
.notification-item strong, .notification-item small { display: block; }
.notification-item strong { color: #444b63; font-size: 9px; }
.notification-item small { margin-top: 4px; color: #969cad; font-size: 7px; }
.notification-item i { color: #5961d4; font-size: 8px; font-style: normal; }
.notification-panel footer { padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; color: #9299aa; font-size: 8px; background: #fafbfc; }
.notification-panel footer button { color: #5962d8; font-size: 8px; border: 0; background: none; cursor: pointer; }
.notification-empty { padding: 30px; color: #989eb0; font-size: 10px; text-align: center; }

.factor-card-value.unavailable, .attribution-card-value.unavailable { min-height: 76px; padding: 11px; border: 1px dashed #efcfc9; border-radius: 8px; background: #fff8f7; }
.factor-detail-card.stale .factor-card-value.unavailable, .attribution-detail-card.stale .attribution-card-value.unavailable { border-color: #eddcc0; background: #fffaf2; }
.factor-card-value.unavailable > *, .attribution-card-value.unavailable > * { display: block; }
.factor-unavailable-label { width: fit-content; margin-bottom: 6px; padding: 3px 6px; color: #b95757; font-size: 7px; font-weight: 800; border-radius: 5px; background: #ffe8e5; }
.stale .factor-unavailable-label { color: #a86d2f; background: #fff0d9; }
.factor-card-value.unavailable strong, .attribution-card-value.unavailable strong { color: #5d6273; font-size: 9px; line-height: 1.55; }
.factor-card-value.unavailable small, .attribution-card-value.unavailable small { margin-top: 5px; color: #989eac; font-size: 7px; line-height: 1.5; }
.factor-card-evidence > div, .attribution-card-evidence > div { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.evidence-quick-entry, .database-supplement-button, .evidence-warning-action { min-height: 27px; padding: 0 9px; color: #fff; font-size: 8px; font-weight: 700; border: 0; border-radius: 7px; background: #6269df; cursor: pointer; white-space: nowrap; }
.evidence-quick-entry.compact { min-height: 23px; padding-inline: 7px; font-size: 7px; }
.database-supplement-button.stale { background: #d88b3f; }
.evidence-warning-action { margin-left: auto; align-self: center; background: #dd914a; }
.evidence-synced-label { color: #738071; font-size: 8px; }
.evidence-table th:nth-child(1) { width: 15%; }
.evidence-table th:nth-child(2) { width: 30%; }
.evidence-table th:nth-child(3) { width: 19%; }
.evidence-table th:nth-child(4) { width: 10%; }
.evidence-table th:nth-child(5) { width: 11%; }
.evidence-table th:nth-child(6) { width: 15%; padding-right: 20px; text-align: right; }

.evidence-supplement-modal, .auto-review-modal { position: fixed; inset: 0; z-index: 1600; padding: 20px; display: grid; place-items: center; background: rgba(10,16,34,.66); backdrop-filter: blur(4px); }
.evidence-supplement-modal[hidden], .auto-review-modal[hidden] { display: none; }
.evidence-supplement-window, .auto-review-window { width: min(900px,96vw); max-height: min(850px,95vh); display: flex; flex-direction: column; overflow: hidden; border-radius: 17px; background: #f7f8fb; box-shadow: 0 28px 90px rgba(10,15,35,.35); }
.evidence-supplement-header, .auto-review-header { min-height: 72px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: linear-gradient(105deg,#171e35,#263056); }
.evidence-supplement-header > div, .auto-review-header > div { display: flex; align-items: center; gap: 11px; }
.evidence-supplement-logo, .auto-review-header-logo { display: grid; place-items: center; width: 38px; height: 38px; font-size: 20px; border-radius: 11px; background: #626ae4; }
.evidence-supplement-header small, .auto-review-header small { color: #aeb5d1; font-size: 8px; }
.evidence-supplement-header h2, .auto-review-header h2 { margin: 3px 0 0; font-size: 16px; }
.evidence-supplement-body, .auto-review-body { padding: 16px 18px; overflow-y: auto; }
.supplement-object-summary { display: grid; grid-template-columns: 1.25fr 1.2fr .8fr; border: 1px solid #e0e3ec; border-radius: 11px; background: #fff; overflow: hidden; }
.supplement-object-summary > div, .supplement-object-summary > label { min-height: 70px; padding: 13px 14px; border-left: 1px solid #e6e8ef; }
.supplement-object-summary > :first-child { border-left: 0; }
.supplement-object-summary span, .supplement-object-summary strong { display: block; }
.supplement-object-summary span { color: #969cad; font-size: 8px; }
.supplement-object-summary strong { margin-top: 7px; color: #41485f; font-size: 10px; }
.supplement-object-summary select { width: 100%; margin-top: 5px; padding: 0; color: #3f465d; font-size: 10px; border: 0; background: transparent; }
.supplement-requirement { margin-top: 10px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr; gap: 9px; border: 1px solid #e2e4f4; border-radius: 9px; background: #f4f5ff; }
.supplement-requirement span { padding: 3px 6px; align-self: start; color: #5961d5; font-size: 8px; font-weight: 800; border-radius: 5px; background: #e4e7ff; }
.supplement-requirement p { margin: 0; color: #69718a; font-size: 9px; line-height: 1.55; }
.supplement-method-tabs { margin: 13px 0 10px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.supplement-method-tabs button { min-height: 62px; padding: 9px 11px; display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 9px; text-align: left; border: 1px solid #e0e3ed; border-radius: 10px; background: #fff; cursor: pointer; }
.supplement-method-tabs button > span { grid-row: 1 / 3; display: grid; place-items: center; width: 30px; height: 30px; color: #5961d7; font-size: 10px; font-weight: 900; border-radius: 9px; background: #eef0ff; }
.supplement-method-tabs button strong { color: #50576d; font-size: 10px; }
.supplement-method-tabs button small { color: #9a9faf; font-size: 7px; }
.supplement-method-tabs button.active { border-color: #bfc4ff; background: #f7f7ff; box-shadow: inset 0 0 0 1px #dfe1ff; }
.supplement-method-panel { padding: 14px; border: 1px solid #e0e3ec; border-radius: 11px; background: #fff; }
.supplement-method-panel[hidden] { display: none; }
.supplement-method-panel > label:not(.supplement-file-drop), .api-field-grid label span { display: block; margin-bottom: 6px; color: #747b90; font-size: 9px; font-weight: 700; }
.supplement-method-panel textarea, .supplement-method-panel input[type="url"], .supplement-method-panel select { width: 100%; padding: 9px 10px; color: #4d556b; font: inherit; font-size: 10px; border: 1px solid #dfe2ea; border-radius: 8px; background: #fff; resize: vertical; }
.supplement-method-panel > small { display: block; margin-top: 7px; color: #9a9faf; font-size: 8px; }
.supplement-file-drop { min-height: 84px; margin-bottom: 12px; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center; border: 1px dashed #bec3dc; border-radius: 9px; background: #fafaff; cursor: pointer; }
.supplement-file-drop span, .supplement-file-drop strong, .supplement-file-drop small { display: block; }
.supplement-file-drop span { color: #5961d4; font-size: 9px; font-weight: 800; }
.supplement-file-drop strong { color: #5d6479; font-size: 10px; }
.supplement-file-drop small { color: #9aa0b1; font-size: 8px; }
.api-field-grid { margin-bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.api-test-row { margin-top: 9px; display: flex; align-items: center; justify-content: space-between; color: #9298aa; font-size: 8px; }
.api-test-row span.success { color: #21805d; }
.api-test-row span.error { color: #bd5555; }
.api-test-row button { min-height: 29px; padding: 0 10px; color: #5961d4; font-size: 8px; font-weight: 800; border: 1px solid #cfd3f5; border-radius: 7px; background: #f5f6ff; cursor: pointer; }
.evidence-supplement-footer, .auto-review-footer { min-height: 72px; padding: 12px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #e0e2e9; background: #fff; }
.evidence-supplement-footer strong, .evidence-supplement-footer small, .auto-review-footer strong, .auto-review-footer small { display: block; }
.evidence-supplement-footer strong, .auto-review-footer strong { color: #4a5166; font-size: 10px; }
.evidence-supplement-footer small, .auto-review-footer small { margin-top: 4px; color: #989eaf; font-size: 8px; }
.evidence-supplement-footer > div:last-child, .auto-review-footer > div:last-child { display: flex; gap: 8px; }

.auto-review-window { width: min(1020px,96vw); }
.auto-review-status-card { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #dfe3eb; border-radius: 11px; background: #fff; }
.auto-review-status-card > div { display: flex; align-items: center; gap: 11px; }
.auto-status-dot { width: 11px; height: 11px; border: 3px solid #d9f4e9; border-radius: 50%; background: #2bb47c; }
.auto-review-status-card span, .auto-review-status-card strong, .auto-review-status-card small { display: block; }
.auto-review-status-card div div > span { color: #969cad; font-size: 8px; }
.auto-review-status-card strong { margin: 3px 0; color: #2c334b; font-size: 13px; }
.auto-review-status-card small { color: #80879c; font-size: 8px; }
.auto-toggle { min-width: 86px; height: 34px; padding: 0 9px 0 5px; display: flex; align-items: center; gap: 7px; color: #7d8498; font-size: 9px; font-weight: 800; border: 1px solid #dfe2e9; border-radius: 999px; background: #f2f3f6; cursor: pointer; }
.auto-toggle i { width: 24px; height: 24px; border-radius: 50%; background: #adb2bf; }
.auto-toggle.on { color: #1f805c; border-color: #c7e8da; background: #ebf8f2; }
.auto-toggle.on i { background: #2bad7a; }
.auto-schedule-grid { margin-top: 10px; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid #e0e3eb; border-radius: 11px; background: #fff; overflow: hidden; }
.auto-schedule-grid > div { min-height: 78px; padding: 13px; border-left: 1px solid #e6e8ef; }
.auto-schedule-grid > div:first-child { border-left: 0; }
.auto-schedule-grid span, .auto-schedule-grid strong, .auto-schedule-grid small { display: block; }
.auto-schedule-grid span { color: #979daf; font-size: 8px; }
.auto-schedule-grid strong { margin: 7px 0 4px; color: #3d455d; font-size: 10px; }
.auto-schedule-grid small { color: #8e95a8; font-size: 7px; line-height: 1.4; }
.review-consistency-card { margin-top: 10px; padding: 14px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; border: 1px solid #dcdffd; border-radius: 11px; background: linear-gradient(100deg,#f3f4ff,#fafaff); }
.review-consistency-card span { color: #646cda; font-size: 8px; font-weight: 800; }
.review-consistency-card h3 { margin: 5px 0 4px; color: #353c59; font-size: 12px; }
.review-consistency-card p { margin: 0; color: #7d849d; font-size: 8px; line-height: 1.5; }
.consistency-flow { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.consistency-flow span, .consistency-flow strong { padding: 5px 7px; color: #5e65c9; font-size: 7px; border-radius: 6px; background: #fff; }
.consistency-flow i { color: #999fbc; font-size: 9px; font-style: normal; }
.consistency-flow strong { color: #fff; background: #6269df; }
.auto-run-summary { margin-top: 10px; border: 1px solid #e0e3eb; border-radius: 11px; background: #fff; overflow: hidden; }
.auto-run-summary > header { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8eaf0; }
.auto-run-summary header span, .auto-run-summary header strong { display: block; }
.auto-run-summary header div span { color: #979daf; font-size: 8px; }
.auto-run-summary header strong { margin-top: 3px; color: #454c63; font-size: 10px; }
.auto-run-summary > header > span { padding: 4px 7px; color: #21805d; font-size: 8px; border-radius: 6px; background: #eaf8f2; }
.auto-run-metrics { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid #eceef3; }
.auto-run-metrics > div { padding: 11px 14px; border-left: 1px solid #eceef3; }
.auto-run-metrics > div:first-child { border-left: 0; }
.auto-run-metrics strong, .auto-run-metrics span { display: block; }
.auto-run-metrics strong { color: #313850; font-size: 18px; }
.auto-run-metrics span { margin-top: 3px; color: #969cad; font-size: 8px; }
.auto-run-list { max-height: 190px; overflow-y: auto; }
.auto-run-list > div:not(.auto-run-empty) { padding: 9px 13px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 9px; border-bottom: 1px solid #f0f1f5; }
.auto-run-list strong, .auto-run-list small { display: block; }
.auto-run-list strong { color: #555c72; font-size: 9px; }
.auto-run-list small { margin-top: 3px; color: #9ba1b1; font-size: 7px; }
.auto-run-list > div > span:last-child { color: #737a91; font-size: 8px; }
.auto-severity { display: grid; place-items: center; width: 23px; height: 23px; color: #a46b1e; font-size: 8px; font-weight: 800; border-radius: 7px; background: #fff3df; }
.auto-severity.high { color: #bb4c53; background: #ffeded; }
.auto-run-empty { padding: 30px; color: #9aa0af; font-size: 9px; text-align: center; }

@media (max-width: 1050px) {
  .auto-review-button small { display: none; }
  .week-selector-popover { right: 245px; }
  .review-consistency-card { grid-template-columns: 1fr; }
  .consistency-flow { white-space: normal; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .auto-review-button { width: 40px; padding: 6px; }
  .auto-review-button > span:last-child { display: none; }
  .week-selector-popover, .notification-panel { position: fixed; top: 72px; right: 13px; left: 13px; width: auto; }
  .evidence-warning { align-items: flex-start; flex-wrap: wrap; }
  .evidence-warning-action { margin-left: 30px; }
  .factor-card-evidence, .attribution-card-evidence { align-items: flex-start; flex-direction: column; }
  .factor-card-evidence > div, .attribution-card-evidence > div { width: 100%; justify-content: space-between; }
  .evidence-supplement-modal, .auto-review-modal { padding: 0; }
  .evidence-supplement-window, .auto-review-window { width: 100vw; height: 100vh; max-height: none; border-radius: 0; }
  .supplement-object-summary { grid-template-columns: 1fr; }
  .supplement-object-summary > div, .supplement-object-summary > label { border-top: 1px solid #e6e8ef; border-left: 0; }
  .supplement-object-summary > :first-child { border-top: 0; }
  .supplement-method-tabs { grid-template-columns: 1fr; }
  .api-field-grid { grid-template-columns: 1fr; }
  .evidence-supplement-footer, .auto-review-footer { align-items: stretch; flex-direction: column; }
  .evidence-supplement-footer > div:last-child, .auto-review-footer > div:last-child { width: 100%; }
  .evidence-supplement-footer button, .auto-review-footer button { flex: 1; }
  .auto-schedule-grid, .auto-run-metrics { grid-template-columns: repeat(2,1fr); }
  .auto-schedule-grid > div:nth-child(3), .auto-run-metrics > div:nth-child(3) { border-top: 1px solid #e6e8ef; border-left: 0; }
  .auto-schedule-grid > div:nth-child(4), .auto-run-metrics > div:nth-child(4) { border-top: 1px solid #e6e8ef; }
}
