/* Skills Workbench v2
   A task-first editor: choose an entry, edit a vertical Skill queue, save in context. */

.ops-home #copyConfig.copy-studio {
  --wb-bg: #f3f1eb;
  --wb-paper: #fffdfa;
  --wb-paper-strong: #ffffff;
  --wb-ink: #1f2d28;
  --wb-text: #506059;
  --wb-muted: #849089;
  --wb-line: #dddeda;
  --wb-line-strong: #c9d1cb;
  --wb-forest: #153f34;
  --wb-forest-2: #23594a;
  --wb-mint: #e7f0eb;
  --wb-gold: #b58a4d;
  --wb-gold-soft: #f4ead7;
  --wb-danger: #9f675d;
  width: min(100%, 1500px);
  margin: 18px auto 0;
  padding: 0 0 88px;
}

/* Hero */
.ops-home #copyConfig .skills-page-hero {
  position: relative;
  display: flex;
  min-height: 168px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 0 18px;
  padding: 34px 38px 32px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(120deg, #102f28 0%, #18483b 58%, #285a4a 100%);
  box-shadow: 0 22px 52px rgba(21,63,52,.18);
}

.ops-home #copyConfig .skills-page-hero::before {
  position: absolute;
  top: -142px;
  right: -50px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(241,217,177,.19);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(241,217,177,.035), 0 0 0 84px rgba(241,217,177,.025);
  content: '';
}

.ops-home #copyConfig .skills-page-hero::after {
  position: absolute;
  right: 32%;
  bottom: 0;
  width: 150px;
  height: 3px;
  border: 0;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, transparent, #d9b576, transparent);
  box-shadow: none;
  content: '';
}

.ops-home #copyConfig .skills-hero-copy,
.ops-home #copyConfig .cs-header-meta { position: relative; z-index: 1; }

.ops-home #copyConfig .skills-hero-copy { max-width: 820px; }

.ops-home #copyConfig .cs-eyebrow {
  color: #dbb97e;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .18em;
}

.ops-home #copyConfig .cs-eyebrow > span { width: 24px; background: #dbb97e; }
.ops-home #copyConfig .cs-eyebrow b { color: rgba(255,255,255,.32); }

.ops-home #copyConfig .skills-page-hero h2 {
  margin: 17px 0 9px;
  color: #fffdf8;
  font-size: clamp(30px, 2.65vw, 42px);
  font-weight: 680;
  letter-spacing: -.045em;
  line-height: 1.14;
}

.ops-home #copyConfig .skills-page-hero h2 > span { color: #ddb977; }

.ops-home #copyConfig .skills-page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(244,248,245,.68);
  font-size: 13px;
  line-height: 1.75;
}

.ops-home #copyConfig .cs-header-meta {
  position: relative;
  min-width: 188px;
  align-items: flex-end;
  gap: 10px;
}

.ops-home #copyConfig .cs-workspace-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  color: #fff;
  box-shadow: none;
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.ops-home #copyConfig .cs-workspace-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a9cdbd;
  box-shadow: 0 0 0 4px rgba(169,205,189,.12);
}

.ops-home #copyConfig .cs-inline-save-state {
  color: rgba(255,255,255,.56);
  font: 10px ui-monospace, monospace;
}

.ops-home #copyConfig .cs-hero-save {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 9px;
  background: #f8f2e7;
  color: #173f34;
  box-shadow: 0 8px 20px rgba(7,27,21,.16);
  font-size: 11px;
  font-weight: 700;
}

.ops-home #copyConfig .cs-hero-save:hover { background: #fff; transform: translateY(-1px); }
.ops-home #copyConfig .cs-hero-save:disabled { cursor: wait; opacity: .58; }
.ops-home #copyConfig .cs-header-meta > .feedback { position: absolute; top: 100%; right: 0; width: 260px; margin: 5px 0 0; color: #d9e6df; font-size: 9px; text-align: right; }
.ops-home #copyConfig .cs-header-meta > .feedback.error { color: #ffd2ca; }

/* Workbench layout */
.ops-home #copyConfig #copyConfigForm {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0;
  padding: 0;
}

.ops-home #copyConfig #copyConfigForm > .cs-page-entry-map { grid-column: 1; order: 1; }

.ops-home #copyConfig #copyConfigForm > :is(
  #entryRulePanel,
  #entryTagsPanel,
  #contentGoalsEditor,
  #contentDirectionsEditor,
  #skillsThemeTags,
  #globalSkillsPanel,
  .cs-library
) { grid-column: 1; }

.ops-home #copyConfig #copyConfigForm > :is(#entryRulePanel,#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) { order: 2; }
.ops-home #copyConfig #copyConfigForm > #skillsThemeTags { order: 3; }
.ops-home #copyConfig #copyConfigForm > :is(#globalSkillsPanel,.cs-library) { order: 4; }

.ops-home #copyConfig #copyConfigForm > [hidden] { display: none; }

/* Entry chooser */
.ops-home #copyConfig .cs-page-entry-map {
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--wb-line);
  border-radius: 18px;
  background: var(--wb-paper);
  box-shadow: 0 12px 34px rgba(34,52,44,.065);
}

.ops-home #copyConfig .cs-page-entry-map > header { display: none; }

.ops-home #copyConfig .cs-page-workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 120px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ops-home #copyConfig .cs-page-workspace > header {
  position: relative;
  display: flex;
  min-height: 120px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 13px;
  padding: 24px 26px;
  border: 0;
  border-right: 1px solid #d6ddd8;
  background: linear-gradient(145deg, #e4eee8, #f1f3ed);
}

.ops-home #copyConfig .cs-page-workspace > header::before {
  color: #6d7d75;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .15em;
  content: '\5F53\524D\9875\9762';
}

.ops-home #copyConfig .cs-page-workspace > header::after {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(35,89,74,.17);
  border-radius: 50%;
  content: '';
}

.ops-home #copyConfig .cs-page-workspace > header > span {
  position: absolute;
  top: 23px;
  right: 23px;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5a786a;
  font: 650 10px ui-monospace, monospace;
}

.ops-home #copyConfig .cs-page-workspace > header h4 {
  margin: 0;
  color: #21483b;
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -.035em;
}

.ops-home #copyConfig .cs-page-workspace > header p {
  max-width: 145px;
  margin: 0;
  color: #708078;
  font-size: 11px;
  line-height: 1.55;
}

.ops-home #copyConfig .cs-entry-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 10px;
  padding: 15px;
}

.ops-home #copyConfig .cs-entry-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0,1fr) 24px;
  gap: 12px;
  min-height: 88px;
  align-items: center;
  padding: 14px 15px;
  overflow: hidden;
  border: 1px solid #e3e4df;
  border-radius: 12px;
  background: #f9faf7;
  color: #66736d;
  box-shadow: none;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ops-home #copyConfig .cs-entry-tabs button:hover {
  border-color: #b9c6be;
  background: #fff;
  box-shadow: 0 8px 20px rgba(32,64,51,.075);
  transform: translateY(-1px);
}

