    :root {
      --primary: #0f172a;
      --primary-dark: #0b1220;
      --primary-light: #e2e8f0;
      --bg: #f7f7f8;
      --bg-card: #ffffff;
      --bg-input: #ffffff;
      --text-primary: #111827;
      --text-secondary: #6b7280;
      --border: #e5e7eb;
      --success: #22c55e;
      --error: #ef4444;
      --warning: #f59e0b;
      --radius: 16px;
      --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.08);
      --shadow-card: 0 6px 14px rgba(15, 23, 42, 0.08);
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html, body {
      height: 100%;
    }
    body {
      font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
      background: var(--bg);
      min-height: 100vh;
      color: var(--text-primary);
    }
    .container {
      max-width: 960px;
      margin: 0 auto;
      padding: 12px 20px 0;
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
      height: 100%;
      position: relative;
    }
    .config-panel {
      background: var(--bg-card);
      border-radius: 16px;
      padding: 18px;
      height: fit-content;
      box-shadow: none;
      border: none;
      position: fixed;
      top: 58px;
      right: 18px;
      width: 320px;
      z-index: 9;
    }
    .config-panel.hidden { display: none; }
    .config-panel.collapsed .config-body { display: none; }
    .config-panel.collapsed { padding-bottom: 12px; }
    .config-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 16px;
    }
    .config-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.75rem;
      color: var(--text-secondary);
    }
    .config-panel h2 {
      font-size: 1rem;
      margin-bottom: 16px;
      color: var(--text-primary);
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .form-group { margin-bottom: 14px; }
    .form-group label {
      display: block;
      font-size: 0.75rem;
      font-weight: 500;
      color: var(--text-secondary);
      margin-bottom: 4px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .form-group input, .form-group select {
      width: 100%;
      padding: 10px 12px;
      background: var(--bg-input);
      border: 1px solid var(--border);
      border-radius: 8px;
      color: var(--text-primary);
      font-size: 0.875rem;
    }
    .form-group input:focus, .form-group select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px var(--primary-light);
    }
    .btn {
      padding: 10px 20px;
      border: none;
      border-radius: 8px;
      font-size: 0.875rem;
      font-weight: 600;
      cursor: pointer;
      width: 100%;
      transition: all 0.2s;
    }
    .btn-primary { background: var(--primary); color: white; }
    .btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
    .btn-primary:disabled { background: #cbd5e1; cursor: not-allowed; transform: none; }
    .btn-secondary {
      background: var(--bg-input);
      border: 1px solid var(--border);
      color: var(--text-secondary);
      margin-top: 8px;
    }
    .btn-secondary:hover { background: var(--border); }
    .chat-panel {
      background: transparent;
      display: flex;
      flex-direction: column;
      height: 100vh;
      overflow: hidden;
    }
    .chat-panel.landing-mode {
      justify-content: center;
    }
    .chat-panel.landing-mode .chat-messages {
      flex: 0 0 auto;
    }
    .chat-header {
      padding: 16px 20px 4px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: transparent;
      color: var(--text-primary);
      max-width: 960px;
      margin: 0 auto;
      width: 100%;
    }
    .chat-header h1 {
      display: block;
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-primary);
    }
    .chat-header-actions { display: flex; align-items: center; gap: 8px; }
    .settings-btn {
      border: 1px solid var(--border);
      background: white;
      color: var(--text-primary);
      border-radius: 999px;
      padding: 6px 12px;
      font-size: 0.75rem;
      cursor: pointer;
      box-shadow: none;
      position: static;
      z-index: 1;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
    }
    .settings-btn.active { background: var(--primary-light); color: var(--primary-dark); border-color: var(--primary-light); }
    
    /* Developer Mode Button (styled like settings button) */
    .dev-mode-btn {
      position: relative;
      cursor: pointer;
    }
    
    .dev-mode-btn input[type="checkbox"] {
      display: none;
    }
    
    .dev-mode-btn .dev-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      opacity: 0.7;
    }
    
    .dev-mode-btn:hover .dev-icon {
      opacity: 1;
    }
    
    .dev-mode-btn input[type="checkbox"]:checked + .dev-icon {
      opacity: 1;
    }
    
    .dev-mode-btn input[type="checkbox"]:checked {
      /* Apply active state when checked */
    }
    
    .dev-mode-btn:has(input[type="checkbox"]:checked) {
      background: var(--primary-light);
      color: var(--primary-dark);
      border-color: var(--primary-light);
    }
    
    .status-badge { display: none; }
    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 20px 20px 20px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      max-width: 900px;
      width: 100%;
      margin: 0 auto;
    }
    .message {
      max-width: 85%;
      animation: fadeIn 0.3s ease;
      box-shadow: none;
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
    .message.bot {
      align-self: flex-start;
    }
    .message.user {
      align-self: flex-end;
      margin-left: auto;
      justify-content: flex-end;
    }
    .message-avatar {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #0f172a;
      color: white;
      font-size: 0.65rem;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .message-content {
      line-height: 1.5;
      font-size: 0.9rem;
      padding: 12px 16px;
      border-radius: 16px;
      background: #ffffff;
      border: 1px solid var(--border);
    }
    .message.user .message-content {
      background: #0f172a;
      color: white;
      border-color: #0f172a;
    }
    .message.error .message-content {
      background: #fef2f2;
      border: 1px solid #fecaca;
      color: var(--error);
    }
    .message.success .message-content {
      background: #f0fdf4;
      border: 1px solid #bbf7d0;
      color: var(--success);
    }
    
    /* Field Controls */
    .field-form { margin-top: 12px; display: flex; flex-direction: column; gap: 14px; }
    .field-control { background: var(--bg); padding: 14px; border-radius: 10px; border: 1px solid var(--border); }
    .field-control label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); font-size: 0.85rem; }
    .field-control .required { color: var(--error); margin-left: 2px; }
    .field-control .description { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 8px; }
    .field-control input[type="text"], .field-control input[type="email"], .field-control input[type="number"], .field-control input[type="date"], .field-control textarea {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: 8px;
      font-size: 0.875rem;
      background: white;
    }
    .field-control input:focus, .field-control textarea:focus, .field-control select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px var(--primary-light);
    }
    .field-control select {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid var(--border);
      border-radius: 8px;
      font-size: 0.875rem;
      background: white;
      cursor: pointer;
    }
    .field-control .checkbox-wrap {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      cursor: pointer;
    }
    .field-control .checkbox-wrap input[type="checkbox"] {
      width: 20px;
      height: 20px;
      accent-color: var(--primary);
      cursor: pointer;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .field-control .checkbox-label { font-size: 0.85rem; line-height: 1.4; }
    .field-control .radio-group { display: flex; flex-direction: column; gap: 8px; }
    .field-control .radio-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 12px;
      background: white;
      border: 1px solid var(--border);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .field-control .radio-option:hover { border-color: var(--primary); background: var(--primary-light); }
    .field-control .radio-option.selected { border-color: var(--primary); background: var(--primary-light); }
    .field-control .radio-option input[type="radio"] {
      width: 18px;
      height: 18px;
      accent-color: var(--primary);
    }
    .field-control .checkbox-group { display: flex; flex-direction: column; gap: 8px; }
    .field-control .checkbox-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 8px 12px;
      background: white;
      border: 1px solid var(--border);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .field-control .checkbox-option:hover { border-color: var(--primary); background: var(--primary-light); }
    .field-control .checkbox-option input[type="checkbox"] {
      width: 18px;
      height: 18px;
      accent-color: var(--primary);
    }
    .option-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .option-chip {
      border: 1px solid var(--border);
      background: white;
      color: var(--text-primary);
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 0.8rem;
      cursor: pointer;
      transition: all 0.2s;
    }
    .option-chip:hover {
      border-color: var(--primary);
      background: var(--primary-light);
    }
    .option-chip.selected {
      border-color: var(--primary);
      background: var(--primary);
      color: white;
    }
    .submit-fields-btn {
      background: var(--primary);
      color: white;
      border: none;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      font-size: 0.9rem;
      margin-top: 8px;
    }
    .submit-fields-btn:hover { background: var(--primary-dark); }
    
    /* Edit Options Styles */
    .edit-options {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 12px;
    }
    .edit-option-btn {
      background: white;
      color: var(--text-primary);
      border: 2px solid var(--border);
      padding: 10px 18px;
      border-radius: 8px;
      font-weight: 500;
      cursor: pointer;
      font-size: 0.875rem;
      transition: all 0.2s;
    }
    .edit-option-btn:hover {
      border-color: var(--primary);
      background: var(--primary-light);
      color: var(--primary-dark);
    }
    
    /* File Upload Styles */
    .field-control input[type="file"] {
      padding: 10px;
      border: 2px dashed var(--border);
      border-radius: 8px;
      background: var(--bg-input);
      cursor: pointer;
      width: 100%;
      font-size: 0.85rem;
    }
    .field-control input[type="file"]:hover {
      border-color: var(--primary);
      background: var(--primary-light);
    }
    .file-preview {
      margin-top: 8px;
    }
    
    /* Field List (for conversational prompts) */
    .field-list { margin-top: 10px; }
    .field-list .required { color: var(--error); margin-left: 2px; }
    
    /* Summary */
    .summary-table { margin-top: 12px; width: 100%; border-collapse: collapse; }
    .summary-table tr { border-bottom: 1px solid var(--border); }
    .summary-table td { padding: 10px 0; font-size: 0.85rem; }
    .summary-table td:first-child { color: var(--text-secondary); width: 40%; }
    .summary-table td:last-child { font-weight: 500; }
    
    /* Input Area */
    .chat-input-area {
      padding: 12px 20px 16px;
      background: var(--bg);
      border-top: 1px solid var(--border);
      position: sticky;
      bottom: 0;
    }
    .chat-panel.landing-mode .chat-input-area {
      margin-top: 16px;
    }
    .input-container {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px;
      border-radius: 999px;
      background: #ffffff;
      border: 1px solid var(--border);
      box-shadow: none;
      max-width: 760px;
      margin: 0 auto;
      position: relative;
    }
    .chat-input {
      flex: 1;
      padding: 14px 48px 14px 16px;
      background: transparent;
      border: none;
      border-radius: 999px;
      color: var(--text-primary);
      font-size: 0.95rem;
    }
    .chat-input:focus { outline: none; box-shadow: 0 0 0 3px var(--primary-light); }
    .chat-input:disabled { background: #f1f5f9; color: #94a3b8; }
    .send-btn {
      width: 32px;
      height: 32px;
      padding: 0;
      background: #0f172a;
      border: none;
      border-radius: 50%;
      color: #ffffff;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
    }
    .landing {
      max-width: 920px;
      margin: 0 auto;
      padding: 44px 20px 18px;
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .landing.hidden { display: none; }
    .landing-title {
      font-size: 1.85rem;
      font-weight: 700;
      color: var(--text-primary);
    }
    .landing-subtitle {
      font-size: 0.95rem;
      color: var(--text-secondary);
    }
    .send-btn:disabled { background: #cbd5e1; cursor: not-allowed; }
    .quick-actions { display: flex; gap: 8px; margin: 12px auto 0; flex-wrap: wrap; max-width: 760px; }
    .quick-action {
      padding: 8px 14px;
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: 999px;
      color: var(--text-primary);
      font-size: 0.8rem;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.2s;
    }
    .quick-action.primary {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }
    .quick-action.primary:hover {
      background: #0c4a6e;
      border-color: #0c4a6e;
    }
    .quick-action.danger {
      background: #ef4444;
      color: white;
      border-color: #ef4444;
    }
    .quick-action.danger:hover {
      background: #dc2626;
      border-color: #dc2626;
    }
    .quick-action.secondary {
      background: transparent;
      color: var(--text-secondary);
    }
    .quick-action:hover { background: var(--primary); color: white; border-color: var(--primary); }
    
    /* Progress */
    .progress-container { margin-top: 12px; background: var(--border); border-radius: 10px; padding: 3px; }
    .progress-bar { height: 6px; background: linear-gradient(90deg, var(--primary), #f97316); border-radius: 10px; transition: width 0.3s; }
    .progress-text { font-size: 0.75rem; color: var(--text-secondary); margin-top: 6px; text-align: right; }
    
    /* Loading */
    .loading { display: flex; gap: 6px; padding: 10px; }
    .loading span { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: bounce 1.4s infinite ease-in-out; }
    .loading span:nth-child(1) { animation-delay: -0.32s; }
    .loading span:nth-child(2) { animation-delay: -0.16s; }
    @keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }
    
    /* Scrollbar */
    .chat-messages::-webkit-scrollbar { width: 6px; }
    .chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
    
    /* Sample prompts */
    .prompt-section {
      margin-top: 8px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .prompt-title {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .prompt-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
    }
    .prompt-card {
      border: 1px solid rgba(229,231,235,0.9);
      background: #ffffff;
      border-radius: 18px;
      padding: 0;
      cursor: pointer;
      transition: all 0.2s;
      min-height: 140px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      box-shadow: 0 8px 18px rgba(31,41,55,0.08);
      overflow: hidden;
    }
    .prompt-card:hover {
      border-color: var(--primary);
      background: #ffffff;
      transform: translateY(-2px);
    }
    .prompt-card-media {
      height: 88px;
      background: #f3f4f6;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
    }
    .prompt-card-body {
      padding: 10px 12px 12px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .prompt-card-title {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--text-primary);
    }
    .prompt-card-subtitle {
      font-size: 0.75rem;
      color: var(--text-secondary);
    }
    .chat-footer {
      text-align: center;
      font-size: 0.7rem;
      color: var(--text-secondary);
      padding: 10px 18px 22px;
    }
    .chat-footer a { color: inherit; }

    /* Documentation Panel (Redocly) */
    .docs-panel {
      background: var(--bg-card);
      border-radius: 16px;
      padding: 0;
      position: fixed;
      top: 58px;
      right: 18px;
      width: 65vw;
      max-width: 900px;
      height: calc(100vh - 80px);
      z-index: 10;
      box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
      border: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .docs-panel.hidden { display: none; }
    .docs-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      border-bottom: 1px solid var(--border);
      background: var(--bg-card);
      flex-shrink: 0;
    }
    .docs-header h2 {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-primary);
      margin: 0;
    }
    .docs-header-actions {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .docs-external-link {
      font-size: 0.75rem;
      color: var(--primary);
      text-decoration: none;
      padding: 4px 10px;
      border: 1px solid var(--primary);
      border-radius: 6px;
      transition: all 0.2s;
    }
    .docs-external-link:hover {
      background: var(--primary);
      color: white;
    }
    .docs-close-btn {
      background: none;
      border: none;
      font-size: 1rem;
      cursor: pointer;
      color: var(--text-secondary);
      padding: 4px 8px;
      border-radius: 4px;
    }
    .docs-close-btn:hover { background: var(--bg); }
    .docs-body-iframe {
      flex: 1;
      overflow: hidden;
    }
    .docs-body-iframe iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    
    @media (max-width: 900px) {
      .docs-panel {
        width: calc(100% - 24px);
        right: 12px;
        top: 50px;
        height: calc(100vh - 70px);
      }
    }

    /* Tutorial Modal */
    .tutorial-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10000;
      animation: fadeIn 0.3s;
    }
    .tutorial-modal.active { display: flex; }
    .tutorial-content {
      background: white;
      border-radius: 16px;
      max-width: 600px;
      width: 90%;
      max-height: 80vh;
      overflow-y: auto;
      padding: 30px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      animation: slideUp 0.3s;
    }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes slideUp { from { transform: translateY(20px); } to { transform: translateY(0); } }
    .tutorial-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 2px solid #f0f0f0;
    }
    .tutorial-header h2 { color: #333; font-size: 22px; margin: 0; }
    .tutorial-close {
      background: none;
      border: none;
      font-size: 32px;
      cursor: pointer;
      color: #999;
      line-height: 1;
      padding: 0;
      transition: color 0.2s;
    }
    .tutorial-close:hover { color: #333; }
    .tutorial-step {
      margin-bottom: 25px;
    }
    .tutorial-step h3 {
      color: var(--primary);
      font-size: 18px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
    }
    .tutorial-step .step-number {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      font-size: 14px;
      margin-right: 10px;
      flex-shrink: 0;
    }
    .tutorial-step p {
      color: #666;
      line-height: 1.6;
      margin-bottom: 10px;
    }
    .tutorial-step ul {
      margin-left: 20px;
      color: #666;
      line-height: 1.6;
    }
    .tutorial-step ul li { margin-bottom: 5px; }
    .tutorial-example {
      background: #f8f9fa;
      border-left: 3px solid var(--primary);
      padding: 12px;
      margin-top: 10px;
      border-radius: 4px;
    }
    .tutorial-example strong {
      color: var(--primary);
      display: block;
      margin-bottom: 5px;
      font-size: 14px;
    }
    .tutorial-example p {
      margin: 0;
      font-size: 14px;
      color: #555;
      line-height: 1.4;
    }
    .tutorial-tip {
      background: #fff3cd;
      border-left: 3px solid #ffc107;
      padding: 15px;
      margin-top: 15px;
      border-radius: 4px;
    }
    .tutorial-tip strong {
      color: #856404;
      display: block;
      margin-bottom: 8px;
    }
    .tutorial-tip p {
      color: #856404;
      margin: 0;
      font-size: 14px;
      line-height: 1.6;
    }

    /* API Guide Modal Specific Styles */
    .api-guide-content {
      max-width: 700px;
    }
    .api-guide-intro {
      text-align: center;
      color: #666;
      margin-bottom: 25px;
      font-size: 16px;
    }
    .api-links {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .api-link {
      display: block;
      background: #f8f9fa;
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      padding: 14px 16px;
      text-decoration: none;
      color: var(--primary);
      transition: all 0.2s;
      font-weight: 500;
    }
    .api-link:hover {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
      transform: translateX(4px);
    }
    .api-link-desc {
      display: block;
      font-size: 13px;
      color: #6b7280;
      font-weight: normal;
      margin-top: 4px;
    }
    .api-link:hover .api-link-desc {
      color: rgba(255, 255, 255, 0.8);
    }
    .code-example {
      background: #1e293b;
      border-radius: 8px;
      overflow: hidden;
      margin-top: 12px;
    }
    .code-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 14px;
      background: #0f172a;
      border-bottom: 1px solid #334155;
      color: #94a3b8;
      font-size: 12px;
    }
    .code-copy {
      background: #334155;
      color: white;
      border: none;
      padding: 4px 10px;
      border-radius: 4px;
      font-size: 11px;
      cursor: pointer;
      transition: background 0.2s;
    }
    .code-copy:hover {
      background: #475569;
    }
    .code-example pre {
      margin: 0;
      padding: 16px;
      overflow-x: auto;
    }
    .code-example code {
      font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
      font-size: 13px;
      line-height: 1.6;
      color: #e2e8f0;
    }
    .api-footer {
      margin-top: 25px;
      padding-top: 20px;
      border-top: 2px solid #f0f0f0;
      text-align: center;
    }
    .btn-api-guide {
      display: inline-block;
      background: var(--primary);
      color: white;
      padding: 12px 24px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.2s;
    }
    .btn-api-guide:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
    }
    @media (max-width: 768px) {
      .tutorial-content, .api-guide-content {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
      }
      .code-example code {
        font-size: 12px;
      }
    }

    /* Developer Panel - Fixed Right Side */
    .developer-panel {
      position: fixed;
      right: -420px;
      top: 0;
      width: 400px;
      height: 100vh;
      background: white;
      box-shadow: -4px 0 20px rgba(0,0,0,0.1);
      display: flex;
      flex-direction: column;
      z-index: 1000;
      transition: right 0.3s ease;
    }
    .developer-panel:not(.hidden) {
      right: 0;
    }
    @media (max-width: 768px) {
      .developer-panel {
        width: 100%;
        right: -100%;
      }
    }
    .developer-header {
      background: #f8f9fa;
      padding: 16px 20px;
      border-bottom: 1px solid #e5e7eb;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-shrink: 0;
    }
    .developer-header h3 {
      font-size: 15px;
      font-weight: 600;
      color: #1a202c;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .api-count {
      background: #e0e7ff;
      color: #4338ca;
      font-size: 11px;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 12px;
    }
    .developer-clear {
      background: none;
      border: none;
      color: #64748b;
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 13px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .developer-clear:hover {
      background: #e2e8f0;
      color: #1e293b;
    }
    .developer-content {
      flex: 1;
      overflow-y: auto;
      padding: 0;
      background: #fafafa;
    }
    .developer-empty {
      text-align: center;
      color: #94a3b8;
      font-size: 13px;
      padding: 60px 30px;
      line-height: 1.8;
    }
    
    /* Collapsible API Call Items */
    .api-call {
      background: white;
      border-bottom: 1px solid #e5e7eb;
      cursor: pointer;
      transition: background 0.2s;
      animation: slideIn 0.3s ease;
    }
    .api-call:hover {
      background: #f8f9fa;
    }
    .api-call.expanded {
      background: #f8f9fa;
    }
    @keyframes slideIn {
      from { opacity: 0; transform: translateX(20px); }
      to { opacity: 1; transform: translateX(0); }
    }
    
    .api-call-summary {
      padding: 14px 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
    }
    .api-call-info {
      flex: 1;
      min-width: 0;
    }
    .api-call-method {
      font-weight: 600;
      color: #0066ff;
      font-size: 12px;
      font-family: 'Monaco', 'Courier New', monospace;
    }
    .api-call-method.POST { color: #10b981; }
    .api-call-method.PATCH { color: #f59e0b; }
    .api-call-method.DELETE { color: #ef4444; }
    .api-call-path {
      font-size: 11px;
      color: #64748b;
      font-family: 'Monaco', 'Courier New', monospace;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-top: 2px;
    }
    .api-call-status {
      font-size: 10px;
      padding: 3px 8px;
      border-radius: 4px;
      background: #dcfce7;
      color: #166534;
      font-weight: 600;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .api-call-status.error {
      background: #fee2e2;
      color: #991b1b;
    }
    .api-call-status.pending {
      background: #fef3c7;
      color: #92400e;
    }
    
    /* Expanded Details */
    .api-call-details {
      display: none;
      padding: 0 16px 16px 16px;
      border-top: 1px solid #e5e7eb;
      background: white;
    }
    .api-call.expanded .api-call-details {
      display: block;
    }
    .api-section {
      margin-top: 12px;
    }
    .api-section-title {
      font-size: 11px;
      font-weight: 600;
      color: #475569;
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .api-call-body {
      background: #f8f9fa;
      border: 1px solid #e5e7eb;
      color: #1e293b;
      padding: 10px;
      border-radius: 6px;
      overflow-x: auto;
      font-size: 11px;
      font-family: 'Monaco', 'Courier New', monospace;
    }
    .api-call-body pre {
      margin: 0;
      white-space: pre-wrap;
      word-break: break-word;
      line-height: 1.6;
    }
    .api-call-body pre .key {
      color: #0066ff;
    }
    .api-call-body pre .string {
      color: #22c55e;
    }
    .api-call-body pre .number {
      color: #f59e0b;
    }
