/*
 * Content Workbench 2026 — complete visual reset.
 * A high-legibility editorial system for long operational sessions.
 */

:root {
  --r-ink: #1f2925;
  --r-text: #46534d;
  --r-muted: #738079;
  --r-faint: #9aa39e;
  --r-page: #f4f1ea;
  --r-card: #fffdf9;
  --r-card-strong: #ffffff;
  --r-soft: #f1f4ef;
  --r-line: #dddeda;
  --r-line-strong: #c8cec8;
  --r-forest: #173a30;
  --r-forest-2: #245345;
  --r-sage: #6f8e7f;
  --r-mint: #e5eee8;
  --r-gold: #b18449;
  --r-gold-soft: #f3e9d7;
  --r-rose: #a9645f;
  --r-shadow-sm: 0 1px 2px rgba(31, 41, 37, .035), 0 5px 16px rgba(31, 41, 37, .035);
  --r-shadow-md: 0 14px 38px rgba(31, 41, 37, .075);
  --r-radius-sm: 8px;
  --r-radius: 12px;
  --r-radius-lg: 18px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--r-ink);
  background: var(--r-page);
}

html { background: var(--r-page); }
body { color: var(--r-ink); background: var(--r-page); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { letter-spacing: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(111, 142, 127, .28);
  outline-offset: 2px;
}

/* Login */
body.signed-out .auth-panel {
  background:
    radial-gradient(circle at 78% 18%, rgba(177,132,73,.12), transparent 25%),
    radial-gradient(circle at 18% 85%, rgba(36,83,69,.12), transparent 30%),
    #f4f1ea;
}
body.signed-out .auth-panel form {
  max-width: 480px;
  padding: 52px;
  border: 1px solid rgba(23,58,48,.14);
  border-radius: 28px;
  background: rgba(255,253,249,.94);
  box-shadow: 0 28px 90px rgba(23,58,48,.14);
}
body.signed-out .auth-panel .eyebrow { font-size: 12px; letter-spacing: .18em; }
body.signed-out .auth-panel h1 { margin-top: 18px; font-size: 34px; font-weight: 720; }
body.signed-out .auth-panel h1 + p { margin-bottom: 32px; font-size: 15px; line-height: 1.7; }
body.signed-out .auth-panel label { gap: 10px; margin: 19px 0; font-size: 14px; }
body.signed-out .auth-panel input { height: 52px; padding: 0 16px; border-radius: 12px; font-size: 16px; }
body.signed-out .auth-panel .primary-button { min-height: 52px; border-radius: 12px; font-size: 15px; }

/* App shell */
.ops-home {
  --ui-ink: var(--r-ink);
  --ui-text: var(--r-text);
  --ui-muted: var(--r-muted);
  --ui-faint: var(--r-faint);
  --ui-line: var(--r-line);
  --ui-line-strong: var(--r-line-strong);
  --ui-page: var(--r-page);
  --ui-card: var(--r-card);
  --ui-soft: var(--r-soft);
  --ui-green: var(--r-forest-2);
  --ui-green-dark: var(--r-forest);
  --ui-green-soft: var(--r-mint);
  --ui-gold: var(--r-gold);
  --ui-gold-soft: var(--r-gold-soft);
  --ui-danger: var(--r-rose);
  min-width: 1080px;
  font-size: 15px;
}
.ops-home .app-shell { align-items: stretch; background: var(--r-page); }
.ops-home main {
  width: calc(100% - 300px);
  max-width: none;
  min-height: 100vh;
  margin: 0 0 0 300px;
  padding: 0 38px 72px;
  background:
    linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)),
    var(--r-page);
}

