    :root {
      --primary: #027e38;
      --primary-dark: #0b9e6d;
      --bg: #f8fafc;
      --card-bg: #ffffff;
      --text: #1e293b;
      --text-light: #64748b;
      --border: #e2e8f0;
      --success: #10b981;
      --shadow: 0 4px 12px rgba(0,0,0,0.06);
      --radius: 12px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
      background: var(--bg);
      color: var(--text);
      margin: 0;
      padding: 24px;
      line-height: 1.6;
      min-height: 100vh;
    }

    .container {
      max-width: 99%;
      margin: 0 auto;
    }

    header {
      text-align: center;
      margin-bottom: 24px;
    }

    h1 {
      margin: 0 0 8px;
      font-size: 28px;
      font-weight: 700;
      background: linear-gradient(135deg, #05755e, #7c3aed);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      letter-spacing: -0.5px;
      color: #0b9e6d;
    }

    .subtitle {
      color: var(--text-light);
      font-size: 15px;
      margin-top: 0;
    }

    .control-panel {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      padding: 1px;
      background: var(--card-bg);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      margin-bottom: 2px;
      align-items: center;
    }

    .btn {
      padding: 5px 6px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: white;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .btn:hover {
      background: #f1f5f9;
    }

    .btn.primary {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .btn.primary:hover {
      background: var(--primary-dark);
    }

    .btn.success {
      background: var(--success);
      color: white;
      border-color: var(--success);
    }

    select, input[type="checkbox"] {
      font-size: 14px;
    }

    textarea {
      width: 100%;
      min-height: 280px;
      padding: 10px;
      font-size: 14px;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      resize: vertical;
      background: white;
      box-shadow: var(--shadow);
      transition: box-shadow 0.2s;
    }

    textarea:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

    textarea.ime-on {
      border-color: var(--primary);
      background: #f0f9ff;
    }

    .hint {
      color: var(--text-light);
      font-size: 13px;
      margin-top: 6px;
    }

    .kbd {
      font-family: monospace;
      background: #f1f5f9;
      padding: 2px 6px;
      border-radius: 4px;
      border: 1px solid #e2e8f0;
      font-size: 12px;
      margin: 0 2px;
    }

    footer {
      text-align: center;
      margin-top: 28px;
      color: var(--text-light);
      font-size: 14px;
    }

    .credit {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-top: 16px;
      gap: 16px;
      flex-wrap: wrap;
    }

    .license-note {
      font-size: 13px;
      color: var(--text-light);
      background: #f1f5f9;
      padding: 8px 12px;
      border-radius: 8px;
      font-style: italic;
    }

    #watermark {
      position: fixed;
      right: 16px;
      bottom: 16px;
      z-index: 9999;
      font-size: 12px;
      color: rgba(0,0,0,0.22);
      pointer-events: none;
      font-weight: 600;
      letter-spacing: 0.5px;
    }