.ops-home #copyConfig .cs-entry-tabs button[aria-selected='true'] {
  border-color: #b4c5bb;
  background: linear-gradient(125deg, #edf4ef, #fffdf8 72%);
  color: var(--wb-forest);
  box-shadow: inset 4px 0 0 var(--wb-forest-2), 0 9px 24px rgba(27,70,57,.08);
}

.ops-home #copyConfig .cs-entry-tabs button[aria-selected='true']::before { display: none; }

.ops-home #copyConfig .cs-tab-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #dce2dd;
  border-radius: 10px;
  background: #fff;
  color: #678074;
  font-size: 17px;
}

.ops-home #copyConfig [aria-selected='true'] > .cs-tab-icon {
  border-color: #bfd0c6;
  background: var(--wb-forest);
  color: #fff;
}

.ops-home #copyConfig .cs-tab-text strong { color: var(--wb-ink); font-size: 14px; font-weight: 690; }
.ops-home #copyConfig .cs-tab-text small { margin-top: 5px; color: var(--wb-muted); font-size: 10px; }
.ops-home #copyConfig .cs-tab-arrow { color: #91a098; font-size: 16px; }

/* The same task sequence is repeated on every mini-program page. */
.ops-home #copyConfig .cs-page-blueprint {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 76px;
  border-top: 1px solid var(--wb-line);
  background: #f7f8f4;
}

.ops-home #copyConfig .cs-page-blueprint > div {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-right: 1px solid #e3e6e1;
}

.ops-home #copyConfig .cs-page-blueprint > div:last-child { border-right: 0; }
.ops-home #copyConfig .cs-page-blueprint > div.is-primary { background: linear-gradient(125deg, #edf4ef, #f8f8f3); }

.ops-home #copyConfig .cs-page-blueprint > div > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #d6ddd8;
  border-radius: 50%;
  background: #fff;
  color: #77867e;
  font: 700 9px ui-monospace, monospace;
}

.ops-home #copyConfig .cs-page-blueprint > div.is-primary > span {
  border-color: #214f40;
  background: var(--wb-forest);
  color: #fff;
}

.ops-home #copyConfig .cs-page-blueprint p,
.ops-home #copyConfig .cs-page-blueprint strong,
.ops-home #copyConfig .cs-page-blueprint small { display: block; margin: 0; }
.ops-home #copyConfig .cs-page-blueprint strong { color: #31453c; font-size: 11px; font-weight: 700; }
.ops-home #copyConfig .cs-page-blueprint small { margin-top: 4px; color: #89948e; font-size: 9px; }
.ops-home #copyConfig .cs-page-blueprint i { color: #a7b0aa; font-size: 13px; font-style: normal; text-align: right; }

/* Editor panel */
.ops-home #copyConfig :is(#entryRulePanel,#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--wb-line);
  border-radius: 18px;
  background: var(--wb-paper);
  box-shadow: 0 12px 34px rgba(34,52,44,.055);
}

.ops-home #copyConfig :is(#entryRulePanel,#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) > .cg-heading {
  position: relative;
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 22px 26px;
  border-bottom: 1px solid var(--wb-line);
  background: linear-gradient(100deg, #fffdfa, #f7f5ef);
}

.ops-home #copyConfig :is(#entryRulePanel,#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) > .cg-heading::before { display: none; }
.ops-home #copyConfig .cg-kicker { color: var(--wb-gold); font-size: 9px; font-weight: 760; letter-spacing: .18em; }

.ops-home #copyConfig .cg-heading h3 {
  margin: 7px 0 5px;
  color: var(--wb-ink);
  font-size: 22px;
  font-weight: 690;
  letter-spacing: -.035em;
}

.ops-home #copyConfig .cg-heading p { margin: 0; color: var(--wb-muted); font-size: 11px; line-height: 1.6; }

.ops-home #copyConfig .skills-panel-badge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid #cbd8d0;
  border-radius: 999px;
  background: #eef4f0;
  color: #45695b;
  font-size: 10px;
}

/* Base rules fill the gap on actions that do not expose editable page labels. */
.ops-home #copyConfig .cs-entry-rule-body {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 0;
  min-height: 250px;
}

.ops-home #copyConfig .cs-rule-context {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  border-right: 1px solid #d8ded9;
  background:
    radial-gradient(circle at 100% 0, rgba(181,138,77,.15), transparent 38%),
    linear-gradient(145deg, #183e34, #245648);
  color: #f8f5ed;
}

.ops-home #copyConfig .cs-rule-context > span {
  color: #dfbc7d;
  font: 700 10px ui-monospace, monospace;
  letter-spacing: .14em;
}

.ops-home #copyConfig .cs-rule-context strong { display: block; font-size: 19px; font-weight: 680; line-height: 1.4; }
.ops-home #copyConfig .cs-rule-context p { margin: 10px 0 0; color: rgba(242,247,244,.65); font-size: 11px; line-height: 1.7; }

.ops-home #copyConfig .cs-rule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.ops-home #copyConfig .cs-rule-chips span {
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.76);
  font-size: 9px;
}

.ops-home #copyConfig .cs-rule-editor {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  padding: 24px 26px 26px;
  background: #fff;
  color: #4c5b54;
  font-size: 11px;
}

.ops-home #copyConfig .cs-rule-editor > span { display: flex; justify-content: space-between; color: #324a40; font-weight: 700; }
.ops-home #copyConfig .cs-rule-editor > span small { color: #9aa39e; font-size: 9px; font-weight: 500; }
.ops-home #copyConfig .cs-rule-editor > small { color: #89948e; font-size: 9px; line-height: 1.65; }

.ops-home #copyConfig #copyPrompt {
  box-sizing: border-box;
  width: 100%;
  min-height: 142px;
  flex: 1;
  padding: 16px 18px;
  border: 1px solid #d8dfda;
  border-radius: 11px;
  outline: 0;
  background: #f7f8f5;
  color: #2d4037;
  font: 13px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace;
  resize: vertical;
}

.ops-home #copyConfig #copyPrompt:focus {
  border-color: #8ca697;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(35,89,74,.07);
}

.ops-home #copyConfig #copyPrompt:disabled { color: #76827c; cursor: not-allowed; }

.ops-home #copyConfig #entryTagGroups { display: block; }
.ops-home #copyConfig .et-group { overflow: visible; border: 0; border-radius: 0; background: transparent; }

.ops-home #copyConfig .et-group > header {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 14px 22px;
  border: 0;
  border-bottom: 1px solid #e8e9e4;
  background: #f1f3ee;
}

.ops-home #copyConfig .et-group > header div { flex-direction: row; align-items: baseline; gap: 10px; }
.ops-home #copyConfig .et-group > header strong { color: #304b40; font-size: 14px; font-weight: 700; }
.ops-home #copyConfig .et-group > header span,
.ops-home #copyConfig .et-group > header small { color: #829087; font-size: 10px; }

.ops-home #copyConfig .et-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
}

.ops-home #copyConfig .et-item-editable {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) 34px 34px;
  grid-template-rows: auto auto auto;
  gap: 10px 7px;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #e0e2dd;
  border-radius: 13px;
  background: var(--wb-paper-strong);
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ops-home #copyConfig .et-item-editable::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: transparent;
  content: '';
  transition: background .2s ease;
}