/* Sidebar */
.ops-home .sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 300px;
  min-width: 300px;
  height: 100vh;
  padding: 30px 20px 22px;
  color: #f6f2e9;
  background:
    radial-gradient(circle at 120% 8%, rgba(177,132,73,.18), transparent 29%),
    linear-gradient(180deg, #183a31 0%, #102a23 58%, #0d231d 100%);
  box-shadow: 10px 0 38px rgba(16,42,35,.09);
}
.ops-home .brand { gap: 14px; padding: 0 10px 28px; }
.ops-home .brand > span {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(239,211,167,.42);
  border-radius: 14px;
  background: linear-gradient(145deg, #bf9559, #8d6738);
  box-shadow: 0 9px 24px rgba(0,0,0,.2);
  font-size: 23px;
}
.ops-home .sidebar .brand strong { color: #f7f2e8 !important; font-size: 19px; font-weight: 720; letter-spacing: .12em; }
.ops-home .brand small { margin-top: 6px; color: rgba(242,237,226,.54); font-size: 10px; letter-spacing: .16em; }
.ops-home .sidebar nav { display: grid; gap: 7px; padding-right: 2px; scrollbar-color: rgba(255,255,255,.18) transparent; }
.ops-home .sidebar nav > a,
.ops-home .sidebar nav .nav-group > summary {
  min-height: 52px;
  height: auto;
  margin: 0;
  padding: 0 15px;
  border-radius: 13px;
  color: rgba(244,241,233,.68);
  font-size: 15px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.ops-home .sidebar nav > a:hover,
.ops-home .sidebar nav > a.active,
.ops-home .sidebar nav .nav-group > summary:hover,
.ops-home .sidebar nav .nav-group.has-current > summary {
  color: #fff;
  background: rgba(255,255,255,.09);
}
.ops-home .sidebar nav > a:hover,
.ops-home .sidebar nav .nav-group > summary:hover { transform: translateX(2px); }
.ops-home .sidebar nav a.active::before {
  left: -20px;
  width: 4px;
  height: 28px;
  background: #d2a86b;
  box-shadow: 0 0 18px rgba(210,168,107,.42);
}
.ops-home .sidebar nav svg { width: 24px; height: 24px; stroke-width: 1.65; }
.ops-home .sidebar nav i { color: rgba(227,203,165,.8); }
.ops-home .sidebar nav .nav-group > summary b { color: rgba(244,241,233,.5); }

.ops-home .sidebar nav .skills-page-tree {
  gap: 7px;
  margin: 8px 0 13px 16px;
  padding: 2px 0 2px 12px;
  border-left: 1px solid rgba(225,202,163,.2);
}
.ops-home .skills-page-tree > details {
  border: 0;
  border-radius: 11px;
  background: transparent;
}
.ops-home .skills-page-tree > details[open] { background: rgba(255,255,255,.055); }
.ops-home .skills-page-tree > details > summary {
  grid-template-columns: 30px 1fr 18px;
  min-height: 46px;
  padding: 0 10px;
  color: rgba(244,241,233,.76);
}
.ops-home .skills-page-tree > details > summary span { color: #d4b47f; font-size: 11px; }
.ops-home .skills-page-tree > details > summary strong { font-size: 14px; font-weight: 650; }
.ops-home .skills-page-tree > details > summary i { color: rgba(244,241,233,.46); font-size: 13px; }
.ops-home .skills-page-tree > .skills-nav-direct-group { border-radius: 11px; background: transparent; }
.ops-home .sidebar nav .skills-page-tree > .skills-nav-direct-group > a {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 46px;
  grid-template-columns: 30px minmax(0,1fr) 18px;
  align-items: center;
  gap: 0;
  padding: 0 10px;
  border-radius: 11px;
  color: rgba(244,241,233,.76);
  font-size: 14px;
  font-weight: 650;
}
.ops-home .sidebar nav .skills-page-tree > .skills-nav-direct-group > a:hover,
.ops-home .sidebar nav .skills-page-tree > .skills-nav-direct-group > a.active { color: #fff; background: rgba(255,255,255,.09); }
.ops-home .skills-nav-direct-group > a > span { color: #d4b47f; font: 700 11px Georgia,serif; }
.ops-home .skills-nav-direct-group > a > i { width: auto; height: auto; color: rgba(244,241,233,.46); font-size: 13px; font-style: normal; }
.ops-home .sidebar nav .skills-page-tree > .skills-nav-direct-group > a.active::before { left: -13px; height: 22px; }
.ops-home .skills-page-tree > details > div { gap: 3px; padding: 0 7px 9px 40px; }
.ops-home .sidebar nav .skills-page-tree > details > div > a {
  min-height: 37px;
  height: auto;
  padding: 0 9px;
  border-radius: 8px;
  color: rgba(244,241,233,.56);
  font-size: 13px;
  font-weight: 520;
}
.ops-home .sidebar nav .skills-page-tree > details > div > a:hover,
.ops-home .sidebar nav .skills-page-tree > details > div > a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.ops-home .skills-page-tree a b {
  min-width: 20px;
  height: 20px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.72);
  font-size: 10px;
}
.ops-home .engine-card {
  margin: auto 2px 16px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}
.ops-home .sidebar .engine-card strong { color: #f4efe6 !important; font-size: 13px; }
.ops-home .engine-card small { margin-top: 4px; color: rgba(255,255,255,.48); font-size: 11px; }
.ops-home .sidebar-user { padding: 18px 8px 0; border-color: rgba(255,255,255,.1); }
.ops-home .sidebar-user .avatar { width: 38px; height: 38px; background: #b1834a; }
.ops-home .sidebar .sidebar-user strong { color: #f4efe6 !important; font-size: 13px; }
.ops-home .sidebar-user small { color: rgba(255,255,255,.46); font-size: 11px; }

/* Top navigation */
.ops-home .topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  height: 82px;
  padding: 0 2px;
  color: var(--r-muted);
  background: rgba(244,241,234,.9);
  backdrop-filter: blur(20px);
}
.ops-home .topbar::after { background: rgba(31,41,37,.1); }
.ops-home .topbar > div:first-child { padding-left: 18px; font-size: 13px; }
.ops-home .topbar > div:first-child::before { width: 4px; background: linear-gradient(var(--r-gold), var(--r-forest-2)); }
.ops-home .topbar > div:first-child > span,
.ops-home .topbar > div:first-child > b { color: var(--r-faint); }
.ops-home .topbar strong { font-size: 20px; font-weight: 720; letter-spacing: -.02em; }
.ops-home .workspace-toolbar { gap: 10px; }
.ops-home .workspace-toolbar select {
  min-width: 180px;
  height: 42px;
  padding: 0 36px 0 13px;
  border-color: var(--r-line);
  border-radius: 10px;
  background: rgba(255,253,249,.9);
  color: var(--r-text);
  font-size: 13px;
}
.ops-home .workspace-toolbar #currentUser { max-width: 180px; overflow: hidden; color: var(--r-text); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ops-home .topbar .ghost-button {
  min-width: 78px;
  height: 42px;
  padding: 0 14px;
  border-color: var(--r-line);
  border-radius: 10px;
  background: rgba(255,253,249,.86);
  color: var(--r-text);
  font-size: 13px;
  box-shadow: none;
}

/* Shared type and controls */
.ops-home .eyebrow,
.ops-home .content-suite-kicker,
.ops-home .cs-eyebrow,
.ops-home .members-section-kicker,
.ops-home .members-dialog-kicker,
.ops-home .model-head-kicker {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
}
.ops-home .ghost-button,
.ops-home .small-button,
.ops-home .primary-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}
.ops-home .primary-button,
.ops-home .small-button:not(.secondary) {
  background: var(--r-forest);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23,58,48,.16);
}
.ops-home .ghost-button,
.ops-home .small-button.secondary {
  border: 1px solid var(--r-line);
  background: #fff;
  color: var(--r-text);
  box-shadow: none;
}
.ops-home .primary-button:hover,
.ops-home .small-button:not(.secondary):hover { background: var(--r-forest-2); transform: translateY(-1px); }
.ops-home .ghost-button:hover,
.ops-home .small-button.secondary:hover { border-color: var(--r-line-strong); color: var(--r-forest); }
.ops-home input,
.ops-home select,
.ops-home textarea { font-size: 15px; }
.ops-home input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.ops-home select {
  min-height: 46px;
  padding-right: 13px;
  padding-left: 13px;
  border-color: var(--r-line);
  border-radius: 10px;
  background: #fbfcfa;
  color: var(--r-ink);
}
.ops-home textarea {
  padding: 13px 15px;
  border-color: var(--r-line);
  border-radius: 10px;
  background: #fbfcfa;
  color: var(--r-ink);
  line-height: 1.7;
}
.ops-home input:focus,
.ops-home select:focus,
.ops-home textarea:focus {
  border-color: var(--r-sage) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(111,142,127,.12) !important;
}
.ops-home .feedback { font-size: 13px; line-height: 1.6; }
.ops-home .empty { padding: 54px 28px; color: var(--r-muted); font-size: 14px; }

/* Overview */
.ops-home:not(.headquarters-mode) #overview {
  min-height: 210px;
  margin-top: 16px;
  padding: 34px 40px;
  border: 0;
  border-radius: var(--r-radius-lg);
  background:
    radial-gradient(circle at 84% 28%, rgba(212,177,119,.16), transparent 24%),
    linear-gradient(118deg, #1b4136 0%, #245345 54%, #365f4f 100%);
  box-shadow: 0 20px 54px rgba(23,58,48,.16);
}
.ops-home:not(.headquarters-mode) #overview:not(.is-current) { display: none !important; }
.ops-home:not(.headquarters-mode) #overview::before { border-color: rgba(255,255,255,.025); }
.ops-home:not(.headquarters-mode) #overview .eyebrow { color: #e2bd82; }
.ops-home:not(.headquarters-mode) #overview h1 {
  max-width: 760px;
  margin: 17px 0 13px;
  color: #fffdf8;
  font-size: clamp(30px, 2.2vw, 36px);
  font-weight: 760;
  letter-spacing: -.04em;
  line-height: 1.22;
}
.ops-home:not(.headquarters-mode) #overview p { max-width: 720px; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.8; }
.ops-home:not(.headquarters-mode) .hero-flow span {
  width: 68px;
  height: 68px;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 13px;
}
.ops-home:not(.headquarters-mode) .hero-flow i { background: rgba(255,255,255,.25); }
.ops-home:not(.headquarters-mode) .stats { gap: 12px; margin: 16px 0; }
.ops-home:not(.headquarters-mode) .stats article {
  min-height: 108px;
  padding: 18px 20px;
  border: 1px solid rgba(31,41,37,.09);
  border-radius: 18px;
  background: var(--r-card);
  box-shadow: var(--r-shadow-sm);
}
.ops-home:not(.headquarters-mode) .stats span { color: var(--r-muted); font-size: 13px; font-weight: 600; }
.ops-home:not(.headquarters-mode) .stats strong { margin: 12px 0 5px; color: var(--r-forest); font-size: 38px; }
.ops-home:not(.headquarters-mode) .stats small { color: var(--r-faint); font-size: 12px; }

/* Generic page surfaces */
.ops-home .panel { border-color: var(--r-line); background: var(--r-card); }
.ops-home .panel:not(#copyConfig):not(#membershipPlans):not(#models):not(#members):not(.content-suite-page) {
  padding: 22px;
  border-radius: var(--r-radius-lg);
  box-shadow: var(--r-shadow-sm);
}
.ops-home .section-head h2 { font-size: 20px; font-weight: 720; }
.ops-home .section-head p { font-size: 14px; line-height: 1.7; }
.ops-home .section-mark { padding: 8px 12px; font-size: 12px; }
.ops-home .form-grid { gap: 20px; }
.ops-home .form-grid label { color: var(--r-text); font-size: 14px; }
.ops-home .form-grid label > small { display: block; margin-top: 8px; color: var(--r-muted); font-size: 12px; line-height: 1.6; }
.ops-home .form-grid input,
.ops-home .form-grid select { height: 46px; margin-top: 9px; font-size: 15px; }
.ops-home .form-grid textarea { margin-top: 9px; font-size: 15px; }
.ops-home .list-head h3 { font-size: 19px; }
.ops-home .list-head span { font-size: 13px; }

/* Skills configuration: page entry overview */
.ops-home #copyConfig.copy-studio {
  --skills-ink: var(--r-ink);
  --skills-text: var(--r-text);
  --skills-muted: var(--r-muted);
  --skills-line: var(--r-line);
  --skills-green: var(--r-forest-2);
  --skills-green-dark: var(--r-forest);
  --skills-gold: var(--r-gold);
  width: min(100%, 1440px);
  margin: 16px auto 0;
  padding: 0 0 72px;
}
.ops-home #copyConfig .skills-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  min-height: 120px;
  margin: 0 0 16px;
  padding: 25px 32px;
  border: 0;
  border-radius: var(--r-radius-lg);
  background:
    radial-gradient(circle at 86% 26%, rgba(213,176,115,.17), transparent 23%),
    linear-gradient(118deg, #1b4036, #255144 58%, #315c4d);
  box-shadow: 0 20px 54px rgba(23,58,48,.15);
}
.ops-home #copyConfig .skills-page-hero::after {
  position: absolute;
  right: -82px;
  bottom: -196px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255,255,255,.025);
  content: '';
  pointer-events: none;
}
.ops-home #copyConfig .cs-eyebrow { color: #e2bd82; font-size: 11px; }
.ops-home #copyConfig .cs-eyebrow > span { background: #e2bd82; }
.ops-home #copyConfig .skills-page-hero h2 {
  margin: 17px 0 11px;
  color: #fffdf8;
  font-size: clamp(30px, 2.2vw, 32px);
  font-weight: 760;
  letter-spacing: -.04em;
}
.ops-home #copyConfig .skills-page-hero h2 > span { color: #e4bd7d; }
.ops-home #copyConfig .skills-page-hero p { max-width: 760px; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.75; }
.ops-home #copyConfig .cs-header-meta { gap: 12px; }
.ops-home #copyConfig .cs-workspace-tag {
  padding: 10px 14px;
  border-color: rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 13px;
}
.ops-home #copyConfig #copyConfigStatus { color: rgba(255,255,255,.6); font-size: 12px; }

