html[data-upgrade="cocoa"] .cocoa-ops,
html[data-upgrade="cocoa"] .tab-navigation,
html[data-upgrade="cocoa"] .header-status,
html[data-upgrade="cocoa"] .header-external,
html[data-upgrade="cocoa"] #cocoa-attention,
html[data-upgrade="cocoa"] [data-subview="removed"] { display: none !important; }
html[data-upgrade="cocoa"] body[data-shell-view="home"] [data-subview],
html[data-upgrade="cocoa"] body[data-shell-view="detail"] [data-subview] { display: none !important; }
html[data-upgrade="cocoa"] body[data-shell-view="reports"] #shell-stage,
html[data-upgrade="cocoa"] body[data-shell-view="schedule"] #shell-stage,
html[data-upgrade="cocoa"] body[data-shell-view="notices"] #shell-stage { display: none !important; }
html[data-upgrade="cocoa"] body[data-shell-view="reports"] [data-subview="schedule"],
html[data-upgrade="cocoa"] body[data-shell-view="reports"] [data-subview="notices"],
html[data-upgrade="cocoa"] body[data-shell-view="schedule"] [data-subview="reports"],
html[data-upgrade="cocoa"] body[data-shell-view="schedule"] [data-subview="notices"],
html[data-upgrade="cocoa"] body[data-shell-view="notices"] [data-subview="reports"],
html[data-upgrade="cocoa"] body[data-shell-view="notices"] [data-subview="schedule"] { display: none !important; }
html[data-upgrade="cocoa"] body[data-shell-view="notices"] #general-notice-card,
html[data-upgrade="cocoa"] body[data-shell-view="notices"] #special-notes-card { display: block !important; }