.ops-home #copyConfig .et-item-editable:hover {
  border-color: #c6cec8;
  box-shadow: 0 10px 24px rgba(31,58,47,.07);
  transform: translateY(-1px);
}

.ops-home #copyConfig .et-item-editable:focus-within {
  border-color: #97ad9f;
  box-shadow: 0 0 0 3px rgba(35,89,74,.07), 0 10px 24px rgba(31,58,47,.07);
}

.ops-home #copyConfig .et-item-editable:focus-within::before { background: var(--wb-forest-2); }

.ops-home #copyConfig .et-item-editable .et-order {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  align-self: start;
  border-radius: 9px;
  background: var(--wb-gold-soft);
  color: #936e38;
  font: 700 11px ui-monospace, monospace;
  letter-spacing: .06em;
}

.ops-home #copyConfig .et-item-editable .et-fields {
  grid-column: 2 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(210px, 300px) minmax(260px,1fr);
  gap: 12px;
  padding-right: 82px;
}

.ops-home #copyConfig .et-item-editable .et-fields > label { display: flex; flex-direction: column; gap: 7px; }
.ops-home #copyConfig .et-item-editable .et-fields label span { color: #6f7c75; font-size: 10px; font-weight: 650; }

.ops-home #copyConfig .et-item-editable .et-fields input {
  box-sizing: border-box;
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #dce0dc;
  border-radius: 9px;
  outline: 0;
  background: #f7f8f5;
  color: var(--wb-ink);
  font: inherit;
  font-size: 14px;
}

.ops-home #copyConfig .et-item-editable .et-fields input:focus {
  border-color: #8ca697;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(35,89,74,.07);
}

.ops-home #copyConfig .et-item-editable .et-skill-spec {
  align-self: end;
  border: 1px solid #dae1dc;
  border-radius: 9px;
  background: #f5f8f5;
}

.ops-home #copyConfig .et-item-editable .et-skill-spec > summary {
  min-height: 42px;
  padding: 0 12px;
  cursor: pointer;
  color: #3f6253;
  font-size: 11px;
  font-weight: 700;
  line-height: 42px;
  list-style-position: inside;
}

.ops-home #copyConfig .et-item-editable .et-skill-spec > summary small {
  margin-left: 7px;
  color: #8a978f;
  font-size: 9px;
  font-weight: 450;
}

.ops-home #copyConfig .et-item-editable .et-skill-spec[open] {
  grid-column: 1 / -1;
  margin-top: 2px;
  background: #f8faf8;
}

.ops-home #copyConfig .et-item-editable .et-skill-content { padding: 0 12px 12px; }
.ops-home #copyConfig .et-item-editable .et-skill-content > span { display: flex; margin-bottom: 8px; justify-content: space-between; }

.ops-home #copyConfig .et-item-editable .et-fields .et-skill-content textarea[data-tag-skill-content] {
  box-sizing: border-box;
  width: 100%;
  height: clamp(420px, 55vh, 620px);
  min-height: 420px;
  padding: 16px 18px;
  border: 1px solid #d9dfda;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #34453d;
  font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, monospace;
  resize: vertical;
}

.ops-home #copyConfig .et-item-editable .et-enabled {
  position: absolute;
  top: 17px;
  right: 17px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  color: #587066;
  font-size: 10px;
}

.ops-home #copyConfig .et-item-editable .et-enabled input { accent-color: var(--wb-forest-2); }

.ops-home #copyConfig .et-item-editable .et-card-actions {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ops-home #copyConfig .et-item-editable button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce1dd;
  border-radius: 8px;
  background: #fff;
  color: #61736a;
  font-size: 14px;
}

.ops-home #copyConfig .et-item-editable .et-card-actions .et-remove {
  width: auto;
  padding: 0 6px;
  border-color: transparent;
  background: transparent;
  color: var(--wb-danger);
  font-size: 10px;
}

.ops-home #copyConfig .et-item-editable .et-card-actions .et-distill {
  width: auto;
  padding: 0 11px;
  border-color: #d3ddd7;
  background: #f3f7f4;
  color: #3f6555;
  font-size: 10px;
}

.ops-home #copyConfig .et-item-editable button[data-tag-action='up'] { grid-column: 3; grid-row: 2; }
.ops-home #copyConfig .et-item-editable button[data-tag-action='down'] { grid-column: 4; grid-row: 2; }
.ops-home #copyConfig .et-item-editable button:hover:not(:disabled) { border-color: #aabbb0; background: #f8faf8; color: var(--wb-forest); }

.ops-home #copyConfig .et-children {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 2px 0 0 46px;
  padding: 12px 14px;
  border: 1px solid #e1e5e1;
  border-radius: 10px;
  background: #f5f6f2;
}

.ops-home #copyConfig .et-children-head strong { color: #42574e; font-size: 11px; }
.ops-home #copyConfig .et-children-head span { font-size: 9px; }
.ops-home #copyConfig .et-child-summary { margin-top: 9px; }

.ops-home #copyConfig .et-add-card {
  display: grid;
  grid-template-columns: 42px auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  min-height: 84px;
  align-content: center;
  justify-content: center;
  padding: 18px;
  border: 1px dashed #bfc9c2;
  border-radius: 12px;
  background: #f6f8f4;
  color: #436454;
}

.ops-home #copyConfig .et-add-card > span {
  grid-row: 1 / 3;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #d1dbd4;
  border-radius: 10px;
  background: #fff;
  color: var(--wb-gold);
  font-size: 20px;
}

.ops-home #copyConfig .et-add-card strong { align-self: end; font-size: 12px; font-weight: 700; text-align: left; }
.ops-home #copyConfig .et-add-card small { align-self: start; color: var(--wb-muted); font-size: 9px; text-align: left; }
.ops-home #copyConfig .et-add-card:hover:not(:disabled) { border-color: #879f91; background: #edf3ef; box-shadow: none; transform: none; }

/* Other editor types inherit the same calmer vertical rhythm. */
.ops-home #copyConfig :is(#contentGoalList,#contentDirectionList) {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  padding: 14px;
}

.ops-home #copyConfig .cg-item {
  min-height: 0;
  padding: 18px;
  border-color: #e0e2dd;
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 1180px) {
  .ops-home #copyConfig #copyConfigForm { grid-template-columns: minmax(0,1fr); }
  .ops-home #copyConfig :is(#contentGoalList,#contentDirectionList) { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 820px) {
  .ops-home #copyConfig .skills-page-hero { min-height: 0; padding: 28px 24px; border-radius: 18px; }
  .ops-home #copyConfig .skills-page-hero h2 { font-size: 30px; }
  .ops-home #copyConfig .skills-page-hero p { display: none; }
  .ops-home #copyConfig .cs-header-meta { min-width: 132px; }
  .ops-home #copyConfig .cs-workspace-tag,
  .ops-home #copyConfig .cs-inline-save-state,
  .ops-home #copyConfig .cs-header-meta > .feedback { display: none; }
  .ops-home #copyConfig .cs-hero-save { min-height: 38px; gap: 12px; padding: 0 12px; }
  .ops-home #copyConfig .cs-page-workspace { grid-template-columns: 1fr; }
  .ops-home #copyConfig .cs-page-workspace > header { min-height: 102px; border-right: 0; border-bottom: 1px solid #d6ddd8; }
  .ops-home #copyConfig .cs-entry-tabs { grid-template-columns: 1fr; }
  .ops-home #copyConfig .cs-page-blueprint { grid-template-columns: 1fr; }
  .ops-home #copyConfig .cs-page-blueprint > div { border-right: 0; border-bottom: 1px solid #e3e6e1; }
  .ops-home #copyConfig .cs-page-blueprint > div:last-child { border-bottom: 0; }
  .ops-home #copyConfig .cs-entry-rule-body { grid-template-columns: 1fr; }
  .ops-home #copyConfig .cs-rule-context { min-height: 180px; border-right: 0; border-bottom: 1px solid #d8ded9; }
  .ops-home #copyConfig .et-item-editable .et-fields { grid-template-columns: 1fr; padding-right: 76px; }
  .ops-home #copyConfig .et-item-editable .et-skill-spec[open] { grid-column: auto; }
}

