.cc-ops {
  min-width: 0;
  display: grid;
  gap: 16px;
  color: var(--text, #332739);
}

.cc-ops-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cc-ops h2,
.cc-ops h3,
.cc-ops h4,
.cc-ops p,
.cc-ops dl {
  margin: 0;
}

.cc-ops h2 {
  font-size: clamp(25px, 5vw, 37px);
  letter-spacing: -.055em;
  line-height: 1.18;
}

.cc-ops h3 {
  font-size: clamp(19px, 4vw, 24px);
  line-height: 1.3;
}

.cc-ops h4 {
  font-size: 18px;
}

.cc-ops .cc-ops-kicker {
  margin-bottom: 5px;
  color: #714557;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
}

.cc-ops .cc-ops-note {
  color: var(--muted, #6d5d6f);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.cc-ops-header .cc-ops-note {
  margin-top: 5px;
}

.cc-ops-header .cc-ops-season-selector {
  width: min(100%, 275px);
}

.cc-ops-nav,
.cc-ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.cc-ops-nav {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stroke, #ded0d4);
}

.cc-ops .cc-ops-button {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 14px;
  color: var(--ink, #2b2133);
  background: #fffaf4;
  border: 1px solid #cbb9cb;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.cc-ops .cc-ops-button:hover:not(:disabled) {
  border-color: #8a617b;
  background: #f4e5ed;
}

.cc-ops .cc-ops-primary {
  color: #2b2133;
  background: var(--apricot, #f4ad7d);
  border-color: #d88e60;
}

.cc-ops .cc-ops-primary:hover:not(:disabled) {
  background: #ffd0a8;
}

.cc-ops .cc-ops-danger {
  color: #812f30;
  border-color: #cb9a93;
}

.cc-ops .cc-ops-nav-button[aria-pressed="true"] {
  color: var(--cream, #faf1e4);
  background: var(--ink, #2b2133);
  border-color: var(--ink, #2b2133);
}

.cc-ops .cc-ops-nav-button[aria-pressed="true"]:hover {
  background: #4a3853;
  border-color: #4a3853;
}

.cc-ops .cc-ops-button:disabled {
  opacity: .55;
  cursor: default;
}

.cc-ops-panel,
.cc-ops-resource {
  display: grid;
  min-width: 0;
  gap: 12px;
}

.cc-ops-card {
  min-width: 0;
  display: grid;
  gap: 10px;
  padding: clamp(14px, 3vw, 24px);
  background: #fff8ee;
  border: 1px solid var(--stroke, #ded0d4);
  border-radius: 8px;
}

.cc-ops-form,
.cc-ops-selected,
.cc-ops-disclosure-body {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.cc-ops-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr));
  gap: 9px;
}

.cc-ops-field {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}

.cc-ops :is(input:not([type="checkbox"]), select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 9px;
  color: var(--ink, #2b2133);
  background: #fffdf8;
  border: 1px solid #cbb9cb;
  border-radius: 5px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}

.cc-ops textarea {
  resize: vertical;
}

.cc-ops .cc-ops-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cc-ops-metrics div {
  min-width: 0;
  padding: 8px;
  background: #f4e7ec;
  border-radius: 5px;
}

.cc-ops-metrics dt {
  color: #5e4d61;
  font-size: 11px;
  font-weight: 700;
}

.cc-ops-metrics dd {
  margin: 0;
  font-size: 20px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.cc-ops-disclosure {
  border: 1px solid var(--stroke, #ded0d4);
  border-radius: 5px;
}

.cc-ops-disclosure summary {
  min-height: 44px;
  padding: 8px 10px;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.cc-ops-disclosure summary strong {
  margin-right: 8px;
}

.cc-ops-disclosure-body {
  padding: 10px;
  border-top: 1px solid var(--stroke, #ded0d4);
}

.cc-ops-badge {
  display: inline-block;
  max-width: 100%;
  padding: 3px 6px;
  color: #603d59;
  background: #f0dfe9;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.cc-ops-match-list,
.cc-ops-keys,
.cc-ops-people {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cc-ops-match-list {
  max-height: 390px;
  overflow-y: auto;
  border: 1px solid var(--stroke, #ded0d4);
  border-radius: 5px;
}

.cc-ops-match-list li + li,
.cc-ops-keys li + li {
  border-top: 1px solid var(--stroke, #ded0d4);
}

.cc-ops-match-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 51px;
  width: 100%;
  padding: 8px 10px;
  color: var(--ink, #2b2133);
  background: #fffdf8;
  border: 0;
  text-align: left;
}

.cc-ops-match-button:hover,
.cc-ops-match-button[aria-pressed="true"] {
  background: #f4e5ed;
}

.cc-ops-match-button > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cc-ops-match-button strong,
.cc-ops-match-button small {
  display: block;
}

.cc-ops-match-button small {
  color: var(--muted, #6d5d6f);
  font-size: 11px;
}

.cc-ops-match-button .cc-ops-badge {
  flex: none;
}

.cc-ops-selected:not(:empty) {
  border-top: 1px solid var(--stroke, #ded0d4);
  padding-top: 12px;
}

.cc-ops .cc-ops-score {
  color: var(--ink, #2b2133);
  font-size: clamp(18px, 4vw, 29px);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.cc-ops-people {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.cc-ops-people li {
  max-width: 100%;
  padding: 3px 7px;
  color: #5e4d61;
  background: #f4e7ec;
  border-radius: 4px;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.cc-ops-venues {
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--stroke, #ded0d4);
  border-radius: 5px;
}

.cc-ops-venues legend {
  font-size: 13px;
  font-weight: 700;
}

.cc-ops-check {
  min-height: 44px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 5px 8px;
  border: 1px solid var(--stroke, #ded0d4);
  border-radius: 5px;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.cc-ops-keys li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
}

.cc-ops-keys li > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cc-ops-keys li > :is(button,span) {
  flex: none;
}

.cc-ops-secret {
  display: grid;
  gap: 8px;
  padding: 11px;
  background: #f8e6d6;
  border: 1px solid #dba778;
  border-radius: 5px;
}

.cc-ops .cc-ops-secret-input {
  font-family: ui-monospace, monospace;
}