.ops-home #copyConfig .cs-page-entry-map,
.ops-home #copyConfig :is(#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) {
  overflow: hidden;
  border: 1px solid rgba(31,41,37,.1);
  border-radius: 14px;
  background: var(--r-card);
  box-shadow: var(--r-shadow-sm);
}
.ops-home #copyConfig .cs-page-entry-map > header,
.ops-home #copyConfig :is(#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) > .cg-heading {
  min-height: 72px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--r-line);
  background: linear-gradient(90deg, #fffdf9, #f8f6f0);
}
.ops-home #copyConfig .cs-page-entry-map > header span { font-size: 10px; letter-spacing: .16em; }
.ops-home #copyConfig .cs-page-entry-map > header h3,
.ops-home #copyConfig .cg-heading h3 {
  margin-top: 8px;
  color: var(--r-ink);
  font-size: 20px;
  font-weight: 720;
  letter-spacing: -.02em;
}
.ops-home #copyConfig .cs-page-entry-map > header p,
.ops-home #copyConfig .cg-heading p {
  max-width: 620px;
  color: var(--r-muted);
  font-size: 14px;
  line-height: 1.7;
}
.ops-home #copyConfig .cs-page-workspace {
  grid-template-columns: 220px minmax(0,1fr);
  min-height: 132px;
}
.ops-home #copyConfig .cs-page-workspace > header {
  gap: 11px;
  padding: 22px;
  background: linear-gradient(145deg, #e4eee8, #f1f4ef);
}
.ops-home #copyConfig .cs-page-workspace > header > span { color: var(--r-sage); font-size: 12px; }
.ops-home #copyConfig .cs-page-workspace > header h4 { font-size: 18px; font-weight: 720; }
.ops-home #copyConfig .cs-page-workspace > header p { margin-top: 7px; font-size: 13px; line-height: 1.55; }
.ops-home #copyConfig .cs-entry-tabs { gap: 10px; padding: 14px; }
.ops-home #copyConfig .cs-entry-tabs button {
  min-height: 96px;
  padding: 15px 18px;
  border-color: var(--r-line);
  border-radius: 11px;
  background: #fbfcfa;
}
.ops-home #copyConfig .cs-entry-tabs button[aria-selected=true] {
  border-color: #d4b57e;
  background: linear-gradient(135deg, #faf1df, #fffdf9 68%);
  box-shadow: 0 7px 18px rgba(100,72,31,.07);
}
.ops-home #copyConfig .cs-entry-tabs button[aria-selected=true]::before { top: 15px; bottom: 15px; width: 3px; }
.ops-home #copyConfig .cs-tab-icon { width: 40px; height: 40px; border-radius: 10px; font-size: 20px; }
.ops-home #copyConfig .cs-tab-text strong { color: var(--r-ink); font-size: 17px; font-weight: 700; }
.ops-home #copyConfig .cs-tab-text small { margin-top: 6px; color: var(--r-muted); font-size: 13px; }
.ops-home #copyConfig .cs-tab-arrow { font-size: 20px; }