html[data-upgrade="cocoa"] .header { position: relative; }
html[data-upgrade="cocoa"] .shell-manual {
  position: absolute;
  top: 16px;
  right: 8px;
  border: 1px solid var(--cocoa);
  background: #fff;
  color: var(--cocoa);
  border-radius: 999px;
  padding: 8px 14px;
  font: 750 13px Pretendard, sans-serif;
  cursor: pointer;
}
html[data-upgrade="cocoa"] .shell-menu {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 4px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
html[data-upgrade="cocoa"] .shell-primary { display: flex; gap: 6px; padding-top: 16px; }
html[data-upgrade="cocoa"] .shell-direct {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 12px;
  font: 750 15px Pretendard, sans-serif;
  cursor: pointer;
}
html[data-upgrade="cocoa"] .shell-direct[aria-current="page"] { background: var(--soft); color: var(--cocoa); }
html[data-upgrade="cocoa"] .shell-group { min-width: 150px; }
html[data-upgrade="cocoa"] .shell-group-name {
  color: var(--cocoa);
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 4px;
}
html[data-upgrade="cocoa"] .shell-item {
  display: block;
  padding: 6px 0;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
}
html[data-upgrade="cocoa"] .shell-item strong { display: block; font-size: 14px; }
html[data-upgrade="cocoa"] .shell-item small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
html[data-upgrade="cocoa"] .shell-item em { font-style: normal; color: var(--mid); font-size: 11px; }
html[data-upgrade="cocoa"] .shell-item.is-pending strong { color: var(--muted); }
html[data-upgrade="cocoa"] .shell-item:hover,
html[data-upgrade="cocoa"] .shell-item:focus-visible { background: var(--soft); outline: none; }
html[data-upgrade="cocoa"] .shell-pagehead,
html[data-upgrade="cocoa"] .shell-more,
html[data-upgrade="cocoa"] .shell-back {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
html[data-upgrade="cocoa"] .shell-pagehead h2,
html[data-upgrade="cocoa"] .shell-back h2 { margin: 0; font-size: 22px; color: var(--ink); }
html[data-upgrade="cocoa"] .shell-pagehead p { margin: 0; color: var(--muted); font-size: 13px; }
html[data-upgrade="cocoa"] .shell-textlink {
  border: 0;
  background: transparent;
  color: var(--cocoa);
  font: 750 14px Pretendard, sans-serif;
  cursor: pointer;
  padding: 4px 0;
}
html[data-upgrade="cocoa"] .shell-textlink:disabled { color: var(--muted); cursor: default; }
html[data-upgrade="cocoa"] .shell-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
html[data-upgrade="cocoa"] .shell-list { margin-top: 8px; }
html[data-upgrade="cocoa"] .shell-listhead { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
html[data-upgrade="cocoa"] .shell-listhead h3 { margin: 0; font-size: 16px; }
html[data-upgrade="cocoa"] .shell-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
  padding: 11px 4px;
  cursor: pointer;
  font: 650 14px Pretendard, sans-serif;
}
html[data-upgrade="cocoa"] .shell-row span,
html[data-upgrade="cocoa"] .shell-empty,
html[data-upgrade="cocoa"] .shell-note { color: var(--muted); font-size: 13px; }
html[data-upgrade="cocoa"] .shell-row:hover,
html[data-upgrade="cocoa"] .shell-row:focus-visible { background: var(--soft); outline: none; }
html[data-upgrade="cocoa"] .shell-notices { margin-top: 22px; }
html[data-upgrade="cocoa"] .shell-go {
  display: block;
  padding: 0 16px 14px;
  color: var(--cocoa);
  font-size: 13px;
  font-weight: 750;
}
html[data-upgrade="cocoa"] .card:has(#course-progress-board) { display: block; background: transparent !important; border: 0 !important; }
html[data-upgrade="cocoa"] #course-progress-board { grid-template-columns: 1fr !important; }

html[data-upgrade="cocoa"] #detail-tab .card,
html[data-upgrade="cocoa"] #detail-tab .course-detail-panel {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
html[data-upgrade="cocoa"] #detail-tab .card-header,
html[data-upgrade="cocoa"] #detail-tab .detail-section-header,
html[data-upgrade="cocoa"] #detail-tab .course-detail-top {
  background: transparent !important;
  color: var(--ink) !important;
}
html[data-upgrade="cocoa"] #detail-tab .card-header h2,
html[data-upgrade="cocoa"] #detail-tab .sec-title,
html[data-upgrade="cocoa"] #detail-tab .course-detail-title { color: var(--ink) !important; }
html[data-upgrade="cocoa"] #detail-tab .detail-section { border-top: 1px solid var(--line); background: transparent !important; }
html[data-upgrade="cocoa"] #detail-tab .btn-primary,
html[data-upgrade="cocoa"] #detail-tab .course-pill.active,
html[data-upgrade="cocoa"] #detail-tab .status-tag.active {
  background: var(--cocoa) !important;
  color: #fff !important;
  border-color: var(--cocoa) !important;
}
html[data-upgrade="cocoa"] .shell-sections { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 16px 0; }
html[data-upgrade="cocoa"] .shell-sections button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 12px;
  font: 750 13px Pretendard, sans-serif;
  cursor: pointer;
}
html[data-upgrade="cocoa"] .shell-sections button[aria-pressed="true"] { background: var(--soft); color: var(--cocoa); }
html[data-upgrade="cocoa"] .shell-manual:focus-visible,
html[data-upgrade="cocoa"] .shell-direct:focus-visible,
html[data-upgrade="cocoa"] .shell-textlink:focus-visible,
html[data-upgrade="cocoa"] .shell-sections button:focus-visible {
  outline: 3px solid var(--point);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  html[data-upgrade="cocoa"] .shell-menu,
  html[data-upgrade="cocoa"] .shell-grid { display: block; }
  html[data-upgrade="cocoa"] .shell-group { margin-top: 12px; }
  html[data-upgrade="cocoa"] .shell-manual { position: static; margin: 8px 0 0 8px; }
}
