.ic2-page .ic2-banner {
  max-width: 98rem;
  margin: 0.65rem auto 0;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(196, 163, 90, 0.35);
  border-radius: 10px;
  background: rgba(196, 163, 90, 0.1);
  color: #e8d5a3;
  font-size: 0.82rem;
  line-height: 1.4;
}

.ic2-banner a { color: #c4a35a; }

.ic2-chrome {
  max-width: 98rem;
  margin: 0.65rem auto 0.5rem;
  padding: 0 1rem;
}

.ic2-streams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.ic2-stream {
  appearance: none;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(196, 163, 90, 0.22);
  background: rgba(14, 26, 20, 0.78);
  color: inherit;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
}

.ic2-stream strong { display: block; font-size: 0.95rem; }
.ic2-stream span { display: block; font-size: 0.75rem; color: var(--sp-muted, #9bb0a4); margin-top: 0.15rem; }
.ic2-stream i { color: #c4a35a; margin-bottom: 0.25rem; display: block; }
.ic2-stream.is-on {
  border-color: #c4a35a;
  background: rgba(196, 163, 90, 0.14);
}

.ic2-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.ic2-tabs .sp-btn.is-on {
  background: rgba(196, 163, 90, 0.18);
  border-color: rgba(196, 163, 90, 0.5);
  color: #e8d5a3;
}

.ic2-pane[hidden] { display: none !important; }

.ic2-page #mipGoalPlan { display: none; }

.ic2-settings {
  max-width: 72rem;
  margin: 0 auto 2rem;
}

.ic2-settings .ic2-week-wrap {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
  padding: 0.75rem 0.8rem 0.85rem;
  border: 1px solid rgba(196, 163, 90, 0.22);
  border-radius: 12px;
  background: rgba(8, 18, 13, 0.45);
}

.ic2-week-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.ic2-week-head .er-settings-heading { margin: 0; }
.ic2-week-hint {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--er-t-muted, #9bb0a4);
  max-width: 46rem;
  line-height: 1.4;
}
.ic2-week-actions { display: flex; gap: 0.35rem; flex-wrap: wrap; }

.ic2-week-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 0.55rem 0 0.45rem;
  font-size: 0.72rem;
  color: var(--er-t-muted, #9bb0a4);
}
.ic2-leg {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  margin-right: 0.25rem;
  vertical-align: -1px;
}
.ic2-leg-open { background: rgba(107, 158, 134, 0.2); }
.ic2-leg-committed { background: #c4a35a; }

.ic2-crunch {
  display: grid;
  grid-template-columns: 2.6rem repeat(7, minmax(0, 1fr));
  gap: 2px 3px;
  margin-bottom: 0.45rem;
  align-items: center;
}
.ic2-crunch-lbl {
  font-size: 0.62rem;
  text-align: center;
  color: var(--er-t-muted, #9bb0a4);
}
.ic2-crunch-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}
.ic2-crunch-bar i { display: block; height: 100%; min-width: 0; }
.ic2-crunch-bar i.open { background: rgba(107, 158, 134, 0.22); }
.ic2-crunch-bar i.committed { background: #c4a35a; }

.ic2-week {
  display: grid;
  grid-template-columns: 2.6rem repeat(7, minmax(0, 1fr));
  gap: 1px;
  user-select: none;
  touch-action: none;
  background: rgba(196, 163, 90, 0.12);
  border: 1px solid rgba(196, 163, 90, 0.18);
  border-radius: 8px;
  overflow: hidden;
}
.ic2-week-corner { background: rgba(8, 18, 13, 0.8); }
.ic2-week-day {
  appearance: none;
  border: 0;
  background: rgba(14, 26, 20, 0.95);
  color: #e8d5a3;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.28rem 0.1rem;
  cursor: pointer;
}
.ic2-week-day em {
  display: block;
  font-style: normal;
  font-size: 0.58rem;
  color: var(--er-t-muted, #9bb0a4);
  font-weight: 500;
}
.ic2-week-time {
  background: rgba(8, 18, 13, 0.9);
  color: var(--er-t-muted, #9bb0a4);
  font-size: 0.58rem;
  font-family: var(--er-t-mono, ui-monospace, monospace);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.28rem;
  min-height: 0.82rem;
  cursor: pointer;
}
.ic2-week-time.is-hour { color: #d8c48a; }
.ic2-week-time.is-sel { background: rgba(90, 140, 196, 0.35); color: #e8f0ff; }
.ic2-slot {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-height: 0.82rem;
  background: rgba(107, 158, 134, 0.28);
  cursor: cell;
  font-size: 0.45rem;
  line-height: 1;
  color: #1a1208;
}
.ic2-slot:hover { outline: 1px solid rgba(232, 213, 163, 0.55); outline-offset: -1px; }
.ic2-slot.is-on { background: #c4a35a; }
.ic2-slot.is-sel {
  outline: 2px solid #7eb3ff;
  outline-offset: -2px;
  box-shadow: inset 0 0 0 999px rgba(70, 130, 200, 0.28);
  z-index: 1;
}
.ic2-week-day.is-sel { background: rgba(70, 130, 200, 0.35); }

.ic2-week-sum {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: var(--er-t-muted, #9bb0a4);
}

@media (max-width: 720px) {
  .ic2-streams { grid-template-columns: 1fr; }
  .ic2-week-time { font-size: 0.5rem; padding: 0 0.12rem; }
}