/* Editable Skill prompt cards */
.ops-home #copyConfig :is(#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) { margin-top: 16px; }
.ops-home #copyConfig :is(#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) > .cg-heading { padding-top: 34px; }
.ops-home #copyConfig :is(#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) > .cg-heading::before {
  top: 13px;
  left: 22px;
  font-size: 10px;
}
.ops-home #copyConfig .cg-heading h3 { margin: 0 0 7px; }
.ops-home #copyConfig .et-group > header {
  padding: 16px 22px;
  background: #f3f5f1;
}
.ops-home #copyConfig .et-group > header strong { font-size: 16px; font-weight: 720; }
.ops-home #copyConfig .et-group > header span,
.ops-home #copyConfig .et-group > header small { font-size: 12px; }
.ops-home #copyConfig .et-items,
.ops-home #copyConfig :is(#contentGoalList,#contentDirectionList) {
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  padding: 14px;
}
.ops-home #copyConfig .et-item-editable,
.ops-home #copyConfig .cg-item {
  grid-template-columns: minmax(0,1fr) 36px 36px;
  grid-template-rows: 26px minmax(0,1fr) 36px;
  gap: 10px 7px;
  min-height: 278px;
  padding: 17px;
  border: 1px solid var(--r-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
}
.ops-home #copyConfig .et-item-editable:hover,
.ops-home #copyConfig .cg-item:hover { border-color: var(--r-line-strong); box-shadow: var(--r-shadow-sm); transform: translateY(-1px); }
.ops-home #copyConfig .et-item-editable .et-order { font-size: 12px; }
.ops-home #copyConfig .et-item-editable .et-fields { gap: 11px; }
.ops-home #copyConfig .et-item-editable .et-fields label span,
.ops-home #copyConfig .cg-item label { color: var(--r-text); font-size: 13px; }
.ops-home #copyConfig .et-item-editable .et-fields input,
.ops-home #copyConfig .et-item-editable .et-fields textarea,
.ops-home #copyConfig .cg-item input,
.ops-home #copyConfig .cg-item textarea {
  box-sizing: border-box;
  border-radius: 10px;
  background: #f8faf7;
  color: var(--r-ink);
  font-size: 15px;
}
.ops-home #copyConfig .et-item-editable .et-fields input { height: 42px; }
.ops-home #copyConfig .et-item-editable .et-fields textarea,
.ops-home #copyConfig .cg-item textarea { height: 104px; min-height: 104px; padding: 10px 12px; line-height: 1.65; }
.ops-home #copyConfig .et-item-editable .et-fields .et-skill-content textarea[data-tag-skill-content] {
  height: clamp(560px, 68vh, 760px);
  min-height: 560px;
  max-height: none;
  padding: 18px 20px;
  line-height: 1.45;
  resize: vertical;
}
@media (max-width: 760px) {
  .ops-home #copyConfig .et-item-editable .et-fields .et-skill-content textarea[data-tag-skill-content] {
    height: 68vh;
    min-height: 480px;
  }
}
.ops-home #copyConfig .et-item-editable .et-enabled { font-size: 13px; }
.ops-home #copyConfig .et-item-editable button { width: 36px; height: 36px; border-radius: 8px; font-size: 17px; }
.ops-home #copyConfig .et-item-editable .et-remove { font-size: 12px; }
.ops-home #copyConfig .et-add-card {
  min-height: 278px;
  border-radius: 11px;
  background: linear-gradient(145deg, #f7faf7, #eef4ef);
}
.ops-home #copyConfig .et-add-card > span { width: 44px; height: 44px; font-size: 23px; }
.ops-home #copyConfig .et-add-card strong { font-size: 16px; }
.ops-home #copyConfig .et-add-card small { font-size: 12px; }