@media (max-width: 600px) {
  .ops-home #copyConfig.copy-studio { margin-top: 10px; }
  .ops-home #copyConfig .skills-page-hero { padding: 24px 20px; }
  .ops-home #copyConfig .skills-page-hero h2 { margin-top: 13px; font-size: 25px; }
  .ops-home #copyConfig .cs-entry-tabs { padding: 10px; }
  .ops-home #copyConfig .cs-entry-tabs button { min-height: 76px; }
  .ops-home #copyConfig :is(#entryRulePanel,#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) > .cg-heading { align-items: flex-start; padding: 20px; }
  .ops-home #copyConfig .skills-panel-badge { display: none; }
  .ops-home #copyConfig .et-items { padding: 10px; }
  .ops-home #copyConfig .et-item-editable { grid-template-columns: 38px minmax(0,1fr) 32px 32px; padding: 13px; }
  .ops-home #copyConfig .et-item-editable .et-fields { grid-column: 1 / -1; grid-row: 2; padding-right: 0; }
  .ops-home #copyConfig .et-item-editable .et-enabled { top: 18px; }
  .ops-home #copyConfig .et-item-editable .et-card-actions { grid-column: 1 / 3; grid-row: 3; }
  .ops-home #copyConfig .et-item-editable button[data-tag-action='up'] { grid-column: 3; grid-row: 3; }
  .ops-home #copyConfig .et-item-editable button[data-tag-action='down'] { grid-column: 4; grid-row: 3; }
  .ops-home #copyConfig .et-children { grid-row: 4; margin-left: 0; }
  .ops-home #copyConfig .skills-page-hero { align-items: flex-start; flex-direction: column; }
  .ops-home #copyConfig .cs-header-meta { width: 100%; align-items: stretch; }
  .ops-home #copyConfig .cs-hero-save { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .ops-home #copyConfig .et-item-editable,
  .ops-home #copyConfig .cs-entry-tabs button { transition: none; }
}

