/* OttoCare NOTES module — every rule scoped to .oc-notes */
.oc-notes, .oc-notes * { box-sizing: border-box; }

.oc-notes {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 80px);
  font-family: 'DM Sans', sans-serif;
}

.oc-notes .panel-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  user-select: none;
}

.oc-notes .panel-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.oc-notes .panel-tab:hover { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.9); }
.oc-notes .panel-tab.active {
  background: rgba(201, 168, 76, 0.14);
  border-color: rgba(201, 168, 76, 0.5);
  color: #c9a84c;
}

.oc-notes .panel-view { flex: 1; min-height: 0; display: flex; }
.oc-notes .panel-view[hidden] { display: none; }

.oc-notes iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  overflow: hidden;
}