.ops-home #copyConfig .cs-savebar {
  position: sticky;
  bottom: 18px;
  z-index: 20;
  min-height: 64px;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(23,58,48,.16);
  border-radius: 12px;
  background: rgba(255,253,249,.92);
  box-shadow: 0 18px 50px rgba(23,58,48,.16);
  backdrop-filter: blur(18px);
}
.ops-home #copyConfig .cs-save-status strong { font-size: 14px; }
.ops-home #copyConfig .cs-save-status p { font-size: 12px; }
.ops-home #copyConfig #saveCopyConfig { min-height: 42px; border-radius: 9px; font-size: 14px; }
.ops-home #copyConfig .cs-import-link { font-size: 13px; }

/* Content workflow pages */
.ops-home .content-suite-page:not(#copyConfig) {
  width: min(100%,1440px);
  margin: 16px auto 0;
  padding-bottom: 72px;
}
.ops-home .content-suite-hero {
  min-height: 154px;
  margin-bottom: 16px;
  padding: 30px 36px;
  border: 0;
  border-radius: var(--r-radius-lg);
  background:
    radial-gradient(circle at 84% 25%, rgba(213,176,115,.16), transparent 23%),
    linear-gradient(118deg, #1b4036, #255144 58%, #315c4d);
  box-shadow: 0 20px 54px rgba(23,58,48,.15);
}
.ops-home .content-suite-kicker { color: #e2bd82; }
.ops-home .content-suite-hero h2 { margin: 15px 0 10px; color: #fffdf8; font-size: clamp(30px,2.2vw,32px); font-weight: 760; letter-spacing: -.035em; }
.ops-home .content-suite-hero p { max-width: 760px; color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.75; }
.ops-home .content-suite-hero-mark {
  padding: 15px 20px;
  border-color: rgba(255,255,255,.22);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
}
.ops-home .content-suite-hero-mark > span { color: #fff; font-size: 42px; }
.ops-home .content-suite-hero-mark > small { border-color: rgba(255,255,255,.18); font-size: 10px; }
.ops-home .content-suite-surface {
  border-color: rgba(31,41,37,.1);
  border-radius: 14px;
  background: var(--r-card);
  box-shadow: var(--r-shadow-sm);
}
.ops-home .content-suite-section-head {
  min-height: 82px;
  padding: 16px 22px;
  background: linear-gradient(90deg, #fffdf9, #f8f6f0);
}
.ops-home .content-suite-section-head > div > span { width: 42px; height: 42px; border-radius: 11px; font-size: 13px; }
.ops-home .content-suite-section-head h3 { font-size: 20px; font-weight: 720; }
.ops-home .content-suite-section-head p { margin-top: 7px; font-size: 13px; line-height: 1.6; }
.ops-home .content-suite-status { padding: 8px 12px; font-size: 12px; }
.ops-home .content-suite-page #materialForm { margin: 16px 18px 0; padding: 20px; border-radius: 11px; }
.ops-home .content-suite-note { margin: 18px 24px 0; padding: 13px 15px; font-size: 13px; line-height: 1.65; }
.ops-home .content-suite-list-head { margin: 22px 18px 12px; }
.ops-home .content-suite-list-head span { font-size: 10px; }
.ops-home .content-suite-list-head h3 { margin-top: 7px; font-size: 20px; }
.ops-home .content-suite-list-head p { font-size: 13px; }
.ops-home .content-suite-page .material-list,
.ops-home .content-suite-page .candidate-list,
.ops-home .content-suite-page .skill-list { margin: 0 18px 18px; }
.ops-home .content-suite-page .material-row {
  min-height: 88px;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 14px;
}
.ops-home .content-suite-page .material-row strong { font-size: 15px; }
.ops-home .content-suite-page .material-row small,
.ops-home .content-suite-page .material-row time { font-size: 12px; }
.ops-home .content-suite-page .material-row .type,
.ops-home .badge { padding: 6px 9px; font-size: 11px; }
.ops-home .content-suite-page .candidate-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.ops-home .content-suite-page .candidate-card { border-radius: 11px; }
.ops-home .candidate-field { font-size: 13px; }
.ops-home .candidate-field input { height: 46px; font-size: 14px; }
.ops-home .candidate-field textarea { min-height: 100px; font-size: 14px; }
.ops-home .source-quote { font-size: 13px; line-height: 1.7; }
.ops-home .content-suite-page .skill-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ops-home .content-suite-page .skill-card { min-height: 236px; padding: 19px; border-radius: 12px; }
.ops-home .content-suite-page .skill-card h3 { margin-top: 18px; font-size: 18px; }
.ops-home .content-suite-page .skill-card p { font-size: 14px; line-height: 1.75; }
.ops-home .content-suite-page .skill-card .skill-meta span { font-size: 11px; }
.ops-home .content-suite-page .generation-row { min-height: 88px; padding: 17px 18px; border-radius: 12px; font-size: 14px; }
.ops-home .content-suite-page .generation-row small,
.ops-home .content-suite-page .generation-row time { font-size: 12px; }

/* Members, models and plans inherit the same readable scale. */
.ops-home :is(#members,#models,#membershipPlans) { margin-top: 16px; }
.ops-home :is(.members-page-head,.model-page-head,.membership-page-head) h2 { font-size: 32px; font-weight: 760; letter-spacing: -.035em; }
.ops-home :is(.members-page-head,.model-page-head,.membership-page-head) p { font-size: 15px; line-height: 1.7; }
.ops-home :is(.members-card,.members-directory,.model-card,.membership-card,.ops-card) {
  border-radius: 12px;
  box-shadow: var(--r-shadow-sm);
}
.ops-home :is(.members-card,.members-directory) h3 { font-size: 20px; }
.ops-home :is(.members-card,.members-directory) p { font-size: 13px; line-height: 1.65; }
.ops-home .model-page-head { border-radius: 22px; }
.ops-home .model-page-head h2 { font-size: 34px; }
.ops-home .model-page-head p { font-size: 15px; }
.ops-home .model-list-head h3 { font-size: 24px; }
.ops-home .model-list-head small,
.ops-home .model-list-tools,
.ops-home .model-card { font-size: 13px; }
.ops-home .ops-card-head h2 { font-size: 19px; }
.ops-home .ops-chip { font-size: 12px; }

/* Dialogs */
.ops-home dialog { color: var(--r-ink); }
.ops-home :is(.content-detail,.history-detail,.model-dialog,.membership-dialog,.members-dialog) {
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(16,42,35,.25);
}
.ops-home dialog::backdrop { background: rgba(16,42,35,.56); backdrop-filter: blur(6px); }
.ops-home dialog h2 { font-size: 28px; }
.ops-home dialog h3 { font-size: 20px; }
.ops-home dialog p,
.ops-home dialog label,
.ops-home dialog dl { font-size: 14px; }

/* Toast */
.ops-home .toast {
  right: 30px;
  bottom: 30px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--r-forest);
  font-size: 14px;
  box-shadow: 0 16px 42px rgba(16,42,35,.25);
}

/* Responsive desktop and tablet */
@media (max-width: 1360px) {
  .ops-home { min-width: 980px; }
  .ops-home .sidebar { width: 272px; min-width: 272px; }
  .ops-home main { width: calc(100% - 272px); margin-left: 272px; padding-right: 26px; padding-left: 26px; }
  .ops-home .sidebar nav > a,
  .ops-home .sidebar nav .nav-group > summary { font-size: 14px; }
  .ops-home #copyConfig .et-items,
  .ops-home #copyConfig :is(#contentGoalList,#contentDirectionList),
  .ops-home .content-suite-page .candidate-list,
  .ops-home .content-suite-page .skill-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1080px) {
  .ops-home { min-width: 0; }
  .ops-home .sidebar { width: 238px; min-width: 238px; padding-right: 14px; padding-left: 14px; }
  .ops-home main { width: calc(100% - 238px); margin-left: 238px; padding-right: 20px; padding-left: 20px; }
  .ops-home .workspace-toolbar #currentUser { display: none; }
  .ops-home .workspace-toolbar select { min-width: 145px; }
  .ops-home #copyConfig .cs-page-workspace { grid-template-columns: 220px minmax(0,1fr); }
  .ops-home #copyConfig .et-items,
  .ops-home #copyConfig :is(#contentGoalList,#contentDirectionList),
  .ops-home .content-suite-page .candidate-list,
  .ops-home .content-suite-page .skill-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .ops-home .sidebar { width: 72px; min-width: 72px; padding: 18px 9px; }
  .ops-home main { width: calc(100% - 72px); margin-left: 72px; padding: 0 14px 40px; }
  .ops-home .topbar { height: 64px; }
  .ops-home .topbar > div:first-child > span,
  .ops-home .topbar > div:first-child > b { display: none; }
  .ops-home .topbar strong { max-width: 180px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
  .ops-home .workspace-toolbar select,
  .ops-home #refreshBtn { display: none; }
  .ops-home .topbar .ghost-button { min-width: 52px; height: 36px; padding: 0 9px; font-size: 11px; }
  .ops-home:not(.headquarters-mode) #overview,
  .ops-home #copyConfig .skills-page-hero,
  .ops-home .content-suite-hero { min-height: 0; padding: 28px 24px; border-radius: 18px; }
  .ops-home:not(.headquarters-mode) #overview h1,
  .ops-home #copyConfig .skills-page-hero h2,
  .ops-home .content-suite-hero h2 { font-size: 28px; }
  .ops-home:not(.headquarters-mode) #overview p,
  .ops-home #copyConfig .skills-page-hero p,
  .ops-home .content-suite-hero p { font-size: 14px; }
  .ops-home .content-suite-hero-mark,
  .ops-home #copyConfig .cs-header-meta { display: none; }
  .ops-home #copyConfig .cs-page-entry-map > header,
  .ops-home #copyConfig :is(#entryTagsPanel,#contentGoalsEditor,#contentDirectionsEditor) > .cg-heading { padding: 24px; }
  .ops-home #copyConfig .cs-page-workspace { grid-template-columns: 1fr; }
  .ops-home #copyConfig .cs-page-workspace > header { min-height: 110px; border-right: 0; border-bottom: 1px solid var(--r-line); }
  .ops-home #copyConfig .cs-entry-tabs { grid-template-columns: 1fr; }
  .ops-home #copyConfig .et-items,
  .ops-home #copyConfig :is(#contentGoalList,#contentDirectionList) { padding: 14px; }
  .ops-home #copyConfig .et-item-editable,
  .ops-home #copyConfig .cg-item { min-height: 330px; padding: 19px; }
  .ops-home .content-suite-section-head { align-items: flex-start; padding: 20px; }
  .ops-home .content-suite-section-head p,
  .ops-home .content-suite-status { display: none; }
  .ops-home .content-suite-page .material-list,
  .ops-home .content-suite-page .candidate-list,
  .ops-home .content-suite-page .skill-list { margin: 0 14px 14px; }
  .ops-home .content-suite-page .material-row,
  .ops-home .content-suite-page .generation-row { grid-template-columns: 1fr; }
  .ops-home .form-grid { grid-template-columns: 1fr; }
  .ops-home .form-grid .wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ops-home *, .ops-home *::before, .ops-home *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.ops-home #copyConfig .et-item-editable .et-children-head button {
  align-self: auto;
  width: auto;
  min-width: max-content;
  height: 34px;
  padding: 0 11px;
  font-size: 12px;
}
.ops-home #copyConfig .et-item-editable .et-child-actions button {
  align-self: auto;
  width: auto;
  height: 30px;
  padding: 0 10px;
  font-size: 12px;
}
