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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  background: #ffffff;
}

.taskpane {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.taskpane-header {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e5e5;
  background: #f8f8f8;
}

.taskpane-logo {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}

.taskpane-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.taskpane-footer {
  padding: 10px 16px;
  border-top: 1px solid #e5e5e5;
  font-size: 12px;
  color: #666;
}

.taskpane-footer a {
  color: #666;
  text-decoration: none;
}

.taskpane-footer a:hover {
  text-decoration: underline;
}

.status-bar {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
}

.status-bar--loading {
  background: #f0f4ff;
  color: #4466cc;
}

.status-bar--error {
  background: #fff0f0;
  color: #cc2222;
}

.insert-btn {
  width: 100%;
  padding: 10px 16px;
  background: #1a1a1a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.insert-btn:hover:not(:disabled) {
  background: #333333;
}

.insert-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
