
    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: var(--font-body);
      background: var(--canvas);
      min-height: 100vh;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      color: #333;
    }

    .card {
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 600px;
      margin: 24px;
      overflow: hidden;
    }

    .card-header {
      background: var(--chrome);
      color: #fff;
      padding: 24px 32px;
      text-align: center;
    }

    .card-header h1 {
      font-size: 20px;
      font-weight: 500;
      margin-bottom: 4px;
    }

    .card-header p {
      font-size: 13px;
      opacity: 0.85;
    }

    .card-body {
      padding: 32px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      font-size: 13px;
      font-weight: 500;
      color: #555;
      margin-bottom: 6px;
    }

    .input-wrapper {
      position: relative;
    }

    .form-group input {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
      font-family: var(--font-body);
      transition: border-color 0.2s;
      outline: none;
    }

    .form-group input:focus,
    .form-group select:focus {
      border-color: var(--action);
    }

    .form-group select {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
      font-family: var(--font-body);
      transition: border-color 0.2s;
      outline: none;
      background: #fff;
      appearance: auto;
    }

    .toggle-visibility {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      color: #888;
      font-size: 13px;
      padding: 4px;
    }

    .toggle-visibility:hover {
      color: #555;
    }

    .btn {
      width: 100%;
      padding: 12px;
      border: none;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 500;
      font-family: var(--font-body);
      cursor: pointer;
      transition: background 0.2s;
    }

    .btn-primary {
      background: var(--action);
      color: #fff;
    }

    .btn-primary:hover {
      background: rgb(0, 78, 153);
    }

    .btn-outline {
      background: transparent;
      color: #888;
      border: 1px solid #ddd;
      margin-top: 12px;
    }

    .btn-outline:hover {
      background: #f5f5f5;
    }

    .status-dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      margin-right: 6px;
      vertical-align: middle;
    }

    .status-dot.green { background: #4caf50; }
    .status-dot.red { background: #f44336; }

    .status-text {
      font-size: 13px;
      color: #666;
      margin-bottom: 16px;
    }

    .alert {
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 13px;
      margin-bottom: 16px;
      display: none;
    }

    .alert.success {
      background: #e8f5e9;
      color: #2e7d32;
    }

    .alert.error {
      background: #ffebee;
      color: #c62828;
    }

    .alert.show {
      display: block;
    }

    .section-title {
      font-size: 16px;
      font-weight: 500;
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid #eee;
    }

    .section + .section {
      margin-top: 28px;
    }

    .subsection-title {
      font-size: 13px;
      font-weight: 500;
      color: var(--action);
      margin: 20px 0 12px;
      padding-bottom: 6px;
      border-bottom: 1px dashed #ddd;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .subsection-title:first-of-type {
      margin-top: 0;
    }

    .form-group .var-name {
      display: block;
      font-size: 11px;
      color: #999;
      font-family: monospace;
      margin-top: 2px;
    }

    .back-link {
      display: block;
      text-align: center;
      margin-top: 16px;
      color: var(--action);
      text-decoration: none;
      font-size: 14px;
    }

    .back-link:hover {
      text-decoration: underline;
    }

    [data-dev-badge] { display: none; }
    html[data-environment="dev"] [data-dev-badge] { display: inline-block; margin-left: 8px; padding: 2px 6px; border: 1px solid currentColor; border-radius: 4px; font-size: 11px; vertical-align: middle; }
    .hidden { display: none !important; }

.card-header h1 {font-family: var(--font-heading);font-weight:700;}
.admin-logo {width:54px;height:34px;object-fit:contain;margin-bottom:12px;}
.input-wrapper input {padding-right:66px;}
.form-group .var-name {color:#667085;}