/* Public pages mirror the public-home Skill library: context first, list left, one editor right. */
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .skills-page-hero {
  min-height: 154px;
  align-items: center;
  margin-bottom: 16px;
  padding: 30px 34px;
  border: 1px solid rgba(52,95,80,.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% -20%,rgba(174,139,81,.15),transparent 32%),
    linear-gradient(120deg,#eef5f0 0%,#fbfbf8 58%,#f6efe4 100%);
  box-shadow: 0 14px 36px rgba(35,54,44,.065);
}

.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .skills-page-hero::before {
  top: auto;
  right: -55px;
  bottom: -140px;
  width: 260px;
  height: 260px;
  border-color: rgba(56,95,79,.12);
  box-shadow: inset 0 0 0 35px rgba(56,95,79,.025);
}

.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .skills-page-hero::after { display: none; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-eyebrow { color: var(--wb-gold); }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-eyebrow > span { background: var(--wb-gold); }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-eyebrow b { color: #a7afa9; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .skills-page-hero h2 { margin: 12px 0 7px; color: var(--wb-ink); font-size: 28px; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .skills-page-hero h2 > span { color: var(--wb-gold); }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .skills-page-hero p { color: #748078; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-workspace-tag {
  border-color: rgba(52,95,80,.14);
  background: rgba(255,255,255,.72);
  color: var(--wb-forest);
}
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-inline-save-state { color: #77837c; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-hero-save { border-color: var(--wb-forest); background: var(--wb-forest); color: #fff; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-header-meta > .feedback { color: #607269; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-header-meta > .feedback.error { color: var(--wb-danger); }

.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .content-flow-nav {
  margin-bottom: 16px;
  border: 1px solid var(--wb-line);
  border-radius: 14px;
  background: rgba(255,253,250,.78);
  box-shadow: 0 7px 22px rgba(35,54,44,.04);
}

.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-page-entry-map { margin-bottom: 16px; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-page-workspace { min-height: 108px; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-page-workspace > header { min-height: 108px; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-entry-tabs button { min-height: 76px; }
.ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .cs-page-blueprint { display: none; }

/* “More Moments Copy”: content directions use a single-item workbench. */
.ops-home #copyConfig[data-skill-page='creation'] #contentDirectionsEditor { overflow: hidden; }
.ops-home #copyConfig[data-skill-page='creation'] #contentDirectionList { display: block; padding: 0; }
.ops-home #copyConfig[data-skill-page='acquisition'] #contentGoalsEditor { overflow: hidden; }
.ops-home #copyConfig[data-skill-page='acquisition'] #contentGoalList { display: block; width: 100%; padding: 0; }
.ops-home #copyConfig .cg-master-detail {
  width: 100%;
  display: grid;
  grid-template-columns: 370px minmax(0,1fr);
  min-height: 560px;
}
.ops-home #copyConfig .cg-master-list {
  border-right: 1px solid #dce4df;
  background: linear-gradient(180deg,#f8faf8 0%,#f3f7f4 100%);
}
.ops-home #copyConfig .cg-master-list > header,
.ops-home #copyConfig .et-master-list > header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #dce5df;
  background: linear-gradient(120deg,#f0f6f2,#fbfcfa);
}
.ops-home #copyConfig .cg-master-list > header small,
.ops-home #copyConfig .et-master-list > header small { display: block; color: var(--wb-gold); font-size: 9px; font-weight: 750; letter-spacing: .16em; }
.ops-home #copyConfig .cg-master-list > header strong,
.ops-home #copyConfig .et-master-list > header strong { display: block; margin-top: 5px; color: var(--wb-ink); font-size: 17px; }
.ops-home #copyConfig .cg-master-list > header > span,
.ops-home #copyConfig .et-master-list > header > span { padding: 5px 8px; border-radius: 999px; background: #e8efeb; color: #6d7d74; font-size: 10px; }
.ops-home #copyConfig .cg-nav-list,
.ops-home #copyConfig .et-master-nav { display: grid; gap: 7px; max-height: 488px; overflow: auto; padding: 14px; scrollbar-width: thin; }
.ops-home #copyConfig .cg-nav-item,
.ops-home #copyConfig .et-master-nav > button {
  display: grid;
  width: 100%;
  grid-template-columns: 42px minmax(0,1fr) 8px 24px;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 10px 11px;
  border: 1px solid #e0e7e2;
  border-radius: 11px;
  background: rgba(255,255,255,.7);
  color: var(--wb-text);
  text-align: left;
  transition: border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
}
.ops-home #copyConfig .cg-nav-item:hover,
.ops-home #copyConfig .et-master-nav > button:hover { border-color: #cbd9d1; background: #fff; box-shadow: 0 7px 16px rgba(38,64,50,.06); transform: translateY(-1px); }
.ops-home #copyConfig .cg-nav-item[aria-current='true'],
.ops-home #copyConfig .et-master-nav > button[aria-current='true'] { border-color: #a9c5b5; background: linear-gradient(135deg,#eaf3ee,#f9fbf9); box-shadow: inset 3px 0 #3f6d5b,0 8px 20px rgba(38,64,50,.075); }
.ops-home #copyConfig .cg-nav-item > span:first-child,
.ops-home #copyConfig .et-master-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #d7e2db; border-radius: 10px; background: linear-gradient(145deg,#f9fbfa,#eef4f0); color: var(--wb-forest-2); font-size: 14px; font-weight: 700; }
.ops-home #copyConfig .cg-nav-item > span:nth-child(2),
.ops-home #copyConfig .et-master-nav > button > span:nth-child(2) { min-width: 0; }
.ops-home #copyConfig .cg-nav-item strong,
.ops-home #copyConfig .cg-nav-item small,
.ops-home #copyConfig .et-master-nav strong,
.ops-home #copyConfig .et-master-nav small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-home #copyConfig .cg-nav-item strong,
.ops-home #copyConfig .et-master-nav strong { color: var(--wb-ink); font-size: 13px; font-weight: 680; }
.ops-home #copyConfig .cg-nav-item small,
.ops-home #copyConfig .et-master-nav small { margin-top: 4px; color: var(--wb-muted); font-size: 10px; }
.ops-home #copyConfig .cg-nav-item > i,
.ops-home #copyConfig .et-master-nav > button > i { width: 7px; height: 7px; border-radius: 50%; background: #c7cfca; }
.ops-home #copyConfig .cg-nav-item > i.is-on,
.ops-home #copyConfig .et-master-nav > button > i.is-on { background: #638a75; box-shadow: 0 0 0 3px rgba(99,138,117,.1); }
.ops-home #copyConfig .cg-nav-item > b,
.ops-home #copyConfig .et-master-nav > button > b { color: #a0aaa4; font: 650 9px ui-monospace,monospace; text-align: right; }
.ops-home #copyConfig .cg-master-editor { width: 100%; min-width: 0; background: #fff; }
.ops-home #copyConfig .cg-master-editor .cg-detail-card { min-height: 100%; padding: 24px 26px; border: 0; border-radius: 0; }
.ops-home #copyConfig .cg-master-editor .cg-detail-card > header { min-height: 54px; margin: -24px -26px 24px; padding: 18px 26px; border-bottom: 1px solid var(--wb-line); background: #fcfdfc; }
.ops-home #copyConfig .cg-master-editor .cg-fields { grid-template-columns: minmax(180px,.7fr) minmax(260px,1.3fr); }
.ops-home #copyConfig .cg-master-editor textarea { min-height: 320px; }
.ops-home #copyConfig .cg-empty,
.ops-home #copyConfig .et-master-empty { display: grid; min-height: 520px; place-items: center; color: var(--wb-muted); font-size: 13px; }

/* “Today”: scene Skills use the same library/detail pattern. */
.ops-home #copyConfig[data-skill-page='home'] #entryTagsPanel { overflow: hidden; }
.ops-home #copyConfig[data-skill-page='home'] #entryTagGroups { display: block; }
.ops-home #copyConfig .et-master-detail { display: grid; grid-template-columns: 390px minmax(0,1fr); min-height: 650px; border: 0; border-radius: 0; }
.ops-home #copyConfig .et-master-list { display: flex; min-width: 0; flex-direction: column; border-right: 1px solid #dce4df; background: linear-gradient(180deg,#f8faf8 0%,#f3f7f4 100%); }
.ops-home #copyConfig .et-master-nav { max-height: 530px; }
.ops-home #copyConfig .et-master-add { display: flex; min-height: 42px; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 8px; margin: auto 14px 14px; border: 1px dashed #afc0b5; border-radius: 10px; background: rgba(255,255,255,.72); color: var(--wb-forest-2); font-size: 11px; }
.ops-home #copyConfig .et-master-add span { font-size: 16px; }
.ops-home #copyConfig .et-master-add small { width: 100%; color: var(--wb-muted); font-size: 9px; font-weight: 500; }
.ops-home #copyConfig .et-master-editor { min-width: 0; background: #fff; }
.ops-home #copyConfig .et-master-editor > .et-item-editable { display: block; min-height: 100%; padding: 0; border: 0; border-radius: 0; background: #fff; }
.ops-home #copyConfig .et-master-editor > .et-item-editable::before { display: none; }
.ops-home #copyConfig .et-master-editor-head { display: flex; min-height: 82px; align-items: center; gap: 13px; padding: 0 24px; border-bottom: 1px solid var(--wb-line); background: #fcfdfc; }
.ops-home #copyConfig .et-master-editor-head .et-order { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: var(--wb-mint); color: var(--wb-forest-2); }
.ops-home #copyConfig .et-master-editor-head > div { min-width: 0; }
.ops-home #copyConfig .et-master-editor-head small { display: block; color: var(--wb-muted); font-size: 9px; }
.ops-home #copyConfig .et-master-editor-head strong { display: block; margin-top: 4px; color: var(--wb-ink); font-size: 18px; }
.ops-home #copyConfig .et-master-editor-head .et-enabled { position: static; margin: 0 0 0 auto; font-size: 11px; }
.ops-home #copyConfig .et-master-editor > .et-item-editable > .et-fields { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; padding: 22px 24px 0; }
.ops-home #copyConfig .et-master-editor .et-fields > label:first-child { max-width: 440px; }
.ops-home #copyConfig .et-master-editor .et-skill-spec { margin: 0; border: 1px solid #dbe2dd; border-radius: 10px; background: #f8faf8; }
.ops-home #copyConfig .et-master-editor .et-skill-spec > summary { min-height: 44px; padding: 0 13px; line-height: 44px; }
.ops-home #copyConfig .et-master-editor .et-fields .et-skill-content textarea[data-tag-skill-content] { height: clamp(300px,42vh,480px); min-height: 300px; }
.ops-home #copyConfig .et-master-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 24px; border-top: 1px solid #edf0ed; }
.ops-home #copyConfig .et-master-actions > div { display: flex; gap: 7px; }
.ops-home #copyConfig .et-master-editor .et-master-actions button { width: auto; min-width: 72px; height: 34px; padding: 0 10px; font-size: 10px; }
.ops-home #copyConfig .et-master-editor .et-master-actions .et-remove { color: var(--wb-danger); }
.ops-home #copyConfig .et-master-editor .et-children { margin: 0 24px 24px; }

@media (max-width: 1080px) {
  .ops-home #copyConfig .cg-master-detail,
  .ops-home #copyConfig .et-master-detail { grid-template-columns: 320px minmax(0,1fr); }
}

@media (max-width: 820px) {
  .ops-home #copyConfig:is([data-skill-page='home'],[data-skill-page='creation']) .skills-page-hero { padding: 25px 22px; }
  .ops-home #copyConfig .cg-master-detail,
  .ops-home #copyConfig .et-master-detail { grid-template-columns: 1fr; }
  .ops-home #copyConfig .cg-master-list,
  .ops-home #copyConfig .et-master-list { border-right: 0; border-bottom: 1px solid #dce4df; }
  .ops-home #copyConfig .cg-nav-list,
  .ops-home #copyConfig .et-master-nav { max-height: 270px; }
  .ops-home #copyConfig .cg-master-editor .cg-fields { grid-template-columns: 1fr; }
}

/* Private workspace pages use the same calm header and task-first hierarchy. */
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .skills-page-hero {
  min-height: 154px;
  align-items: center;
  margin-bottom: 16px;
  padding: 30px 34px;
  border: 1px solid rgba(52,95,80,.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% -20%,rgba(174,139,81,.15),transparent 32%),
    linear-gradient(120deg,#eef5f0 0%,#fbfbf8 58%,#f6efe4 100%);
  box-shadow: 0 14px 36px rgba(35,54,44,.065);
}
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .skills-page-hero::before { top: auto; right: -55px; bottom: -140px; width: 260px; height: 260px; border-color: rgba(56,95,79,.12); box-shadow: inset 0 0 0 35px rgba(56,95,79,.025); }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .skills-page-hero::after { display: none; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-eyebrow { color: var(--wb-gold); }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-eyebrow > span { background: var(--wb-gold); }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-eyebrow b { color: #a7afa9; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .skills-page-hero h2 { margin: 12px 0 7px; color: var(--wb-ink); font-size: 28px; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .skills-page-hero h2 > span { color: var(--wb-gold); }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .skills-page-hero p { color: #748078; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-workspace-tag { border-color: rgba(52,95,80,.14); background: rgba(255,255,255,.72); color: var(--wb-forest); }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-inline-save-state { color: #77837c; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-hero-save { border-color: var(--wb-forest); background: var(--wb-forest); color: #fff; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-header-meta > .feedback { color: #607269; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-header-meta > .feedback.error { color: var(--wb-danger); }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .content-flow-nav { margin-bottom: 16px; border: 1px solid var(--wb-line); border-radius: 14px; background: rgba(255,253,250,.78); box-shadow: 0 7px 22px rgba(35,54,44,.04); }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-page-entry-map { margin-bottom: 16px; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-page-workspace,
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-page-workspace > header { min-height: 108px; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-entry-tabs button { min-height: 76px; }
.ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .cs-page-blueprint { display: none; }

/* Private flow options: choose a group and option on the left, edit one Prompt on the right. */
.ops-home #copyConfig[data-skill-page='acquisition'] #entryTagsPanel { overflow: hidden; }
.ops-home #copyConfig .et-prompt-workbench { display: grid; grid-template-columns: 390px minmax(0,1fr); min-height: 570px; }
.ops-home #copyConfig .et-prompt-library { min-width: 0; border-right: 1px solid #dce4df; background: linear-gradient(180deg,#f8faf8 0%,#f3f7f4 100%); }
.ops-home #copyConfig .et-prompt-library > header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #dce5df; background: linear-gradient(120deg,#f0f6f2,#fbfcfa); }
.ops-home #copyConfig .et-prompt-library > header small { display: block; color: var(--wb-gold); font-size: 9px; font-weight: 750; letter-spacing: .16em; }
.ops-home #copyConfig .et-prompt-library > header strong { display: block; margin-top: 5px; color: var(--wb-ink); font-size: 17px; }
.ops-home #copyConfig .et-prompt-library > header > span { padding: 5px 8px; border-radius: 999px; background: #e8efeb; color: #6d7d74; font-size: 10px; }
.ops-home #copyConfig .et-prompt-groups { display: flex; gap: 6px; padding: 12px 14px; overflow-x: auto; border-bottom: 1px solid #e3e8e4; scrollbar-width: thin; }
.ops-home #copyConfig .et-prompt-groups button { display: inline-flex; min-width: max-content; min-height: 34px; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #dfe5e1; border-radius: 8px; background: rgba(255,255,255,.72); color: #68766f; font-size: 10px; }
.ops-home #copyConfig .et-prompt-groups button b { min-width: 18px; padding: 2px 5px; border-radius: 999px; background: #edf1ee; color: #87928c; font-size: 9px; }
.ops-home #copyConfig .et-prompt-groups button[aria-current='true'] { border-color: #abc2b4; background: #e8f1eb; color: var(--wb-forest); font-weight: 700; }
.ops-home #copyConfig .et-prompt-groups button[aria-current='true'] b { background: #fff; color: var(--wb-forest-2); }
.ops-home #copyConfig .et-prompt-library .et-master-nav { max-height: 430px; }
.ops-home #copyConfig .et-prompt-editor { min-width: 0; background: #fff; }
.ops-home #copyConfig .et-prompt-editor > .et-item-prompt { display: block; min-height: 100%; padding: 0; border: 0; background: #fff; }
.ops-home #copyConfig .et-prompt-editor .et-master-editor-head .et-enabled { position: static; margin: 0 0 0 auto; }
.ops-home #copyConfig .et-prompt-field { display: grid; gap: 9px; padding: 24px 26px; color: #41554b; font-size: 12px; font-weight: 680; }
.ops-home #copyConfig .et-prompt-field > span { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.ops-home #copyConfig .et-prompt-field > span small { color: var(--wb-muted); font-size: 10px; font-weight: 450; }
.ops-home #copyConfig .et-prompt-field textarea { box-sizing: border-box; width: 100%; min-height: 360px; padding: 17px 18px; border: 1px solid #d8dfda; border-radius: 10px; outline: 0; background: #f8faf8; color: #34453d; font: 13px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace; resize: vertical; }
.ops-home #copyConfig .et-prompt-field textarea:focus { border-color: #8ca697; background: #fff; box-shadow: 0 0 0 3px rgba(35,89,74,.07); }
.ops-home #copyConfig .et-prompt-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 26px; border-top: 1px solid var(--wb-line); background: #fafbfa; }
.ops-home #copyConfig .et-prompt-actions > span { color: var(--wb-muted); font-size: 10px; }
.ops-home #copyConfig .et-prompt-actions > div { display: flex; gap: 7px; }
.ops-home #copyConfig .et-prompt-actions button { width: auto; min-width: 72px; height: 34px; padding: 0 10px; border: 1px solid #dce3de; border-radius: 8px; background: #fff; color: #61736a; font-size: 10px; }

@media (max-width: 1080px) {
  .ops-home #copyConfig .et-prompt-workbench { grid-template-columns: 320px minmax(0,1fr); }
}

@media (max-width: 820px) {
  .ops-home #copyConfig:is([data-skill-page='acquisition'],[data-skill-page='reply']) .skills-page-hero { padding: 25px 22px; }
  .ops-home #copyConfig .et-prompt-workbench { grid-template-columns: 1fr; }
  .ops-home #copyConfig .et-prompt-library { border-right: 0; border-bottom: 1px solid #dce4df; }
  .ops-home #copyConfig .et-prompt-library .et-master-nav { max-height: 260px; }
  .ops-home #copyConfig .et-prompt-field > span,
  .ops-home #copyConfig .et-prompt-actions { align-items: flex-start; flex-direction: column; }
}

/* Reply assistant: one compact flow from base rule to tag assembly. */
.ops-home #copyConfig[data-skill-page='reply'] #entryRulePanel {
  position: relative;
  border-color: #d7e1db;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(34,52,44,.065);
}

.ops-home #copyConfig[data-skill-page='reply'] #entryRulePanel > .cg-heading {
  min-height: 92px;
  padding: 20px 28px;
  background:
    radial-gradient(circle at 90% -35%,rgba(177,137,76,.16),transparent 32%),
    linear-gradient(110deg,#fffdfa,#f5f8f5);
}

.ops-home #copyConfig[data-skill-page='reply'] #entryRulePanel > .cg-heading::after {
  position: absolute;
  bottom: -1px;
  left: 28px;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: var(--wb-gold);
  content: '';
}

.ops-home #copyConfig[data-skill-page='reply'] #entryRulePanel .skills-panel-badge {
  padding: 8px 13px;
  border-color: #c9dbd0;
  background: rgba(236,245,239,.86);
  font-weight: 700;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-entry-rule-body {
  grid-template-columns: 310px minmax(0,1fr);
  min-height: 0;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-context {
  position: relative;
  min-height: 244px;
  gap: 16px;
  padding: 22px 24px;
  overflow: hidden;
  border-right-color: rgba(22,67,53,.18);
  background:
    radial-gradient(circle at 115% -10%,rgba(222,187,125,.24),transparent 40%),
    linear-gradient(145deg,#1b493d 0%,#245f4e 100%);
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-context::after {
  position: absolute;
  right: -64px;
  bottom: -82px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(255,255,255,.025);
  content: '';
  pointer-events: none;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-context > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(226,192,130,.5);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  color: #e8c98f;
  font-size: 11px;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-context strong {
  font-size: 22px;
  letter-spacing: -.025em;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-context p {
  max-width: 238px;
  margin-top: 8px;
  color: rgba(245,249,246,.7);
  font-size: 11px;
  line-height: 1.8;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-chips {
  position: relative;
  z-index: 1;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-chips span {
  padding: 7px 10px;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.085);
  color: rgba(255,255,255,.82);
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-editor {
  gap: 9px;
  padding: 21px 26px 20px;
  background: linear-gradient(145deg,#fff 0%,#fbfcfa 100%);
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-editor > span {
  align-items: center;
  font-size: 12px;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-editor > span::before {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #6f9a86;
  box-shadow: 0 0 0 5px #edf4f0;
  content: '';
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-editor > span small { margin-left: auto; }

.ops-home #copyConfig[data-skill-page='reply'] #copyPrompt {
  height: 150px;
  min-height: 150px;
  flex: none;
  padding: 18px 20px;
  border-color: #d5ded8;
  border-radius: 13px;
  background: #f8faf8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
  font-size: 14px;
  line-height: 1.75;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-editor > small {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #89958e;
  font-size: 10px;
}

.ops-home #copyConfig[data-skill-page='reply'] .cs-rule-editor > small::before {
  color: #b08a51;
  content: '◆';
  font-size: 6px;
}

.ops-home #copyConfig[data-skill-page='reply'] #skillsThemeTags {
  margin-top: 18px;
  padding: 0;
  overflow: hidden;
  border-color: #d7e1db;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(34,52,44,.06);
}

.ops-home #copyConfig[data-skill-page='reply'] #skillsThemeTags .theme-tag-manager { gap: 0; }

.ops-home #copyConfig[data-skill-page='reply'] #skillsThemeTags .theme-tag-manager-head {
  min-height: 88px;
  padding: 20px 26px;
  border-bottom: 1px solid #e1e7e3;
  background:
    radial-gradient(circle at 88% -45%,rgba(177,137,76,.12),transparent 35%),
    linear-gradient(110deg,#f6faf7,#fffdfa);
}

.ops-home #copyConfig[data-skill-page='reply'] #skillsThemeTags .theme-tag-manager-head span { color: var(--wb-gold); }
.ops-home #copyConfig[data-skill-page='reply'] #skillsThemeTags .theme-tag-manager-head h3 { margin-top: 6px; font-size: 21px; }
.ops-home #copyConfig[data-skill-page='reply'] #skillsThemeTags .theme-tag-manager-head p { max-width: 520px; }

.ops-home #copyConfig[data-skill-page='reply'] .theme-prompt-assembly {
  grid-template-columns: minmax(250px,320px) minmax(0,1fr);
  gap: 14px 18px;
  margin: 20px 22px;
  padding: 19px 20px;
  border-color: #d6e1da;
  border-radius: 14px;
  background: linear-gradient(135deg,#f4f8f5 0%,#fffdf9 100%);
}

.ops-home #copyConfig[data-skill-page='reply'] .theme-prompt-assembly > header { grid-column: 1 / -1; }
.ops-home #copyConfig[data-skill-page='reply'] .theme-prompt-assembly h4 { font-size: 16px; }
.ops-home #copyConfig[data-skill-page='reply'] .theme-prompt-assembly-controls { grid-column: 1; grid-template-columns: 1fr; align-content: start; }

.ops-home #copyConfig[data-skill-page='reply'] .theme-prompt-assembly-controls select {
  min-height: 44px;
  border-radius: 9px;
  font-size: 13px;
}

.ops-home #copyConfig[data-skill-page='reply'] .theme-prompt-assembly-preview {
  grid-column: 2;
  min-height: 96px;
  max-height: 190px;
  padding: 15px 17px;
  border-color: rgba(255,255,255,.08);
  border-radius: 10px;
  background: linear-gradient(145deg,#243c32,#1e332a);
  box-shadow: 0 9px 22px rgba(29,51,42,.13);
}

.ops-home #copyConfig[data-skill-page='reply'] #themeTagGroups { margin: 0 22px 20px; }

.ops-home #copyConfig[data-skill-page='reply'] #themeTagGroups .theme-tag-group {
  border-color: #dbe4de;
  border-radius: 14px;
  background: #fff;
}

.ops-home #copyConfig[data-skill-page='reply'] #themeTagGroups .theme-tag-group > header { padding: 14px 17px; }

.ops-home #copyConfig[data-skill-page='reply'] .skills-theme-tags-savebar {
  margin: 0;
  padding: 17px 22px;
  border: 0;
  border-top: 1px solid #dde5e0;
  border-radius: 0;
  background: #f5f8f6;
}

@media (max-width: 820px) {
  .ops-home #copyConfig[data-skill-page='reply'] .cs-entry-rule-body,
  .ops-home #copyConfig[data-skill-page='reply'] .theme-prompt-assembly { grid-template-columns: 1fr; }
  .ops-home #copyConfig[data-skill-page='reply'] .cs-rule-context { min-height: 210px; border-right: 0; }
  .ops-home #copyConfig[data-skill-page='reply'] #copyPrompt { height: 190px; }
  .ops-home #copyConfig[data-skill-page='reply'] .theme-prompt-assembly-controls,
  .ops-home #copyConfig[data-skill-page='reply'] .theme-prompt-assembly-preview { grid-column: 1; }
  .ops-home #copyConfig[data-skill-page='reply'] #skillsThemeTags .theme-tag-manager-head { align-items: flex-start; flex-direction: column; }
  .ops-home #copyConfig[data-skill-page='reply'] #skillsThemeTags .theme-tag-manager-head p { text-align: left; }
}

/* Global guardrails: policy summary and focused rule editor. */
.ops-home #copyConfig #globalSkillsPanel {
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d6e0da;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(34,52,44,.065);
}

.ops-home #copyConfig #globalSkillsPanel > header {
  position: relative;
  min-height: 118px;
  padding: 25px 28px;
  border-bottom: 1px solid #dfe6e1;
  background:
    radial-gradient(circle at 87% -60%,rgba(177,137,76,.18),transparent 36%),
    linear-gradient(115deg,#f5faf6 0%,#fffdfa 70%);
}

.ops-home #copyConfig #globalSkillsPanel > header::after {
  position: absolute;
  bottom: -1px;
  left: 28px;
  width: 58px;
  height: 3px;
  border-radius: 999px;
  background: var(--wb-gold);
  content: '';
}

.ops-home #copyConfig #globalSkillsPanel > header > div:first-child > span {
  color: var(--wb-gold);
  font-size: 9px;
  letter-spacing: .2em;
}

.ops-home #copyConfig #globalSkillsPanel > header h3 {
  margin-top: 8px;
  font-size: 24px;
  letter-spacing: -.035em;
}

.ops-home #copyConfig #globalSkillsPanel > header p {
  max-width: 760px;
  margin-top: 8px;
  font-size: 12px;
}

.ops-home #copyConfig .cs-global-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ops-home #copyConfig .cs-global-header-actions > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid #d8e2dc;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #65766e;
  font-size: 10px;
  white-space: nowrap;
}

.ops-home #copyConfig .cs-global-header-actions > span i,
.ops-home #copyConfig .cs-global-prompt-editor > footer > span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6e9a85;
  box-shadow: 0 0 0 4px rgba(110,154,133,.12);
}

.ops-home #copyConfig .cs-global-header-actions .ghost-button {
  min-height: 42px;
  padding: 0 16px;
  border-color: #315e4f;
  background: #315e4f;
  color: #fff;
  font-size: 11px;
}

.ops-home #copyConfig .cs-global-skill-list {
  gap: 16px;
  margin: 0;
  padding: 22px;
  background: #f6f8f5;
}

.ops-home #copyConfig .cs-global-skill {
  display: grid;
  grid-template-columns: 330px minmax(0,1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-color: #d7e1db;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(40,61,50,.055);
}

.ops-home #copyConfig .cs-global-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-right: 1px solid #dbe4de;
  background:
    radial-gradient(circle at 110% 10%,rgba(185,143,76,.13),transparent 36%),
    linear-gradient(145deg,#edf5f0,#f8faf7);
}

.ops-home #copyConfig .cs-global-index {
  width: 42px;
  height: 42px;
  border: 1px solid #cddbd2;
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: #3f6858;
  font-size: 11px;
}

.ops-home #copyConfig .cs-global-identity { display: grid; gap: 8px; }
.ops-home #copyConfig .cs-global-identity > small { color: var(--wb-gold); font-size: 8px; font-weight: 750; letter-spacing: .18em; }
.ops-home #copyConfig .cs-global-identity label { display: grid; gap: 7px; }
.ops-home #copyConfig .cs-global-identity label > span { color: #78867e; font-size: 10px; font-weight: 680; }

.ops-home #copyConfig .cs-global-identity input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d3ded7;
  border-radius: 10px;
  outline: 0;
  background: rgba(255,255,255,.86);
  color: var(--wb-ink);
  font-size: 14px;
  font-weight: 680;
}

.ops-home #copyConfig .cs-global-identity input:focus,
.ops-home #copyConfig .cs-global-prompt-editor textarea:focus {
  border-color: #85a292;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(55,100,81,.07);
}

