:root {
  --background: #f5f5f7;
  --foreground: #111111;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Segoe UI", "SF Pro Display", Arial, sans-serif;
}

.apple-card {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.72));
  backdrop-filter: blur(14px);
  border-radius: 28px;
  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 1.25rem;
}

.menu-hide-fx {
  position: fixed;
  left: 286px;
  top: 92px;
  width: 22px;
  height: 22px;
  background: #000;
  border-radius: 4px;
  z-index: 40;
  animation: menuHideFx 0.7s ease-in-out forwards;
}

@keyframes menuHideFx {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  45% {
    transform: translate(-170px, 90px) rotate(220deg);
    opacity: 1;
  }
  100% {
    transform: translate(-250px, -70px) rotate(520deg) scale(0.2);
    opacity: 0;
  }
}

.rich-text-editor .ql-toolbar {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  border-color: #e4e4e7;
  background: #fafafa;
}

.rich-text-editor .ql-container {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border-color: #e4e4e7;
  font-size: 0.95rem;
}

.rich-text-editor .ql-editor {
  min-height: 160px;
}

.rich-content h2,
.rich-content h3 {
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.rich-content h2 {
  font-size: 1.25rem;
}

.rich-content h3 {
  font-size: 1.1rem;
}

.rich-content p {
  margin: 0.5rem 0;
}

.rich-content ul,
.rich-content ol {
  margin: 0.5rem 0 0.5rem 1.25rem;
}

.rich-content blockquote {
  margin: 0.75rem 0;
  padding-left: 0.75rem;
  border-left: 3px solid #d4d4d8;
  color: #52525b;
}

.rich-content a {
  color: #18181b;
  text-decoration: underline;
}

.rich-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.75rem;
}

.rich-content .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border: 1px solid #e4e4e7;
  border-radius: 0.75rem;
}

.rich-content .tsrs-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.9rem;
  line-height: 1.45;
  background: #fff;
}

.rich-content .tsrs-table th,
.rich-content .tsrs-table td {
  border: 1px solid #e4e4e7;
  padding: 0.6rem 0.75rem;
  vertical-align: top;
  text-align: left;
}

.rich-content .tsrs-table thead th,
.rich-content .tsrs-table tr:first-child th {
  background: #f4f4f5;
  font-weight: 600;
  white-space: nowrap;
}

.rich-content .tsrs-table p {
  margin: 0.25rem 0;
}

