.gp-shortcode-wrap * { box-sizing: border-box; }
.gp-shortcode-wrap { width: 100%; }
.gp-app {
  color: #0f172a;
  font-family: Arial, Helvetica, sans-serif;
}
.gp-hero,
.gp-section,
.gp-message {
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}
.gp-hero { padding: 24px; }
.gp-hero h1 { margin: 12px 0 8px; font-size: 34px; line-height: 1.15; }
.gp-hero p { margin: 0; color: #475569; }
.gp-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 13px;
}
.gp-message {
  margin-top: 16px;
  padding: 14px 16px;
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}
.gp-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 24px;
}
.gp-left,
.gp-right { display: grid; gap: 24px; }
.gp-section { padding: 24px; }
.gp-section-dark {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}
.gp-section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.gp-section-title-dark { color: #ffffff; }
.gp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.gp-card,
.gp-plan-card,
.gp-saved-card,
.gp-custom-row,
.gp-empty,
.gp-empty-light {
  border-radius: 20px;
}
.gp-card {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 16px;
}
.gp-card-active {
  border-color: #34d399;
  background: #ecfdf5;
}
.gp-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.gp-title { font-weight: 700; }
.gp-subtitle { font-size: 13px; color: #64748b; }
.gp-section-dark .gp-subtitle { color: #cbd5e1; }
.gp-text { margin: 12px 0 0; color: #475569; font-size: 14px; }
.gp-check {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #059669;
  color: #ffffff;
  font-weight: 700;
}
.gp-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.gp-top { margin-top: 16px; }
.gp-btn {
  appearance: none;
  border: none;
  border-radius: 16px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.1;
}
.gp-btn-dark { background: #0f172a; color: #ffffff; }
.gp-btn-light { background: #ffffff; color: #0f172a; border: 1px solid #cbd5e1; }
.gp-btn-green { background: #10b981; color: #ffffff; }
.gp-btn-white { background: #ffffff; color: #0f172a; }
.gp-btn-danger { background: #fff1f2; color: #be123c; border: 1px solid #fecdd3; }
.gp-btn-icon { padding: 10px 14px; }
.gp-full { width: 100%; margin-top: 14px; }
.gp-plan-card {
  background: rgba(255,255,255,0.06);
  padding: 16px;
  margin-top: 16px;
}
.gp-plan-title { font-weight: 700; font-size: 18px; }
.gp-plan-subtitle { font-size: 13px; color: #cbd5e1; }
.gp-plan-item {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 12px;
  margin-top: 10px;
}
.gp-plan-item-title { font-weight: 700; }
.gp-plan-item-text { margin-top: 4px; font-size: 14px; color: #cbd5e1; }
.gp-plan-item-date { margin-top: 8px; font-size: 14px; font-weight: 700; color: #86efac; }
.gp-empty {
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
  padding: 16px;
  margin-top: 16px;
}
.gp-empty-light {
  background: #f8fafc;
  color: #475569;
  padding: 16px;
  border: 1px solid #e2e8f0;
}
.gp-saved-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px;
  margin-top: 12px;
}
.gp-custom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  margin-top: 12px;
}
.gp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.74);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
}
.gp-modal {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.gp-modal-image-wrap { position: relative; height: 320px; background: #e2e8f0; }
.gp-modal-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.gp-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  font-size: 28px;
  cursor: pointer;
}
.gp-modal-body { padding: 24px; }
.gp-modal-body h2 { margin: 0; font-size: 30px; }
.gp-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.gp-box {
  border-radius: 18px;
  background: #f8fafc;
  padding: 16px;
}
.gp-box-title { font-weight: 700; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 12px 14px;
  font: inherit;
  background: #ffffff;
}
textarea { min-height: 96px; resize: vertical; }
.gp-span-2 { grid-column: span 2; }
@media (max-width: 980px) {
  .gp-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .gp-grid,
  .gp-cards,
  .gp-modal-grid {
    grid-template-columns: 1fr;
  }
  .gp-span-2 { grid-column: span 1; }
  .gp-hero h1 { font-size: 28px; }
}
