:root {
  --ops-bg: #f6f7fb;
  --ops-surface: #ffffff;
  --ops-ink: #24273a;
  --ops-muted: #72778b;
  --ops-line: #e6e8f1;
  --ops-primary: #5b53c4;
  --ops-primary-soft: #efedff;
  --ops-success: #2f9e70;
  --ops-warning: #d9822b;
  --ops-risk: #d5525d;
  --ops-shadow: 0 14px 36px rgba(40, 44, 74, .07);
}

.ops-page-frame { background: var(--ops-bg); color: var(--ops-ink); font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.ops-page { min-width: 0; min-height: 100vh; background: var(--ops-bg); padding-bottom: 48px; }
.ops-page *, .ops-page *::before, .ops-page *::after { box-sizing: border-box; }
.ops-page button, .ops-page input, .ops-page textarea, .ops-page select { font: inherit; }
.ops-page button, .ops-page a { -webkit-tap-highlight-color: transparent; }
.ops-page button:focus-visible, .ops-page a:focus-visible, .ops-page input:focus-visible, .ops-page textarea:focus-visible, .ops-page select:focus-visible { outline: 3px solid rgba(91, 83, 196, .2); outline-offset: 2px; }

.ops-topbar { position: relative; z-index: 3; padding: 28px clamp(22px, 3vw, 46px) 0; background: rgba(255, 255, 255, .88); border-bottom: 1px solid var(--ops-line); backdrop-filter: blur(18px); }
.ops-heading { max-width: 1560px; margin: 0 auto; }
.ops-eyebrow, .ops-kicker { display: block; color: var(--ops-primary); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.ops-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 8px; }
.ops-title-row h1 { margin: 0; font-size: clamp(26px, 2.2vw, 36px); line-height: 1.18; letter-spacing: -.035em; }
.ops-title-row p { max-width: 760px; margin: 8px 0 0; color: var(--ops-muted); font-size: 14px; line-height: 1.65; }
.ops-header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.ops-header-actions > select { height: 40px; padding: 0 34px 0 12px; border: 1px solid var(--ops-line); border-radius: 10px; background: var(--ops-surface); color: var(--ops-ink); }

.ops-workbench-nav { max-width: 1560px; margin: 26px auto 0; display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none; }
.ops-workbench-nav::-webkit-scrollbar { display: none; }
.ops-workbench-nav a { position: relative; display: flex; align-items: center; gap: 7px; min-width: max-content; padding: 12px 15px 14px; color: #777b8e; font-size: 13px; font-weight: 650; text-decoration: none; transition: color .18s ease, background .18s ease; border-radius: 10px 10px 0 0; }
.ops-workbench-nav a i { font-size: 18px; }
.ops-workbench-nav a:hover { color: var(--ops-primary); background: #f7f6ff; }
.ops-workbench-nav a.active { color: var(--ops-primary); background: #f5f3ff; }
.ops-workbench-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--ops-primary); }

.ops-stagebar { max-width: 1560px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(110px, 1fr)); padding: 16px 0 18px; border-top: 1px solid #f0f1f6; }
.ops-stage { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; }
.ops-stage > span { position: relative; z-index: 2; width: 25px; height: 25px; flex: 0 0 25px; display: grid; place-items: center; border: 1px solid #d9dce8; border-radius: 50%; background: #fff; color: #9a9daf; font-size: 11px; }
.ops-stage > span b { font-weight: 700; }
.ops-stage small { position: relative; z-index: 2; padding-right: 12px; background: #fff; color: #8a8ea0; white-space: nowrap; font-size: 12px; font-weight: 650; }
.ops-stage em { position: absolute; left: 25px; right: 0; top: 12px; height: 1px; background: #dfe1e9; }
.ops-stage.is-done > span { border-color: var(--ops-success); background: var(--ops-success); color: #fff; }
.ops-stage.is-done small { color: #4a6d60; }
.ops-stage.is-done em { background: #9dd6c0; }
.ops-stage.is-active > span { border-color: var(--ops-primary); background: var(--ops-primary-soft); color: var(--ops-primary); box-shadow: 0 0 0 4px rgba(91, 83, 196, .08); }
.ops-stage.is-active small { color: var(--ops-primary); }

.ops-content { width: min(1560px, calc(100% - clamp(32px, 5vw, 76px))); margin: 26px auto 0; }
.ops-panel { min-width: 0; border: 1px solid var(--ops-line); border-radius: 16px; background: var(--ops-surface); box-shadow: 0 8px 24px rgba(42, 45, 72, .035); }
.ops-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.ops-panel-head--wrap { flex-wrap: wrap; }
.ops-panel-head h2 { margin: 4px 0 0; font-size: 18px; line-height: 1.3; }
.ops-panel-head a { color: var(--ops-primary); font-size: 12px; font-weight: 700; text-decoration: none; }

.ops-btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 16px; border: 1px solid var(--ops-primary); border-radius: 10px; background: var(--ops-primary); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.ops-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(91, 83, 196, .2); }
.ops-btn:disabled { opacity: .5; cursor: not-allowed; }
.ops-btn--quiet { border-color: var(--ops-line); background: #fff; color: #555a6d; }
.ops-btn--quiet:hover:not(:disabled) { border-color: #d5d2f3; color: var(--ops-primary); box-shadow: 0 6px 18px rgba(48, 51, 79, .08); }
.ops-btn--wide { width: 100%; }
.ops-icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--ops-line); border-radius: 9px; background: #fff; color: #74788b; cursor: pointer; }
.ops-link-btn { border: 0; background: transparent; color: var(--ops-primary); font-weight: 700; cursor: pointer; }

.ops-inline-alert { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid #f1ccd0; border-radius: 12px; background: #fff6f7; color: #a7444d; font-size: 13px; }
.ops-inline-alert > i { font-size: 20px; }
.ops-inline-alert span { flex: 1; }
.ops-inline-alert button { width: 28px; height: 28px; border: 0; background: transparent; color: inherit; cursor: pointer; }

.ops-loading { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ops-muted); font-size: 13px; }
.ops-loading i { color: var(--ops-primary); font-size: 22px; }
.ops-loading--page { min-height: 420px; }
.ops-state, .ops-empty { min-height: 220px; padding: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--ops-muted); }
.ops-state > i, .ops-empty > i { margin-bottom: 12px; color: #aaa6d8; font-size: 40px; }
.ops-state h2, .ops-empty h3 { margin: 0 0 8px; color: var(--ops-ink); font-size: 18px; }
.ops-state p, .ops-empty p { max-width: 500px; margin: 0 0 14px; line-height: 1.65; font-size: 13px; }
.ops-empty a { color: var(--ops-primary); font-weight: 700; text-decoration: none; }
.ops-empty--compact { min-height: 150px; padding: 24px 12px; }
.ops-empty--compact > i { font-size: 30px; }
.ops-skeleton-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ops-skeleton-grid i { height: 160px; border-radius: 16px; background: linear-gradient(90deg, #eceef4, #f7f8fb 45%, #eceef4 80%); background-size: 240% 100%; animation: ops-shimmer 1.2s linear infinite; }
@keyframes ops-shimmer { to { background-position: -240% 0; } }

.ops-hero-card { position: relative; overflow: hidden; min-height: 174px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px 38px; border: 1px solid #dcd9fb; border-radius: 18px; background: linear-gradient(115deg, #f0efff 0%, #fbfbff 58%, #eef9fb 100%); }
.ops-hero-card::after { content: ""; position: absolute; right: 18%; top: -95px; width: 260px; height: 260px; border: 1px solid rgba(91, 83, 196, .12); border-radius: 50%; box-shadow: 0 0 0 36px rgba(91, 83, 196, .035), 0 0 0 72px rgba(67, 188, 206, .035); }
.ops-hero-card > div { position: relative; z-index: 1; }
.ops-hero-card h2 { margin: 8px 0 7px; font-size: clamp(25px, 2vw, 34px); letter-spacing: -.03em; }
.ops-hero-card p { margin: 0; color: var(--ops-muted); font-size: 13px; }
.ops-hero-score { min-width: 200px; padding-left: 28px; border-left: 1px solid rgba(91, 83, 196, .18); text-align: right; }
.ops-hero-score strong { font-size: 46px; line-height: 1; letter-spacing: -.06em; }
.ops-hero-score > span { color: var(--ops-muted); font-size: 14px; }
.ops-hero-score small { display: block; margin-top: 8px; color: var(--ops-muted); font-size: 12px; }

.ops-metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.ops-metric-row--three { grid-template-columns: repeat(3, 1fr); margin-top: 0; margin-bottom: 16px; }
.ops-metric-row article { display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 18px 20px; border: 1px solid var(--ops-line); border-radius: 14px; background: #fff; }
.ops-metric-row article > i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: var(--ops-primary-soft); color: var(--ops-primary); font-size: 21px; }
.ops-metric-row article:nth-child(2) > i { background: #eaf8f2; color: var(--ops-success); }
.ops-metric-row article:nth-child(3) > i { background: #fff5e9; color: var(--ops-warning); }
.ops-metric-row article:nth-child(4) > i { background: #eaf6fb; color: #278bb2; }
.ops-metric-row article div { display: grid; grid-template-columns: auto auto; align-items: end; gap: 1px 7px; }
.ops-metric-row article span { grid-column: 1 / -1; color: var(--ops-muted); font-size: 12px; }
.ops-metric-row article strong { font-size: 27px; line-height: 1.1; }
.ops-metric-row article small { color: #9a9daf; font-size: 11px; }

.ops-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(310px, .7fr); gap: 16px; margin-top: 16px; }
.ops-panel--skills, .ops-decision-card { padding: 24px; }
.ops-skill-list { display: grid; gap: 2px; }
.ops-skill-list article { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(130px, 1.2fr) 42px 72px; align-items: center; gap: 14px; min-height: 62px; padding: 9px 5px; border-top: 1px solid #f0f1f5; }
.ops-skill-list article:first-child { border-top: 0; }
.ops-skill-list article div:first-child { min-width: 0; }
.ops-skill-list article b { display: block; overflow: hidden; color: #3a3d50; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ops-skill-list article span, .ops-skill-list article small { color: #9295a7; font-size: 10px; }
.ops-skill-list article > strong { font-size: 16px; text-align: right; }
.ops-progress { height: 7px; overflow: hidden; border-radius: 5px; background: #eceef4; }
.ops-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7068d8, #56b9c5); }

.ops-decision-badge { display: inline-flex; padding: 6px 10px; border-radius: 7px; background: var(--ops-primary-soft); color: var(--ops-primary); font-size: 11px; font-weight: 800; }
.ops-decision-card > h3 { margin: 16px 0 20px; font-size: 16px; line-height: 1.65; }
.ops-confidence { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 1px solid #f0f1f5; border-bottom: 1px solid #f0f1f5; color: var(--ops-muted); font-size: 12px; }
.ops-confidence b { color: var(--ops-primary); font-size: 17px; }
.ops-decision-card ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.ops-decision-card li { display: flex; gap: 8px; color: #64687a; font-size: 12px; line-height: 1.5; }
.ops-decision-card li > i { margin-top: 2px; color: var(--ops-success); font-size: 15px; }
.ops-decision-card li b { display: block; color: #3e4153; font-size: 10px; text-transform: uppercase; }

.ops-entry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; }
.ops-entry-grid > a { min-width: 0; min-height: 145px; display: grid; grid-template-columns: 38px 1fr 18px; align-items: start; gap: 12px; padding: 20px; border: 1px solid var(--ops-line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.ops-entry-grid > a:hover { transform: translateY(-2px); border-color: #d2cff4; box-shadow: var(--ops-shadow); }
.ops-entry-grid > a > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--ops-primary-soft); color: var(--ops-primary); font-size: 19px; }
.ops-entry-grid > a > i { align-self: center; color: #a4a6b4; font-size: 18px; }
.ops-entry-grid small { color: var(--ops-primary); font-size: 10px; font-weight: 800; }
.ops-entry-grid h3 { margin: 4px 0 7px; font-size: 15px; }
.ops-entry-grid p { margin: 0; color: var(--ops-muted); font-size: 11px; line-height: 1.6; }

/* Role modeling */
.ops-model-layout { display: grid; grid-template-columns: minmax(250px, .66fr) minmax(540px, 1.55fr) minmax(260px, .72fr); gap: 16px; align-items: start; }
.ops-model-form, .ops-model-canvas, .ops-calibration { padding: 23px; }
.ops-model-form, .ops-calibration { position: sticky; top: 18px; }
.ops-model-form label, .ops-calibration label, .ops-quality-gate > label { display: block; margin-top: 15px; }
.ops-model-form label > span, .ops-calibration label > span, .ops-quality-gate > label > span { display: block; margin-bottom: 7px; color: #55596c; font-size: 12px; font-weight: 700; }
.ops-model-form input[type="text"], .ops-model-form textarea, .ops-model-form select, .ops-calibration input, .ops-calibration textarea, .ops-quality-gate input { width: 100%; border: 1px solid #dde0ea; border-radius: 10px; background: #fafbfe; color: var(--ops-ink); padding: 10px 11px; resize: vertical; transition: border-color .18s ease, background .18s ease; }
.ops-model-form input:focus, .ops-model-form textarea:focus, .ops-model-form select:focus, .ops-calibration input:focus, .ops-calibration textarea:focus, .ops-quality-gate input:focus { border-color: #8e88db; background: #fff; outline: 0; }
.ops-model-form .ops-btn, .ops-calibration .ops-btn { margin-top: 12px; }
.ops-check { display: flex !important; align-items: flex-start; gap: 9px; padding: 12px; border-radius: 10px; background: #f7f7fc; cursor: pointer; }
.ops-check input { width: 16px !important; height: 16px; margin-top: 2px; accent-color: var(--ops-primary); }
.ops-check > span { margin: 0 !important; }
.ops-check b, .ops-check small { display: block; }
.ops-check small { margin-top: 3px; color: var(--ops-muted); font-size: 10px; font-weight: 400; line-height: 1.45; }
.ops-version-switch { display: flex; gap: 5px; padding: 4px; border-radius: 9px; background: #f1f2f7; }
.ops-version-switch button { min-width: 34px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: var(--ops-muted); font-size: 11px; cursor: pointer; }
.ops-version-switch button.active { background: #fff; color: var(--ops-primary); box-shadow: 0 2px 8px rgba(38, 41, 67, .1); font-weight: 800; }
.ops-model-meta { display: flex; align-items: center; gap: 8px; margin: -3px 0 14px; }
.ops-model-meta > span, .ops-asset-title > span { padding: 5px 8px; border-radius: 6px; background: #f0f1f6; color: #65697b; font-size: 10px; font-weight: 800; }
.ops-model-meta > span.is-published, .ops-asset-title > span.is-published { background: #e9f8f1; color: var(--ops-success); }
.ops-model-meta > span.is-calibrating, .ops-asset-title > span.is-reviewing { background: #fff4e6; color: var(--ops-warning); }
.ops-model-meta small { color: #9a9dad; font-size: 10px; }
.ops-capability-table { overflow: hidden; border: 1px solid #e8e9f0; border-radius: 12px; }
.ops-capability-table__head, .ops-capability-table article { display: grid; grid-template-columns: minmax(190px, 1.1fr) 82px 74px minmax(220px, 1.25fr); gap: 12px; align-items: center; }
.ops-capability-table__head { padding: 11px 14px; background: #f7f7fb; color: #85889a; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.ops-capability-table article { min-height: 116px; padding: 14px; border-top: 1px solid #ececf2; }
.ops-capability-table article > div:first-child { min-width: 0; }
.ops-capability-table article b { display: block; margin-bottom: 4px; font-size: 13px; }
.ops-capability-table article code { display: inline-flex; padding: 2px 5px; border-radius: 4px; background: #f0effc; color: var(--ops-primary); font-size: 9px; }
.ops-capability-table article p { margin: 7px 0 0; color: var(--ops-muted); font-size: 10px; line-height: 1.5; }
.ops-capability-table select, .ops-capability-table input { width: 100%; height: 34px; border: 1px solid #dde0e8; border-radius: 8px; background: #fff; color: #45485a; padding: 0 8px; font-size: 11px; }
.ops-chip-stack { display: flex; flex-wrap: wrap; gap: 4px; }
.ops-chip-stack span { padding: 4px 6px; border-radius: 5px; background: #f3f4f8; color: #64687a; font-size: 9px; line-height: 1.35; }
.ops-chip-stack small { flex-basis: 100%; margin-top: 3px; color: #979aaa; font-size: 9px; }
.ops-calibration-step { display: grid; grid-template-columns: 26px 1fr 20px; gap: 9px; align-items: center; padding: 12px 0; border-bottom: 1px solid #f0f1f5; }
.ops-calibration-step > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--ops-primary-soft); color: var(--ops-primary); font-size: 10px; font-weight: 800; }
.ops-calibration-step b, .ops-calibration-step small { display: block; }
.ops-calibration-step b { font-size: 12px; }
.ops-calibration-step small { margin-top: 2px; color: var(--ops-muted); font-size: 9px; line-height: 1.4; }
.ops-calibration-step > i { color: var(--ops-success); font-size: 18px; }
.ops-notes { margin-top: 19px; padding-top: 16px; border-top: 1px solid #eceef3; }
.ops-notes > b { font-size: 11px; }
.ops-notes p { margin: 9px 0 0; padding: 9px; border-radius: 8px; background: #f7f7fb; color: #606477; font-size: 10px; line-height: 1.5; }
.ops-notes p span, .ops-notes p small { display: block; }
.ops-notes p span { color: var(--ops-primary); font-weight: 800; }
.ops-notes p small { margin-top: 4px; color: #a0a2af; }

/* Evidence center */
.ops-evidence-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .65fr); gap: 16px; align-items: start; }
.ops-evidence-table-panel, .ops-evidence-detail { padding: 23px; }
.ops-evidence-detail { position: sticky; top: 18px; }
.ops-search { width: min(280px, 100%); height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #dde0e9; border-radius: 9px; background: #fafbfe; }
.ops-search i { color: #979aaa; }
.ops-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ops-ink); font-size: 11px; }
.ops-filterbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-bottom: 15px; border-bottom: 1px solid #eceef3; }
.ops-filterbar button { min-height: 32px; display: flex; align-items: center; gap: 5px; padding: 0 10px; border: 1px solid #e3e5ec; border-radius: 8px; background: #fff; color: #74788b; font-size: 10px; cursor: pointer; }
.ops-filterbar button span { min-width: 17px; padding: 2px 4px; border-radius: 8px; background: #f0f1f5; font-size: 8px; }
.ops-filterbar button.active { border-color: #d8d4f7; background: var(--ops-primary-soft); color: var(--ops-primary); font-weight: 800; }
.ops-filterbar label { display: flex; align-items: center; gap: 6px; margin-left: auto; color: #777b8d; font-size: 10px; cursor: pointer; }
.ops-filterbar input { accent-color: var(--ops-primary); }
.ops-evidence-table { display: grid; }
.ops-evidence-table > button { width: 100%; display: grid; grid-template-columns: 38px minmax(180px, 1fr) 54px 86px 76px 16px; align-items: center; gap: 10px; padding: 13px 7px; border: 0; border-bottom: 1px solid #eff0f4; background: #fff; color: inherit; text-align: left; cursor: pointer; transition: background .16s ease; }
.ops-evidence-table > button:hover, .ops-evidence-table > button.active { background: #f8f8fd; }
.ops-source-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: #fff4e7; color: var(--ops-warning); font-size: 17px; }
.ops-source-icon.is-trusted { background: #eaf8f2; color: var(--ops-success); }
.ops-evidence-main { min-width: 0; }
.ops-evidence-main b, .ops-evidence-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-evidence-main b { color: #3d4052; font-size: 12px; }
.ops-evidence-main small { margin-top: 4px; color: #9194a5; font-size: 9px; }
.ops-evidence-score b { font-size: 17px; }
.ops-evidence-score small { color: #9a9dac; font-size: 8px; }
.ops-trust-badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 7px; border-radius: 6px; font-size: 9px; font-weight: 800; }
.ops-trust-badge.is-verified { background: #eaf8f2; color: var(--ops-success); }
.ops-trust-badge.is-pending { background: #fff4e6; color: var(--ops-warning); }
.ops-evidence-table time { color: #9699a8; font-size: 9px; }
.ops-evidence-table > button > i { color: #b0b2be; }
.ops-evidence-detail__score { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 7px; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, #f1efff, #f7fbfd); }
.ops-evidence-detail__score strong { grid-row: 1 / 3; font-size: 42px; line-height: 1; letter-spacing: -.05em; }
.ops-evidence-detail__score > span { color: var(--ops-muted); font-size: 10px; }
.ops-evidence-detail__score em { align-self: start; width: max-content; margin-top: 4px; padding: 4px 6px; border-radius: 5px; background: #fff; color: var(--ops-warning); font-size: 8px; font-style: normal; font-weight: 800; }
.ops-evidence-detail__score em.is-verified { color: var(--ops-success); }
.ops-evidence-detail dl { margin: 16px 0; }
.ops-evidence-detail dl > div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 11px 2px; border-bottom: 1px solid #eff0f4; }
.ops-evidence-detail dt { color: #8a8d9d; font-size: 10px; }
.ops-evidence-detail dd { margin: 0; color: #3d4052; font-size: 11px; font-weight: 700; }
.ops-evidence-detail dd small { display: block; margin-top: 3px; color: #999cab; font-size: 8px; font-weight: 400; }
.ops-detail-block { margin-top: 15px; }
.ops-detail-block > b { font-size: 11px; }
.ops-detail-block > p { margin: 8px 0 0; padding: 11px; border-radius: 9px; background: #f7f7fb; color: #65697a; font-size: 10px; line-height: 1.6; }
.ops-detail-rows { margin-top: 7px; border: 1px solid #eceef3; border-radius: 9px; overflow: hidden; }
.ops-detail-rows p { display: grid; grid-template-columns: 90px 1fr; gap: 7px; margin: 0; padding: 8px; border-top: 1px solid #eceef3; font-size: 9px; }
.ops-detail-rows p:first-child { border-top: 0; }
.ops-detail-rows span { color: #777b8d; }
.ops-detail-rows code { max-height: 80px; overflow: auto; color: #3e4254; white-space: pre-wrap; word-break: break-word; }
.ops-artifact-link { display: flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--ops-primary); font-size: 10px; font-weight: 800; text-decoration: none; }

/* Decision center */
.ops-decision-hero { min-height: 158px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px 30px; border: 1px solid #dcd9f8; border-radius: 17px; background: linear-gradient(120deg, #f1efff, #fff 62%, #eef8fb); }
.ops-decision-hero__main { min-width: 0; }
.ops-decision-hero__main > small { margin-left: 9px; color: #9194a5; font-size: 10px; }
.ops-decision-hero h2 { max-width: 960px; margin: 13px 0 15px; font-size: 20px; line-height: 1.55; }
.ops-trigger-line { display: flex; align-items: center; gap: 7px; color: #74788b; font-size: 11px; }
.ops-trigger-line i { color: var(--ops-primary); }
.ops-trigger-line b { margin-left: 7px; padding-left: 13px; border-left: 1px solid #d8dae3; color: #45495b; }
.ops-decision-confidence { flex: 0 0 126px; text-align: center; }
.ops-decision-confidence > div { --value: 0%; width: 100px; height: 100px; margin: 0 auto; display: flex; align-items: baseline; justify-content: center; padding-top: 34px; border-radius: 50%; background: radial-gradient(circle at center, #fff 58%, transparent 60%), conic-gradient(var(--ops-primary) var(--value), #dedfec 0); }
.ops-decision-confidence strong { font-size: 26px; line-height: 1; }
.ops-decision-confidence span { color: var(--ops-muted); font-size: 11px; }
.ops-decision-confidence small { display: block; margin-top: 8px; color: var(--ops-muted); font-size: 10px; }
.ops-decision-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(480px, 1.35fr) minmax(240px, .62fr); gap: 16px; margin-top: 16px; align-items: start; }
.ops-action-plan, .ops-path-diff, .ops-decision-history { padding: 23px; }
.ops-action-list { display: grid; gap: 10px; }
.ops-action-list article { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 12px; border: 1px solid #e8e9f0; border-radius: 10px; }
.ops-action-list article > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; background: var(--ops-primary-soft); color: var(--ops-primary); font-size: 9px; font-weight: 800; }
.ops-action-list b { display: block; font-size: 11px; }
.ops-action-list p { margin: 4px 0 0; color: var(--ops-muted); font-size: 10px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.ops-decision-input { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eceef3; }
.ops-decision-input > b, .ops-score-change > b { font-size: 11px; }
.ops-decision-input p, .ops-score-change p { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; margin: 9px 0 0; color: #707487; font-size: 9px; }
.ops-decision-input code, .ops-score-change code { overflow: hidden; color: #3c4053; text-align: right; text-overflow: ellipsis; white-space: pre-wrap; word-break: break-word; }
.ops-version-pill, .ops-count-pill { display: inline-flex; min-width: 38px; height: 27px; align-items: center; justify-content: center; padding: 0 8px; border-radius: 7px; background: var(--ops-primary-soft); color: var(--ops-primary); font-size: 10px; font-weight: 800; }
.ops-path-summary { margin: -2px 0 14px; padding: 11px 12px; border-left: 3px solid var(--ops-primary); background: #f7f6fd; color: #626678; font-size: 10px; line-height: 1.6; }
.ops-diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ops-diff-grid > div { min-width: 0; overflow: hidden; border: 1px solid #e5e7ee; border-radius: 10px; background: #fafbfc; }
.ops-diff-grid > div > span { display: flex; align-items: center; gap: 5px; padding: 9px 11px; border-bottom: 1px solid #e5e7ee; color: #7c8091; font-size: 10px; font-weight: 800; }
.ops-diff-grid > div:first-child > span i { color: var(--ops-risk); }
.ops-diff-grid > div:last-child > span i { color: var(--ops-success); }
.ops-diff-grid pre { min-height: 235px; max-height: 360px; margin: 0; overflow: auto; padding: 12px; color: #45495b; font-family: "JetBrains Mono", Consolas, monospace; font-size: 9px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.ops-score-change { margin-top: 15px; }
.ops-decision-history { position: sticky; top: 18px; }
.ops-timeline { position: relative; display: grid; gap: 0; }
.ops-timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 14px; width: 1px; background: #dfe1e8; }
.ops-timeline button { position: relative; display: grid; grid-template-columns: 12px 1fr; gap: 10px; padding: 8px 0 15px; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.ops-timeline button > i { z-index: 1; width: 11px; height: 11px; margin-top: 3px; border: 2px solid #b9bbc8; border-radius: 50%; background: #fff; }
.ops-timeline button.active > i { border-color: var(--ops-primary); background: var(--ops-primary); box-shadow: 0 0 0 4px var(--ops-primary-soft); }
.ops-timeline span, .ops-timeline b, .ops-timeline small { display: block; }
.ops-timeline span { color: var(--ops-primary); font-size: 9px; font-weight: 800; }
.ops-timeline b { margin-top: 2px; font-size: 11px; }
.ops-timeline small { margin-top: 3px; color: #9a9dac; font-size: 8px; }
.ops-workflow-result { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 15px 18px; border: 1px solid #ccebdd; border-radius: 12px; background: #f0faf5; }
.ops-workflow-result > i { color: var(--ops-success); font-size: 25px; }
.ops-workflow-result div { flex: 1; }
.ops-workflow-result b { font-size: 12px; }
.ops-workflow-result p { margin: 3px 0 0; color: #65786f; font-size: 10px; }
.ops-workflow-result a { color: var(--ops-success); font-size: 10px; font-weight: 800; text-decoration: none; }

/* Technical practice lab */
.ops-practice-layout { display: grid; grid-template-columns: minmax(220px, .52fr) minmax(560px, 1.45fr) minmax(250px, .58fr); gap: 14px; align-items: start; }
.ops-practice-list, .ops-practice-workspace, .ops-practice-report { padding: 21px; }
.ops-practice-list, .ops-practice-report { position: sticky; top: 18px; }
.ops-session-list { display: grid; gap: 7px; }
.ops-session-list > button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 9px; padding: 11px; border: 1px solid #e7e8ef; border-radius: 10px; background: #fff; color: inherit; text-align: left; cursor: pointer; }
.ops-session-list > button.active { border-color: #cbc7f2; background: #f8f7ff; box-shadow: inset 3px 0 var(--ops-primary); }
.ops-session-icon { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; background: var(--ops-primary-soft); color: var(--ops-primary); font-size: 17px; }
.ops-session-list button > span:nth-child(2) { min-width: 0; }
.ops-session-list small, .ops-session-list b, .ops-session-list em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-session-list small { color: #8d90a1; font-size: 8px; }
.ops-session-list b { margin-top: 3px; font-size: 10px; }
.ops-session-list em { margin-top: 3px; color: #777b8e; font-size: 8px; font-style: normal; }
.ops-session-list strong { grid-column: 2; width: max-content; padding: 3px 6px; border-radius: 5px; background: #f0f1f5; color: #74788a; font-size: 8px; }
.ops-session-list strong.is-completed { background: #e9f8f1; color: var(--ops-success); }
.ops-session-list strong.is-running { background: #efedff; color: var(--ops-primary); }
.ops-session-list strong.is-remediation { background: #fff1f2; color: var(--ops-risk); }
.ops-practice-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.ops-practice-title h2 { margin: 5px 0 8px; font-size: 22px; }
.ops-practice-title p { max-width: 780px; margin: 0; color: var(--ops-muted); font-size: 11px; line-height: 1.65; }
.ops-status-pill { flex: 0 0 auto; padding: 6px 9px; border-radius: 7px; background: #f0f1f5; color: #74788a; font-size: 9px; font-weight: 800; }
.ops-status-pill.is-running { background: var(--ops-primary-soft); color: var(--ops-primary); }
.ops-status-pill.is-completed { background: #e9f8f1; color: var(--ops-success); }
.ops-status-pill.is-remediation { background: #fff1f2; color: var(--ops-risk); }
.ops-brief-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0; }
.ops-brief-meta span { display: flex; align-items: center; gap: 5px; padding: 6px 8px; border-radius: 6px; background: #f5f6f9; color: #727688; font-size: 9px; }
.ops-brief-meta i { color: var(--ops-primary); }
.ops-artifact-tabs, .ops-response-tabs { display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none; }
.ops-artifact-tabs button { display: flex; align-items: center; gap: 5px; min-width: max-content; padding: 8px 11px; border: 0; border-radius: 7px 7px 0 0; background: #f0f1f5; color: #777b8d; font-size: 9px; cursor: pointer; }
.ops-artifact-tabs button.active { background: #282b3a; color: #fff; }
.ops-code-view { min-height: 155px; max-height: 280px; margin: 0; overflow: auto; padding: 17px; border-radius: 0 10px 10px 10px; background: #282b3a; color: #dfe6f0; font-family: "JetBrains Mono", Consolas, monospace; font-size: 10px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.ops-deliverables { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 12px; margin: 12px 0 18px; padding: 10px 12px; border: 1px solid #e9eaf0; border-radius: 9px; }
.ops-deliverables b { margin-right: 4px; font-size: 10px; }
.ops-deliverables span { color: #717587; font-size: 9px; }
.ops-deliverables i { margin-right: 3px; color: var(--ops-success); }
.ops-practice-start { min-height: 140px; display: grid; grid-template-columns: 44px 1fr auto; gap: 15px; align-items: center; padding: 22px; border: 1px dashed #cfcbe9; border-radius: 12px; background: #faf9ff; }
.ops-practice-start > i { color: var(--ops-primary); font-size: 42px; }
.ops-practice-start h3 { margin: 0 0 5px; font-size: 15px; }
.ops-practice-start p { margin: 0; color: var(--ops-muted); font-size: 10px; line-height: 1.6; }
.ops-response-tabs { margin-top: 2px; border-bottom: 1px solid #e3e5ec; }
.ops-response-tabs button { min-width: max-content; display: flex; align-items: center; gap: 5px; padding: 9px 11px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #797d8f; font-size: 10px; cursor: pointer; }
.ops-response-tabs button.active { border-bottom-color: var(--ops-primary); color: var(--ops-primary); font-weight: 800; }
.ops-response-tabs button span { color: #aaa7ca; font-size: 8px; }
.ops-response-tabs button i { color: var(--ops-success); }
.ops-response-editor textarea { width: 100%; min-height: 210px; margin-top: 10px; padding: 14px; border: 1px solid #dfe1e9; border-radius: 10px; background: #fcfcfe; color: var(--ops-ink); font-family: "JetBrains Mono", Consolas, "Microsoft YaHei", monospace; font-size: 11px; line-height: 1.7; resize: vertical; }
.ops-editor-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; color: #989baa; font-size: 9px; }
.ops-editor-foot label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.ops-editor-foot input { accent-color: var(--ops-success); }
.ops-coach-box { margin-top: 14px; padding: 13px; border: 1px solid #dfe0f1; border-radius: 11px; background: #f8f8fe; }
.ops-coach-box > div:first-child { display: flex; gap: 9px; }
.ops-avatar { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; background: var(--ops-primary); color: #fff; }
.ops-coach-box b { font-size: 10px; }
.ops-coach-box p { margin: 3px 0 0; color: #65697a; font-size: 9px; line-height: 1.6; }
.ops-coach-box > div:last-child { display: flex; gap: 7px; margin-top: 10px; }
.ops-coach-box input { flex: 1; min-width: 0; height: 34px; border: 1px solid #dfe1e9; border-radius: 8px; background: #fff; padding: 0 10px; font-size: 9px; }
.ops-coach-box button { width: 34px; height: 34px; border: 0; border-radius: 8px; background: var(--ops-primary); color: #fff; cursor: pointer; }
.ops-btn--simplify { margin-top: 10px; width: 100%; min-height: 34px; border: 1px solid #f5b971; border-radius: 8px; background: #fff7ed; color: #c2410c; font-size: 10px; font-weight: 800; cursor: pointer; transition: background .18s ease; }
.ops-btn--simplify:hover:not(:disabled) { background: #ffedd5; }
.ops-btn--simplify:disabled { opacity: .55; cursor: not-allowed; }
.ops-btn--challenge { margin: 4px 0 8px; width: 100%; min-height: 36px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #059669, #10b981); color: #fff; font-size: 10px; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.ops-btn--challenge:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(5, 150, 105, .25); }
.ops-btn--challenge:disabled { opacity: .55; cursor: not-allowed; }
.ops-coach-tag { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; padding: 3px 8px; border-radius: 999px; background: #ffedd5; color: #c2410c; font-size: 8px; font-weight: 800; }
.ops-submitbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #eceef3; }
.ops-submitbar > span { display: flex; align-items: center; gap: 6px; color: #858899; font-size: 9px; }
.ops-report-score { padding: 18px; border-radius: 12px; background: linear-gradient(135deg, #f0efff, #f6fcfd); text-align: center; }
.ops-report-score strong { font-size: 44px; line-height: 1; letter-spacing: -.06em; }
.ops-report-score > span { color: var(--ops-muted); font-size: 11px; }
.ops-report-score small { display: block; margin-top: 7px; color: #777b8d; font-size: 9px; }
.ops-score-bars { display: grid; gap: 10px; margin-top: 18px; }
.ops-score-bars p { display: grid; grid-template-columns: 52px 1fr 40px; gap: 8px; align-items: center; margin: 0; font-size: 9px; }
.ops-score-bars p > span { color: #74788a; }
.ops-score-bars p > i { height: 6px; overflow: hidden; border-radius: 4px; background: #eceef3; }
.ops-score-bars em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--ops-primary), #54b7c4); }
.ops-score-bars p > b { text-align: right; font-size: 9px; }
.ops-decision-result { margin-top: 20px; padding: 13px; border-radius: 10px; background: #f7f6fd; }
.ops-decision-result span, .ops-decision-result b { display: block; }
.ops-decision-result span { color: var(--ops-primary); font-size: 8px; font-weight: 800; }
.ops-decision-result b { margin-top: 3px; font-size: 12px; }
.ops-decision-result p { margin: 5px 0 8px; color: #686c7e; font-size: 9px; line-height: 1.5; }
.ops-decision-result a { color: var(--ops-primary); font-size: 9px; font-weight: 800; text-decoration: none; }
.ops-report-history { margin-top: 18px; padding-top: 15px; border-top: 1px solid #eceef3; }
.ops-report-history > b { font-size: 10px; }
.ops-report-history p { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin: 8px 0 0; font-size: 9px; }
.ops-report-history p strong { color: var(--ops-primary); }
.ops-report-history p small { grid-column: 1 / -1; color: #9a9dac; }

/* Experience extraction */
.ops-extraction-flow { display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr; align-items: center; margin-bottom: 16px; padding: 16px 20px; border: 1px solid var(--ops-line); border-radius: 14px; background: #fff; }
.ops-extraction-flow article { display: grid; grid-template-columns: 24px 34px 1fr; align-items: center; gap: 8px; min-width: 0; }
.ops-extraction-flow article > span { color: #aaa6d2; font-size: 9px; font-weight: 800; }
.ops-extraction-flow article > i { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 9px; background: var(--ops-primary-soft); color: var(--ops-primary); font-size: 16px; }
.ops-extraction-flow b, .ops-extraction-flow small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-extraction-flow b { font-size: 11px; }
.ops-extraction-flow small { margin-top: 3px; color: #9295a5; font-size: 8px; }
.ops-extraction-flow > em { color: #bbbccc; text-align: center; font-style: normal; }
.ops-experience-layout { display: grid; grid-template-columns: minmax(230px, .58fr) minmax(520px, 1.3fr) minmax(255px, .62fr); gap: 16px; align-items: start; }
.ops-candidate-list, .ops-asset-preview, .ops-quality-gate { padding: 22px; }
.ops-candidate-list, .ops-quality-gate { position: sticky; top: 18px; }
.ops-candidates { display: grid; gap: 7px; }
.ops-candidates > button { width: 100%; display: grid; grid-template-columns: 32px minmax(0, 1fr) 34px; align-items: center; gap: 8px; padding: 11px; border: 1px solid #e7e8ef; border-radius: 10px; background: #fff; color: inherit; text-align: left; cursor: pointer; }
.ops-candidates > button.active { border-color: #cbc7f2; background: #f8f7ff; }
.ops-candidates > button > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: #e9f8f1; color: var(--ops-success); }
.ops-candidates b, .ops-candidates small, .ops-candidates em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-candidates b { font-size: 10px; }
.ops-candidates small { margin-top: 3px; color: #898c9d; font-size: 8px; }
.ops-candidates em { margin-top: 3px; color: var(--ops-success); font-size: 7px; font-style: normal; }
.ops-candidates strong { font-size: 16px; }
.ops-extract-controls { margin-top: 15px; padding-top: 15px; border-top: 1px solid #eceef3; }
.ops-extract-controls label > span { display: block; margin-bottom: 6px; color: #74788a; font-size: 9px; font-weight: 700; }
.ops-extract-controls select, .ops-asset-preview .ops-panel-head select { width: 100%; height: 36px; border: 1px solid #dfe1e9; border-radius: 8px; background: #fff; padding: 0 28px 0 9px; color: #4d5062; font-size: 9px; }
.ops-extract-controls .ops-btn { margin-top: 9px; }
.ops-asset-preview .ops-panel-head select { width: min(280px, 100%); }
.ops-asset-title { padding-bottom: 14px; border-bottom: 1px solid #eceef3; }
.ops-asset-title > span { display: inline-flex; margin-right: 7px; }
.ops-asset-title > small { color: #9295a6; font-size: 9px; }
.ops-asset-title h2 { margin: 12px 0 7px; font-size: 19px; line-height: 1.45; }
.ops-asset-title p { margin: 0; color: var(--ops-muted); font-size: 10px; line-height: 1.6; }
.ops-asset-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0; }
.ops-asset-tags span { padding: 4px 7px; border-radius: 5px; background: var(--ops-primary-soft); color: var(--ops-primary); font-size: 8px; font-weight: 700; }
.ops-document-preview { min-height: 410px; max-height: 660px; margin: 0; overflow: auto; padding: 20px; border: 1px solid #e6e7ed; border-radius: 11px; background: #fcfcfd; color: #3f4254; font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: 11px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.ops-quality-list { display: grid; gap: 8px; }
.ops-quality-list p { display: grid; grid-template-columns: 27px 1fr; gap: 8px; margin: 0; padding: 10px; border: 1px solid #e7e8ee; border-radius: 9px; }
.ops-quality-list p > i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff1f2; color: var(--ops-risk); }
.ops-quality-list p.pass > i { background: #e9f8f1; color: var(--ops-success); }
.ops-quality-list b, .ops-quality-list small { display: block; }
.ops-quality-list b { font-size: 10px; }
.ops-quality-list small { margin-top: 3px; color: #8a8e9e; font-size: 8px; line-height: 1.4; }
.ops-quality-gate .ops-btn { margin-top: 9px; }
.ops-danger-link { width: 100%; margin-top: 10px; border: 0; background: transparent; color: var(--ops-risk); font-size: 9px; cursor: pointer; }
.ops-published-note { display: flex; align-items: center; gap: 9px; margin-top: 15px; padding: 12px; border-radius: 10px; background: #ebf8f2; color: #386d59; }
.ops-published-note > i { font-size: 24px; }
.ops-published-note b, .ops-published-note small { display: block; }
.ops-published-note b { font-size: 10px; }
.ops-published-note small { margin-top: 3px; font-size: 8px; opacity: .8; word-break: break-all; }

@media (max-width: 1320px) {
  .ops-model-layout { grid-template-columns: minmax(245px, .7fr) minmax(500px, 1.45fr); }
  .ops-calibration { position: static; grid-column: 1 / -1; }
  .ops-calibration-body { display: grid; grid-template-columns: repeat(3, minmax(170px, 1fr)); gap: 10px 14px; }
  .ops-calibration-body > label, .ops-calibration-body > button, .ops-calibration-body > .ops-notes { grid-column: auto; }
  .ops-practice-layout { grid-template-columns: minmax(220px, .52fr) minmax(520px, 1.3fr); }
  .ops-practice-report { position: static; grid-column: 1 / -1; }
  .ops-practice-report > .ops-panel-head { margin-bottom: 10px; }
  .ops-experience-layout { grid-template-columns: minmax(230px, .55fr) minmax(500px, 1.25fr); }
  .ops-quality-gate { position: static; grid-column: 1 / -1; }
  .ops-quality-gate .ops-quality-list { grid-template-columns: repeat(4, 1fr); }
  .ops-decision-layout { grid-template-columns: minmax(260px, .68fr) minmax(500px, 1.3fr); }
  .ops-decision-history { position: static; grid-column: 1 / -1; }
  .ops-timeline { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .ops-timeline::before { display: none; }
  .ops-timeline button { grid-template-columns: 10px 1fr; padding: 8px; border: 1px solid #e7e8ef; border-radius: 9px; }
}

@media (max-width: 1024px) {
  .ops-title-row { align-items: flex-start; flex-direction: column; }
  .ops-header-actions { width: 100%; justify-content: flex-end; }
  .ops-stagebar { grid-template-columns: repeat(3, 1fr); gap: 10px 0; }
  .ops-stage:nth-child(3) em { display: none; }
  .ops-metric-row { grid-template-columns: repeat(2, 1fr); }
  .ops-dashboard-grid, .ops-evidence-layout { grid-template-columns: 1fr; }
  .ops-decision-card, .ops-evidence-detail { position: static; }
  .ops-entry-grid { grid-template-columns: repeat(2, 1fr); }
  .ops-model-layout, .ops-practice-layout, .ops-experience-layout, .ops-decision-layout { grid-template-columns: 1fr; }
  .ops-model-form, .ops-practice-list, .ops-candidate-list { position: static; }
  .ops-calibration, .ops-practice-report, .ops-quality-gate, .ops-decision-history { grid-column: auto; }
  .ops-calibration-body { grid-template-columns: 1fr; }
  .ops-extraction-flow { grid-template-columns: 1fr 22px 1fr 22px 1fr 22px 1fr; padding: 13px; }
  .ops-extraction-flow article { grid-template-columns: 30px 1fr; }
  .ops-extraction-flow article > span { display: none; }
  .ops-quality-gate .ops-quality-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .ops-topbar { padding: 20px 16px 0; }
  .ops-title-row h1 { font-size: 26px; }
  .ops-header-actions { justify-content: stretch; flex-wrap: wrap; }
  .ops-header-actions .ops-btn, .ops-header-actions > select { flex: 1; }
  .ops-workbench-nav a { padding-inline: 11px; }
  .ops-workbench-nav a span { display: none; }
  .ops-workbench-nav a i { font-size: 20px; }
  .ops-stagebar { grid-template-columns: repeat(2, 1fr); }
  .ops-stage:nth-child(3) em { display: block; }
  .ops-stage:nth-child(2n) em { display: none; }
  .ops-content { width: calc(100% - 24px); margin-top: 14px; }
  .ops-hero-card { min-height: auto; align-items: flex-start; flex-direction: column; padding: 23px; }
  .ops-hero-score { min-width: 0; width: 100%; padding: 15px 0 0; border-top: 1px solid rgba(91, 83, 196, .18); border-left: 0; text-align: left; }
  .ops-metric-row, .ops-metric-row--three, .ops-entry-grid { grid-template-columns: 1fr; }
  .ops-entry-grid > a { min-height: 105px; }
  .ops-skill-list article { grid-template-columns: minmax(130px, 1fr) 45px; gap: 8px; }
  .ops-skill-list .ops-progress { grid-column: 1 / -1; order: 4; }
  .ops-skill-list article > small { display: none; }
  .ops-model-form, .ops-model-canvas, .ops-calibration, .ops-evidence-table-panel, .ops-evidence-detail, .ops-action-plan, .ops-path-diff, .ops-decision-history, .ops-practice-list, .ops-practice-workspace, .ops-practice-report, .ops-candidate-list, .ops-asset-preview, .ops-quality-gate { padding: 17px; }
  .ops-capability-table { overflow-x: auto; }
  .ops-capability-table__head, .ops-capability-table article { width: 720px; }
  .ops-evidence-table { overflow-x: auto; }
  .ops-evidence-table > button { min-width: 680px; }
  .ops-filterbar label { margin-left: 0; flex-basis: 100%; }
  .ops-decision-hero { align-items: flex-start; flex-direction: column; padding: 21px; }
  .ops-decision-confidence { align-self: center; }
  .ops-diff-grid { grid-template-columns: 1fr; }
  .ops-timeline { grid-template-columns: 1fr; }
  .ops-practice-start { grid-template-columns: 38px 1fr; }
  .ops-practice-start .ops-btn { grid-column: 1 / -1; }
  .ops-submitbar { align-items: stretch; flex-direction: column; }
  .ops-submitbar .ops-btn { width: 100%; }
  .ops-extraction-flow { grid-template-columns: 1fr; gap: 6px; }
  .ops-extraction-flow > em { transform: rotate(90deg); }
  .ops-quality-gate .ops-quality-list { grid-template-columns: 1fr; }
  .ops-document-preview { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .ops-page *, .ops-page *::before, .ops-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Enterprise role-modeling skin. The capability-operations views remain learner-facing; this
   scope is only enabled by PageRoleModeling when it is opened from the enterprise console. */
.ent-core-role-model .ops-page { background: var(--ent-bg, #f5f6fa); color: var(--ent-ink, #20263a); }
.ent-core-role-model .ops-topbar { padding: 24px 34px 0; background: #fff; border-bottom-color: var(--ent-line, #e7e9f1); backdrop-filter: none; }
.ent-core-role-model .ops-heading, .ent-core-role-model .ops-stagebar { max-width: 1680px; }
.ent-core-role-model .ops-eyebrow, .ent-core-role-model .ops-kicker { color: var(--ent-primary, #5b55d9); letter-spacing: .14em; }
.ent-core-role-model .ops-title-row { align-items: flex-end; margin-top: 7px; }
.ent-core-role-model .ops-title-row h1 { color: var(--ent-ink, #20263a); font-size: 26px; font-weight: 720; letter-spacing: -.02em; }
.ent-core-role-model .ops-title-row p { color: var(--ent-muted, #778096); font-size: 12px; }
.ent-core-role-model .ops-header-actions { gap: 9px; }
.ent-core-role-model .ops-header-actions .ops-btn { min-height: 38px; border-radius: 9px; border-color: #dfe2eb; background: #fff; color: #4d566c; padding: 0 14px; font-size: 12px; font-weight: 650; }
.ent-core-role-model .ops-header-actions .ops-btn:hover:not(:disabled) { border-color: #c5c8d8; color: var(--ent-primary, #5b55d9); box-shadow: none; }
.ent-core-role-model .ops-header-actions .ops-btn:not(.ops-btn--quiet) { border-color: var(--ent-primary, #5b55d9); background: var(--ent-primary, #5b55d9); color: #fff; }
.ent-core-role-model .ops-stagebar { padding: 14px 0 17px; border-top-color: #f0f1f5; }
.ent-core-role-model .ops-stage > span { width: 24px; height: 24px; flex-basis: 24px; border-color: #d9dde7; }
.ent-core-role-model .ops-stage small { background: #fff; color: #7b8498; font-size: 11px; }
.ent-core-role-model .ops-stage.is-active > span { border-color: var(--ent-primary, #5b55d9); background: #f0efff; color: var(--ent-primary, #5b55d9); box-shadow: 0 0 0 4px rgba(91,85,217,.08); }
.ent-core-role-model .ops-stage.is-active small { color: var(--ent-primary, #5b55d9); }
.ent-core-role-model .ops-stage.is-done > span { border-color: var(--ent-green, #15996f); background: var(--ent-green, #15996f); }
.ent-core-role-model .ops-content { width: min(1680px, calc(100% - 60px)); margin-top: 20px; }
.ent-core-role-model .ops-panel { border-color: var(--ent-line, #e7e9f1); border-radius: 13px; box-shadow: 0 5px 18px rgba(28,57,107,.035); }
.ent-core-role-model .ops-model-form, .ent-core-role-model .ops-model-canvas, .ent-core-role-model .ops-calibration { padding: 21px 23px; }
.ent-core-role-model .ops-panel-head { margin-bottom: 16px; }
.ent-core-role-model .ops-panel-head h2 { color: var(--ent-ink, #20263a); font-size: 15px; font-weight: 700; }
.ent-core-role-model .ops-panel-head .ops-kicker { font-size: 10px; }
.ent-core-role-model .ops-model-form label > span, .ent-core-role-model .ops-calibration label > span { color: #596279; font-size: 10px; font-weight: 650; }
.ent-core-role-model .ops-model-form input[type="text"], .ent-core-role-model .ops-model-form textarea, .ent-core-role-model .ops-model-form select, .ent-core-role-model .ops-calibration input, .ent-core-role-model .ops-calibration textarea { border-color: #dfe2eb; border-radius: 9px; background: #fbfcfe; color: #3c455b; font-size: 12px; }
.ent-core-role-model .ops-model-form input:focus, .ent-core-role-model .ops-model-form textarea:focus, .ent-core-role-model .ops-model-form select:focus, .ent-core-role-model .ops-calibration input:focus, .ent-core-role-model .ops-calibration textarea:focus { border-color: #aaa6f0; box-shadow: 0 0 0 3px rgba(91,85,217,.08); background: #fff; }
.ent-core-role-model .ops-check { border-radius: 9px; background: #f5f6fb; }
.ent-core-role-model .ops-btn { min-height: 38px; border-radius: 9px; font-size: 11px; }
.ent-core-role-model .ops-btn--quiet { border-color: #dfe2eb; background: #fff; color: #4d566c; }
.ent-core-role-model .ops-btn--quiet:hover:not(:disabled) { border-color: #c5c8d8; color: var(--ent-primary, #5b55d9); box-shadow: none; }
.ent-core-role-model .ops-version-switch { border: 1px solid #e5e7ef; background: #f5f6fa; }
.ent-core-role-model .ops-version-switch button.active { color: var(--ent-primary, #5b55d9); box-shadow: 0 2px 8px rgba(32,38,58,.1); }
.ent-core-role-model .ops-capability-table { border-color: #e4e7ef; border-radius: 11px; }
.ent-core-role-model .ops-capability-table__head { background: #fafbfc; color: #7d8597; }
.ent-core-role-model .ops-capability-table article { border-top-color: #eff0f4; }
.ent-core-role-model .ops-capability-table article code { background: #f0efff; color: var(--ent-primary, #5b55d9); }
.ent-core-role-model .ops-capability-table select, .ent-core-role-model .ops-capability-table input { border-color: #dfe2eb; border-radius: 8px; background: #fff; color: #3c455b; }
.ent-core-role-model .ops-chip-stack span { background: #f1f3f7; color: #596279; }
.ent-core-role-model .ops-calibration-step { border-bottom-color: #eff0f4; }
.ent-core-role-model .ops-calibration-step > span { background: #f0efff; color: var(--ent-primary, #5b55d9); }
.ent-core-role-model .ops-calibration-step > i { color: var(--ent-green, #15996f); }
.ent-core-role-model .ops-notes p { background: #f8fafc; color: #667087; }

@media (max-width: 900px) {
  .ent-core-role-model .ops-topbar { padding: 20px; }
  .ent-core-role-model .ops-content { width: calc(100% - 32px); }
}
@media (max-width: 620px) {
  .ent-core-role-model .ops-topbar { padding: 18px 16px 0; }
  .ent-core-role-model .ops-title-row h1 { font-size: 24px; }
  .ent-core-role-model .ops-content { width: calc(100% - 24px); }
  .ent-core-role-model .ops-model-form, .ent-core-role-model .ops-model-canvas, .ent-core-role-model .ops-calibration { padding: 17px; }
}

/* Enterprise readability: larger type and more breathing room without touching learner views. */
.ent-core-role-model .ops-page{font-size:14px}.ent-core-role-model .ops-topbar{padding-top:34px}.ent-core-role-model .ops-eyebrow,.ent-core-role-model .ops-kicker{font-size:12px}.ent-core-role-model .ops-title-row h1{font-size:clamp(30px,2.4vw,40px)}.ent-core-role-model .ops-title-row p{font-size:15px;line-height:1.7}.ent-core-role-model .ops-workbench-nav a{padding:14px 17px 16px;font-size:15px}.ent-core-role-model .ops-stagebar{padding:20px 0 22px}.ent-core-role-model .ops-stage>span{width:30px;height:30px;flex-basis:30px;font-size:12px}.ent-core-role-model .ops-stage small{font-size:13px}.ent-core-role-model .ops-content{margin-top:32px}.ent-core-role-model .ops-panel-head{margin-bottom:24px}.ent-core-role-model .ops-panel-head h2{font-size:21px}.ent-core-role-model .ops-panel-head a{font-size:13px}.ent-core-role-model .ops-btn{min-height:44px;padding:0 19px;font-size:14px}
.ent-core-role-model .ops-hero-card{min-height:205px;padding:38px 44px;border-radius:20px}.ent-core-role-model .ops-hero-card h2{font-size:clamp(28px,2.3vw,38px)}.ent-core-role-model .ops-hero-card p{font-size:15px}.ent-core-role-model .ops-hero-score strong{font-size:52px}.ent-core-role-model .ops-hero-score>span{font-size:15px}.ent-core-role-model .ops-metric-row{gap:17px;margin-top:20px}.ent-core-role-model .ops-metric-row article{min-height:124px;padding:21px 23px;border-radius:16px}.ent-core-role-model .ops-metric-row article>i{width:46px;height:46px;font-size:24px}.ent-core-role-model .ops-metric-row article span{font-size:13px}.ent-core-role-model .ops-metric-row article strong{font-size:31px}.ent-core-role-model .ops-metric-row article small{font-size:12px}
.ent-core-role-model .ops-panel--skills,.ent-core-role-model .ops-decision-card{padding:28px}.ent-core-role-model .ops-skill-list article{min-height:74px;gap:17px}.ent-core-role-model .ops-skill-list article b{font-size:15px}.ent-core-role-model .ops-skill-list article span,.ent-core-role-model .ops-skill-list article small{font-size:12px}.ent-core-role-model .ops-skill-list article>strong{font-size:18px}.ent-core-role-model .ops-decision-card>h3{font-size:19px}.ent-core-role-model .ops-confidence{font-size:13px}.ent-core-role-model .ops-decision-card li{font-size:13px}.ent-core-role-model .ops-entry-grid{gap:15px}.ent-core-role-model .ops-entry-grid>a{min-height:165px;padding:22px}.ent-core-role-model .ops-entry-grid small{font-size:11px}.ent-core-role-model .ops-entry-grid h3{font-size:17px}.ent-core-role-model .ops-entry-grid p{font-size:12px}
.ent-core-role-model .ops-model-form,.ent-core-role-model .ops-model-canvas,.ent-core-role-model .ops-calibration,.ent-core-role-model .ops-evidence-table-panel,.ent-core-role-model .ops-evidence-detail{padding:28px}.ent-core-role-model .ops-model-form label>span,.ent-core-role-model .ops-calibration label>span,.ent-core-role-model .ops-quality-gate>label>span{font-size:13px}.ent-core-role-model .ops-model-form input[type="text"],.ent-core-role-model .ops-model-form textarea,.ent-core-role-model .ops-model-form select,.ent-core-role-model .ops-calibration input,.ent-core-role-model .ops-calibration textarea{font-size:14px}.ent-core-role-model .ops-capability-table__head{font-size:12px}.ent-core-role-model .ops-capability-table article{min-height:132px;padding:18px}.ent-core-role-model .ops-capability-table article b{font-size:15px}.ent-core-role-model .ops-capability-table article p{font-size:12px}.ent-core-role-model .ops-capability-table select,.ent-core-role-model .ops-capability-table input{height:40px;font-size:13px}.ent-core-role-model .ops-chip-stack span{font-size:11px}.ent-core-role-model .ops-calibration-step b{font-size:14px}.ent-core-role-model .ops-calibration-step small{font-size:11px}.ent-core-role-model .ops-notes>b{font-size:13px}.ent-core-role-model .ops-notes p{font-size:12px}
@media(max-width:900px){.ent-core-role-model .ops-topbar{padding:26px 22px 0}.ent-core-role-model .ops-title-row h1{font-size:31px}.ent-core-role-model .ops-title-row p{font-size:14px}.ent-core-role-model .ops-content{width:calc(100% - 32px)}.ent-core-role-model .ops-hero-card{padding:28px 26px}.ent-core-role-model .ops-entry-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.ent-core-role-model .ops-topbar{padding:22px 18px 0}.ent-core-role-model .ops-title-row h1{font-size:28px}.ent-core-role-model .ops-hero-card{min-height:260px;padding:25px 20px;display:block}.ent-core-role-model .ops-hero-score{margin-top:22px;padding:16px 0 0;border-left:0;border-top:1px solid rgba(91,83,196,.18);text-align:left}.ent-core-role-model .ops-entry-grid{grid-template-columns:1fr}.ent-core-role-model .ops-panel--skills,.ent-core-role-model .ops-decision-card,.ent-core-role-model .ops-model-form,.ent-core-role-model .ops-model-canvas,.ent-core-role-model .ops-calibration,.ent-core-role-model .ops-evidence-table-panel,.ent-core-role-model .ops-evidence-detail{padding:21px}.ent-core-role-model .ops-stagebar{grid-template-columns:repeat(2,1fr);gap:13px}.ent-core-role-model .ops-workbench-nav{margin-top:18px}}