.ops-home #copyConfig .cs-global-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 12px 13px;
  border: 1px solid #d8e2dc;
  border-radius: 11px;
  background: rgba(255,255,255,.72);
  color: #53685e;
}

.ops-home #copyConfig .cs-global-toggle input { width: 18px; height: 18px; margin: 0; accent-color: var(--wb-forest-2); }
.ops-home #copyConfig .cs-global-toggle span { display: grid; gap: 3px; }
.ops-home #copyConfig .cs-global-toggle b { font-size: 11px; }
.ops-home #copyConfig .cs-global-toggle small { color: #89958e; font-size: 9px; font-weight: 450; }

.ops-home #copyConfig .cs-global-prompt-editor {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr auto;
  gap: 13px;
  padding: 23px 25px 19px;
  background: linear-gradient(145deg,#fff,#fbfcfa);
}

.ops-home #copyConfig .cs-global-prompt-editor > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.ops-home #copyConfig .cs-global-prompt-editor > header > div { display: grid; gap: 5px; }
.ops-home #copyConfig .cs-global-prompt-editor > header span { color: var(--wb-gold); font-size: 8px; font-weight: 750; letter-spacing: .18em; }
.ops-home #copyConfig .cs-global-prompt-editor > header strong { color: var(--wb-ink); font-size: 16px; }
.ops-home #copyConfig .cs-global-prompt-editor > header > small { color: #96a099; font-size: 9px; }

