[hidden] { display: none !important; }
.topbar { flex-wrap: wrap; }
.topbar a { color: inherit; }
:root {
  --green: #176b3a;
  --green-dark: #0f4b29;
  --gold: #b88a28;
  --bg: #f5f8f2;
  --card: #ffffff;
  --line: #d8e0d2;
  --muted: #667466;
  --text: #172019;
  --danger: #a13b2d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.shell {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 16px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -16px -16px 16px;
  padding: 14px 16px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 8px 24px rgba(23, 107, 58, .18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: transparent;
  object-fit: contain;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 22px;
}

.muted {
  color: var(--muted);
}

.topbar .muted {
  color: rgba(255, 255, 255, .78);
}

.card {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 14px 34px rgba(23, 32, 25, .06);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
}

input,
select,
textarea,
button {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

textarea {
  min-height: 86px;
  resize: vertical;
}

button {
  border: 0;
  color: #fff;
  background: var(--green);
  font-weight: 800;
}

button.secondary {
  color: var(--text);
  background: #edf3ea;
}

button.danger {
  background: var(--danger);
}

button:disabled {
  opacity: .55;
}

.span-2 {
  grid-column: span 2;
}

.profile-fields,
.trip-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.profile-fields {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.profile-fields .field {
  min-width: 0;
  padding: 9px;
}

.profile-fields .field:nth-child(1),
.profile-fields .field:nth-child(2) {
  grid-column: span 3;
}

.profile-fields .field:nth-child(n+3) {
  grid-column: span 2;
}

.profile-fields .field span {
  font-size: 11px;
}

.profile-fields .field strong {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.2;
}

.field,
.trip-card {
  padding: 12px;
  border-radius: 8px;
  background: #f8faf6;
}

.field span,
.trip-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.field strong,
.trip-card strong {
  display: block;
  margin-top: 4px;
  word-break: break-word;
}

.trip-card {
  border: 1px solid var(--line);
  text-align: left;
}

.trip-card.active {
  border-color: var(--green);
  background: #eaf4ed;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.login .card {
  width: min(420px, 100%);
}

.hidden {
  display: none;
}

.error {
  margin-top: 10px;
  color: var(--danger);
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 15, 11, .52);
}

.confirm-modal {
  width: min(460px, 100%);
  padding: 24px;
  border-radius: 8px;
  background: #fff;
}

.confirm-modal h3 {
  font-size: 24px;
}

@media (max-width: 720px) {
  .shell {
    padding: 10px;
  }

  .topbar {
    margin: -10px -10px 12px;
  }

  .grid,
  .actions {
    grid-template-columns: 1fr;
  }

  .span-2 {
    grid-column: auto;
  }

  .profile-fields {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.subscription-notice{padding:14px;margin-bottom:18px;border-left:4px solid #0d5057;background:#e5f1ec;line-height:1.6;font-size:14px;overflow-wrap:anywhere}.subscription-notice a{color:#0d5057;font-weight:700}
