:root {
  --gs-bg: #f6f4f1;
  --gs-ink: #1b1b1b;
  --gs-muted: #6a6461;
  --gs-accent: #0e7c7b;
  --gs-card: #ffffff;
  --gs-border: #e1d9d4;
  --gs-radius: 18px;
  --gs-font: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--gs-font);
  color: var(--gs-ink);
  background: var(--gs-bg);
}

.gs-app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  overflow-x: hidden;
}

.gs-hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--gs-card);
  border-radius: var(--gs-radius);
  border: 1px solid var(--gs-border);
}

.gs-hero--compact { align-items: center; padding: 12px 14px; }
.gs-hero-left { flex: 1; min-width: 0; }
.gs-hero-right { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.gs-contact { text-align: right; font-size: 13px; color: var(--gs-muted); line-height: 1.4; }
.gs-logo { width: 120px; height: auto; margin-bottom: 6px; }
.gs-hero-left h1 {
  margin: 8px 0 4px;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.08;
}
.gs-hero-left p {
  margin: 0;
  font-size: 14px;
  color: var(--gs-muted);
}

.gs-chip {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e7f4f3;
  color: var(--gs-accent);
  font-size: 12px;
  font-weight: 600;
}
.gs-chip-row {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.gs-chip--country {
  background: #f1ebe6;
  color: #3b3430;
}
.gs-lang-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f4f1ed;
}
.gs-lang-inline .gs-label {
  margin: 0;
  font-size: 11px;
  white-space: nowrap;
}
.gs-input--compact {
  min-width: 200px;
  width: 220px;
  padding: 8px 10px;
  border-radius: 999px;
}

.gs-actions { display: flex; gap: 10px; }
.gs-userbox {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid var(--gs-border);
  border-radius: 12px;
  background: #faf7f4;
}
.gs-userbox[hidden] {
  display: none !important;
}
.gs-userline {
  font-size: 12px;
  line-height: 1.2;
  color: #2e2825;
}
.gs-userline--muted {
  color: var(--gs-muted);
}

.gs-btn {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gs-accent);
  color: white;
  text-decoration: none;
  border: 1px solid transparent;
}
.gs-btn[hidden] {
  display: none !important;
}

.gs-btn--ghost {
  background: transparent;
  color: var(--gs-accent);
  border: 1px solid var(--gs-accent);
}
.gs-btn--danger {
  background: #f5ece8;
  color: #7e2d14;
  border: 1px solid #ddb8ac;
}

.gs-toolbar {
  display: flex;
  gap: 12px;
  margin: 12px 0;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.gs-input, .gs-select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--gs-border);
  background: white;
  min-width: 260px;
  width: min(100%, 260px);
}

.gs-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gs-label {
  font-size: 12px;
  color: var(--gs-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gs-help {
  font-size: 12px;
  color: var(--gs-muted);
}

.gs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gs-card {
  background: var(--gs-card);
  border-radius: var(--gs-radius);
  border: 1px solid var(--gs-border);
  padding: 16px;
  overflow-wrap: anywhere;
}

.gs-card h3 { margin: 0 0 6px; font-size: 18px; }
.gs-card p { margin: 0; color: var(--gs-muted); font-size: 14px; }

.gs-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1ebe6;
  font-size: 12px;
  margin-top: 10px;
}

.gs-detail {
  margin-top: 20px;
  background: var(--gs-card);
  border-radius: var(--gs-radius);
  border: 1px solid var(--gs-border);
  padding: 20px;
}

.gs-section { margin-bottom: 20px; }
.gs-section h4 { margin: 0 0 8px; }
.gs-list { margin: 0; padding-left: 18px; color: var(--gs-muted); }
.gs-muted { color: var(--gs-muted); }

@media (max-width: 768px) {
  .gs-app { padding: 16px 12px 40px; }
  .gs-hero { flex-direction: column; align-items: flex-start; }
  .gs-hero-right { align-items: flex-start; width: 100%; }
  .gs-contact { text-align: left; }
  .gs-toolbar { flex-direction: column; align-items: stretch; }
  .gs-input, .gs-select { min-width: 0; width: 100%; }
  .gs-field { width: 100%; }
  .gs-actions { width: 100%; flex-wrap: wrap; }
  .gs-btn { width: 100%; justify-content: center; }
  .gs-userbox { width: 100%; align-items: flex-start; }
  .gs-btn--danger { width: 100%; justify-content: center; }
  .gs-grid { grid-template-columns: 1fr; gap: 12px; }
  .gs-card { padding: 14px; }
  .gs-detail { padding: 14px; }
  .gs-lang-inline { width: 100%; border-radius: 12px; justify-content: space-between; }
  .gs-input--compact { min-width: 0; width: 100%; max-width: 100%; }
}
