* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f3f4f6;
    color: #111827;
  }
  
  .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #111827;
    color: #f9fafb;
  }
  
  .logo {
    font-size: 18px;
    font-weight: 700;
  }
  .logo span {
    font-weight: 400;
    color: #f97316;
  }
  
  .user-info {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .main {
    max-width: 1100px;
    margin: 24px auto;
    padding: 0 16px 32px;
  }
  
  .card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  }
  
  h2 {
    margin-top: 0;
    margin-bottom: 8px;
  }
  
  .subtitle {
    margin-top: 0;
    color: #6b7280;
  }
  
  label {
    display: block;
    margin-top: 10px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #374151;
  }
  
  input,
  select,
  textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
  }
  
  textarea {
    resize: vertical;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: none;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 14px;
  }
  
  .btn-primary {
    background: #f97316;
    color: #ffffff;
  }
  
  .btn-outline {
    background: transparent;
    border: 1px solid #9ca3af;
    color: #f9fafb;
  }
  
  .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
  .grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 16px;
  }
  
  @media (max-width: 800px) {
    .grid {
      grid-template-columns: 1fr;
    }
  }
  
  .table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }
  
  .table thead {
    background: #f9fafb;
  }
  
  .table th,
  .table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
  }
  
  .table tbody tr:nth-child(even) {
    background: #f9fafb;
  }
  
  .hidden {
    display: none;
  }
  
  .error {
    color: #b91c1c;
    margin-top: 10px;
  }
  
  .success {
    color: #15803d;
    margin-top: 10px;
  }
  
  .hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 14px;
  }
  
  .dashboard-cols {
    margin-top: 10px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  
  .dash-block {
    flex: 1;
    min-width: 160px;
  }
  
  .dash-block ul {
    padding-left: 18px;
    margin: 6px 0 0;
  }