.ops-home #copyConfig .cs-global-prompt-editor textarea {
  box-sizing: border-box;
  width: 100%;
  height: 270px;
  min-height: 220px;
  padding: 17px 18px;
  border: 1px solid #d4ddd7;
  border-radius: 12px;
  outline: 0;
  background: #f7f9f7;
  color: #32473d;
  font: 13px/1.75 ui-monospace,SFMono-Regular,Menlo,monospace;
  resize: vertical;
}

.ops-home #copyConfig .cs-global-prompt-editor > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ops-home #copyConfig .cs-global-prompt-editor > footer > span { display: inline-flex; align-items: center; gap: 8px; color: #7d8b83; font-size: 9px; }
.ops-home #copyConfig .cs-global-prompt-editor > footer button { border: 0; background: transparent; color: #a56c64; font-size: 10px; }
.ops-home #copyConfig .cs-global-prompt-editor > footer button:hover:not(:disabled) { color: #8f4942; }

@media (max-width: 920px) {
  .ops-home #copyConfig #globalSkillsPanel > header,
  .ops-home #copyConfig .cs-global-header-actions { align-items: flex-start; flex-direction: column; }
  .ops-home #copyConfig .cs-global-skill { grid-template-columns: 1fr; }
  .ops-home #copyConfig .cs-global-summary { border-right: 0; border-bottom: 1px solid #dbe4de; }
  .ops-home #copyConfig .cs-global-prompt-editor textarea { height: 320px; }
}
