.page { max-width: none; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gridFull { grid-column: 1 / -1; }
.title { font-size: 22px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 24px; }

.card {
  background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card); padding: 24px;
  box-shadow: var(--shadow-card-light);
}
.cardHeader { display: flex; justify-content: space-between; align-items: flex-start; }
.cardTitle { font-size: 16px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 4px; }
.cardDesc { color: var(--color-text-secondary); font-size: 13px; margin-bottom: 20px; }
.cardHint { color: var(--color-text-secondary); font-size: 12px; margin-bottom: 16px; margin-top: -4px; }

.formRow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.formGroup { margin-bottom: 16px; }
.formGroup label { display: block; color: var(--color-text-secondary); font-size: 13px; margin-bottom: 6px; }
.formGroup input, .textarea {
  width: 100%; padding: 10px 14px; background: var(--color-bg-page); border: 1px solid var(--color-border-card);
  border-radius: 8px; color: var(--color-text-primary); font-size: 14px; outline: none; font-family: inherit;
}
.formGroup input:focus, .textarea:focus { border-color: var(--color-primary); }
.textarea { resize: vertical; min-height: 80px; }

.saveBtn {
  padding: 10px 24px; background: var(--color-primary); border: none; border-radius: 8px;
  color: var(--color-on-primary); font-size: 14px; cursor: pointer; transition: opacity 0.15s;
}
.saveBtn:hover { opacity: 0.9; }
.saveBtn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Toggle switch */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--color-border-card); border-radius: 24px; transition: 0.3s;
}
.slider::before {
  content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px;
  background: var(--color-on-primary); border-radius: 50%; transition: 0.3s;
}
.switch input:checked + .slider { background: var(--color-primary); }
.switch input:checked + .slider::before { transform: translateX(20px); }

.skeletonCard {
  height: 180px; background: var(--color-bg-card); border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card); margin-bottom: 20px; animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .formRow { grid-template-columns: 1fr; }
}
