:root {
  --bg: #08111f;
  --panel: #101d30;
  --panel2: #14243a;
  --text: #edf5ff;
  --muted: #9fb1c7;
  --line: #253852;
  --cyan: #51d6e8;
  --green: #55d98b;
  --yellow: #ffd166;
  --pink: #ff65b5;
  --gray: #7d8da3;
  --danger: #ff7b7b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 80% -10%, #163a52 0, transparent 34%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}
a {
  color: var(--cyan);
}
.shell {
  width: min(1180px, calc(100% - 28px));
  margin: auto;
  padding: 24px 0 54px;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.brand h1 {
  font-size: clamp(1.55rem, 4vw, 2.45rem);
  margin: 0;
}
.brand p {
  color: var(--muted);
  margin: 0.35rem 0 0;
}
.pill,
.btn {
  border: 1px solid var(--line);
  background: #14243a;
  color: var(--text);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  text-decoration: none;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
}
.btn {
  cursor: pointer;
  font-weight: 700;
}
.btn.primary {
  background: var(--cyan);
  color: #06202a;
  border-color: transparent;
}
.btn.danger {
  color: #ffc2c2;
}
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.card {
  grid-column: span 12;
  background: linear-gradient(
    145deg,
    rgba(20, 36, 58, 0.96),
    rgba(12, 26, 44, 0.98)
  );
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}
.card h2 {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfe6fb;
  margin: 0 0 14px;
}
.weather {
  grid-column: span 12;
}
.todos {
  grid-column: span 5;
}
.map-card {
  grid-column: span 7;
}
.plans,
.places,
.agenda-card,
.calendar-card,
.gallery-card,
.community-card {
  grid-column: span 12;
}
.booking-top,
.discount-card,
.goals-card {
  grid-column: span 12;
}
.booking-top .booking-watch {
  margin: 0;
}
.discount-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.discount-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  padding: 15px;
  border: 1px solid rgba(81, 214, 232, .22);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 32, 52, .96), rgba(8, 21, 37, .98));
}
.discount-item h3 { margin: 0; font-size: 1.02rem; }
.discount-item p { margin: 0; color: var(--muted); line-height: 1.45; }
.goals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.goal-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(81, 214, 232, .22);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(14, 32, 52, .96), rgba(8, 21, 37, .98));
}
.goal-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.goal-head h3 { margin: 3px 0 0; font-size: 1.08rem; }
.goal-kicker { color: var(--muted); font-size: .76rem; }
.goal-percent { color: var(--cyan); font-size: 1.12rem; }
.goal-item > p { color: var(--muted); line-height: 1.45; margin: 10px 0; }
.goal-progress { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(125,141,163,.22); }
.goal-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--cyan),var(--green)); }
.goal-next { display: grid; gap: 3px; margin: 13px 0; padding: 11px; border: 1px solid rgba(255,209,102,.3); border-radius: 12px; background: rgba(255,209,102,.08); }
.goal-next strong { color: var(--yellow); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.goal-next small { color: var(--muted); line-height: 1.35; }
.goal-next-action { margin-top: 7px; }
.goal-next-action .btn { width: fit-content; padding: 7px 10px; font-size: .76rem; }
.goal-next.is-done { border-color: rgba(85,217,139,.3); background: rgba(85,217,139,.08); }
.goal-next.is-done strong { color: var(--green); }
.goal-step-list { margin-top: 11px; }
.goal-step-list > summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #cfe6fb;
  font-size: .8rem;
  font-weight: 800;
  background: rgba(7,18,34,.55);
}
.goal-step-list > summary::-webkit-details-marker { display: none; }
.goal-step-list > summary::after { content: "＋"; float: right; color: var(--cyan); }
.goal-step-list[open] > summary::after { content: "−"; }
.goal-step-list[open] > summary { margin-bottom: 8px; }
.goal-steps { display: grid; gap: 7px; }
.goal-step button { width: 100%; display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 8px; align-items: start; text-align: left; color: var(--text); border: 1px solid var(--line); border-radius: 11px; background: rgba(7,18,34,.65); padding: 9px; cursor: pointer; }
.goal-step button:hover { border-color: rgba(81,214,232,.55); }
.goal-step small { display: block; margin-top: 3px; color: var(--muted); line-height: 1.35; }
.goal-check { color: var(--cyan); font-size: 1.18rem; line-height: 1; }
.goal-step.is-done { opacity: .62; }
.goal-step.is-done strong { text-decoration: line-through; }
.goal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; }
.goal-source { display: inline-flex; color: var(--cyan); font-size: .8rem; }
.goal-add-step { margin-top: 0; }
.goal-add { margin-top: 13px; }
.goal-add-step summary, .goal-add summary { cursor: pointer; color: #cfe6fb; font-weight: 700; }
.goal-add-step form, .goal-add form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)) auto; gap: 9px; align-items: end; margin-top: 10px; }
.goal-add-step label, .goal-add label { display: grid; gap: 5px; color: var(--muted); font-size: .78rem; }
.goal-add-step input, .goal-add input { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #071222; color: var(--text); padding: 10px; }
.discount-meta,
.discount-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: .76rem;
}
.discount-saving { color: #bff5d1; font-weight: 850; font-size: .84rem; }
.discount-provider { color: #bff5ff !important; font-weight: 750; }
.discount-price {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(85, 217, 139, .08);
}
.discount-price strong { color: #d9f6ff; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.discount-foot { margin-top: auto; align-items: center; }
.checked-label {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  white-space: nowrap;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 14px;
}
.gallery-item {
  position: relative;
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: #0b1727;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-item:hover img { transform: scale(1.035); }
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(circle at 30% 20%, #284a60 0, #12263a 45%, #08111f 100%);
}
.gallery-empty {
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.location-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}
.location-filter {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--text);
  background: #0b1727;
  font: inherit;
  font-size: .82rem;
  font-weight: 750;
  cursor: pointer;
}
.location-filter:hover,
.location-filter.is-active {
  color: #07101c;
  border-color: #8be9f7;
  background: #8be9f7;
}
.place[hidden] { display: none; }
.places [data-location-category="region"] { display: none; }
.region-places { grid-column: span 12; }
.region-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
}
.region-filters label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 750;
}
.region-filters select {
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 34px 10px 11px;
  color: var(--text);
  background: #0b1727;
  font: inherit;
}
.place-distance {
  color: #bff5ff;
  font-size: .82rem;
}
.place-event,
.place-special {
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(81, 214, 232, .08);
}
.place-special { background: rgba(255, 209, 102, .09); }
.place-event strong,
.place-special strong { color: #d9f6ff; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; }
.place-event a { font-size: .82rem; font-weight: 750; }
.leisure-finder { grid-column: span 12; }
.leisure-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 16px;
}
.leisure-filters label,
.leisure-form label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 750;
}
.leisure-filters select,
.leisure-form select,
.leisure-form input {
  min-width: 190px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 11px;
  color: var(--text);
  background: #0b1727;
  font: inherit;
}
.leisure-category { color: #bff5ff; font-size: .82rem; font-weight: 750; }
.leisure-add {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(8, 17, 31, .42);
}
.leisure-add summary { cursor: pointer; font-weight: 800; color: #d9f6ff; }
.leisure-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.leisure-form .btn { align-self: end; min-height: 42px; }
@media (max-width: 680px) {
  .leisure-filters,
  .leisure-form { display: grid; grid-template-columns: 1fr; }
  .leisure-filters select,
  .leisure-form select,
  .leisure-form input { width: 100%; min-width: 0; }
}
.gallery-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,10,18,.05) 20%, rgba(3,10,18,.94) 100%);
}
.gallery-copy {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 6px;
  padding: 16px;
}
.gallery-copy small { color: #bff5ff; font-weight: 800; }
.gallery-copy strong { line-height: 1.25; }
.gallery-copy em { color: #c3d1df; font-size: .73rem; font-style: normal; }
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-top: 14px;
}
.community-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #0b1727;
  border-radius: 15px;
  padding: 13px;
}
.community-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.community-meta span {
  color: #bfeffc;
  background: rgba(81, 214, 232, .1);
  border-radius: 999px;
  padding: 4px 7px;
  font-size: .69rem;
  font-weight: 800;
}
.community-item h3 { margin: .65rem 0 .2rem; font-size: .96rem; }
.community-item p { margin: .28rem 0; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.community-item .community-sport { color: #dceafa; font-weight: 750; }
.community-item .dot { margin-right: 7px; width: 9px; height: 9px; }
.community-item .btn { margin-top: auto; justify-content: center; font-size: .77rem; }
.agenda-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.agenda-event {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  background: #0b1727;
  border-radius: 14px;
  padding: 12px;
}
.agenda-date {
  text-align: center;
  background: rgba(81, 214, 232, 0.12);
  border-radius: 10px;
  padding: 8px 4px;
}
.agenda-date strong,
.agenda-date span { display: block; }
.agenda-date strong { color: var(--cyan); font-size: 1rem; }
.agenda-date span { color: var(--muted); font-size: .72rem; }
.agenda-event h3 { margin: .25rem 0; font-size: .96rem; }
.agenda-event p { margin: .25rem 0; color: var(--muted); font-size: .82rem; }
.booking-watch {
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(255, 101, 181, 0.4);
  background: linear-gradient(135deg, rgba(255, 101, 181, 0.09), rgba(81, 214, 232, 0.05));
  border-radius: 16px;
}
.booking-watch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.booking-watch-head h3 { margin: 0; font-size: 1.05rem; }
.booking-watch-head p { margin: .35rem 0 0; color: var(--muted); font-size: .84rem; }
.booking-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 13px;
}
.booking-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #0b1727;
  border-radius: 14px;
  padding: 12px;
}
.booking-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: .73rem;
}
.booking-meta .status { color: var(--text); }
.booking-item h4 { margin: .65rem 0 .25rem; font-size: .96rem; line-height: 1.3; }
.booking-item p { margin: .3rem 0; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.booking-item .booking-place { color: #c9d9e9; }
.booking-item .booking-deadline { color: var(--pink); }
.booking-item .booking-cost {
  color: #dff8e8;
  background: rgba(45, 211, 111, .09);
  border: 1px solid rgba(45, 211, 111, .22);
  border-radius: 9px;
  padding: 7px 8px;
}
.booking-actions {
  display: grid;
  gap: 7px;
  margin-top: auto;
  padding-top: 10px;
}
.booking-actions .btn,
.booking-actions form,
.booking-actions button { width: 100%; justify-content: center; }
.booking-dismiss { background: transparent; color: var(--muted); font-size: .78rem; }
.calendar-head {
  align-items: center;
}
.calendar-nav {
  display: flex;
  gap: 8px;
}
.calendar-nav .btn {
  justify-content: center;
  min-width: 44px;
}
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}
.calendar-day {
  min-width: 0;
  background: #0b1727;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}
.calendar-day.today {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(81, 214, 232, 0.2);
}
.calendar-day > header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.calendar-day.today > header {
  background: rgba(81, 214, 232, 0.12);
  color: var(--text);
}
.day-events {
  padding: 8px;
}
.calendar-empty {
  color: #667b94;
  font-size: 0.82rem;
  margin: 3px;
}
.calendar-event {
  border-left: 3px solid var(--cyan);
  background: #13253b;
  border-radius: 9px;
  padding: 9px;
}
.calendar-event + .calendar-event {
  margin-top: 8px;
}
.event-category,
.calendar-event time {
  display: block;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.calendar-event time {
  color: #dbeafa;
  margin: 3px 0;
}
.calendar-event h3 {
  font-size: 0.88rem;
  line-height: 1.3;
  margin: 0.25rem 0;
}
.calendar-event p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
  margin: 0.35rem 0;
}
.calendar-event .event-notes {
  color: #c8d8e8;
}
.calendar-event a {
  font-size: 0.75rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.metric {
  background: #0b1727;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px;
}
.metric b {
  display: block;
  font-size: 1.25rem;
}
.metric small,
.muted {
  color: var(--muted);
}
.sport-grid,
.place-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.sport,
.place {
  background: #0b1727;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.section-head p {
  margin: 0.35rem 0 0;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #0b1727;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.plan-title {
  display: flex;
  gap: 10px;
  align-items: center;
}
.plan-icon {
  font-size: 1.6rem;
}
.plan h3 {
  margin: 0 0 0.3rem;
}
.plan p {
  color: var(--muted);
  margin: 0.75rem 0 0;
}
.plan .plan-next {
  color: #d9e9f8;
  margin-bottom: 14px;
}
.plan .plan-cost {
  color: #dff8e8;
  background: rgba(45, 211, 111, .09);
  border-left: 3px solid var(--green);
  border-radius: 6px;
  padding: 7px 9px;
  width: 100%;
}
.plan .btn {
  margin-top: auto;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 800;
}
.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.green {
  background: var(--green);
}
.yellow {
  background: var(--yellow);
}
.pink {
  background: var(--pink);
}
.gray {
  background: var(--gray);
}
.todo-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.todo-row:last-child {
  border: 0;
}
.todo-row form {
  margin: 0;
}
.todo-title.done {
  text-decoration: line-through;
  color: var(--muted);
}
.inline-form {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.inline-form input {
  flex: 1;
  min-width: 0;
  background: #091524;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
}
.icon-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem;
}
.map {
  height: 410px;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1727;
}
.map-popup {
  min-width: 220px;
  color: #152235;
}
.map-popup > b {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 7px;
}
.map-popup > small {
  display: block;
  margin-top: 5px;
  color: #43546b;
}
.map-popup > p {
  color: #43546b;
  margin: 7px 0;
}
.map-open,
.map-closed {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
}
.map-open {
  background: #55d98b;
  color: #071c12;
}
.map-closed {
  background: #dfe6ee;
  color: #34465c;
}
.map-hours {
  margin: 9px 0;
  border-top: 1px solid #d8e0e8;
  padding-top: 7px;
}
.map-hours > strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.76rem;
}
.map-hours > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 7px;
  font-size: 0.73rem;
  padding: 1px 0;
}
.map-hours > div span:first-child {
  font-weight: 800;
}
.ferrata-difficulty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 9px 0;
  padding: 8px 10px;
  border: 1px solid #b8c7d9;
  border-radius: 10px;
  background: #eef5ff;
  color: #17375f;
  font-size: 0.86rem;
}
.ferrata-difficulty strong {
  font-weight: 900;
}
.map-popup-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.place h3 {
  margin: 0.35rem 0;
}
.place p {
  margin: 0.4rem 0;
  color: var(--muted);
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.58rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  border: 1px solid var(--line);
}
.live-badge.is-open {
  color: #071c12;
  background: var(--green);
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(85, 217, 139, 0.12);
}
.live-badge.is-open .dot {
  background: #071c12;
}
.live-badge.is-closed {
  color: #d5dfeb;
  background: #26364a;
}
.status-detail {
  display: block;
  color: #dbeafa;
  font-size: 0.78rem;
  margin: 0.5rem 0 0;
}
.opening-hours {
  margin-top: 12px;
  padding: 11px;
  border: 1px solid var(--line);
  background: rgba(20, 36, 58, 0.58);
  border-radius: 12px;
}
.opening-hours > strong {
  display: block;
  margin-bottom: 7px;
  font-size: 0.8rem;
  color: #dbeafa;
}
.hours-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  padding: 3px 0;
  color: var(--muted);
  font-size: 0.78rem;
}
.hours-row span:first-child {
  color: #dbeafa;
  font-weight: 800;
}
.place-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.notice {
  border-left: 3px solid var(--yellow);
  padding: 9px 12px;
  background: rgba(255, 209, 102, 0.08);
  color: #ffe6a6;
  border-radius: 8px;
  margin-top: 12px;
}
.error {
  color: #ffb0b0;
}
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}
.login-card {
  width: min(430px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 22px;
}
.login-card input {
  width: 100%;
  margin: 0.4rem 0 1rem;
  background: #081321;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
}
.login-card button {
  width: 100%;
  justify-content: center;
}
.source {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 14px;
}
.reminders-card { grid-column: span 12; }
.reminder-list { display: grid; gap: 12px; }
.reminder-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 209, 102, .34);
  border-radius: 16px;
  background: rgba(255, 209, 102, .055);
}
.reminder-item.urgent, .reminder-item.overdue { border-color: rgba(255, 101, 181, .55); background: rgba(255, 101, 181, .06); }
.reminder-item.done { opacity: .68; border-color: rgba(85, 217, 139, .35); }
.reminder-date { display: grid; text-align: center; padding: 10px; border-radius: 12px; background: rgba(7, 18, 34, .7); }
.reminder-date small, .reminder-date span { color: var(--muted); font-size: .75rem; }
.reminder-date strong { font-size: 1.35rem; }
.reminder-copy h3 { margin: 5px 0 7px; }
.reminder-copy p { margin: 4px 0; color: var(--muted); line-height: 1.45; }
.reminder-copy strong { color: var(--text); }
.reminder-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .82rem; }
.reminder-proposal { color: #bcd2ec !important; }
@media (max-width: 700px) {
  .reminder-item { grid-template-columns: 76px minmax(0, 1fr); align-items: start; }
  .reminder-item form { grid-column: 1 / -1; }
  .reminder-item form .btn { width: 100%; justify-content: center; }
}
@media (max-width: 1000px) {
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid,
  .community-grid,
  .discount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .week-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .todos,
  .map-card {
    grid-column: span 12;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .sport-grid,
  .place-grid,
  .plan-grid,
  .agenda-list,
  .booking-grid,
  .community-grid,
  .discount-grid,
  .goals-grid {
    grid-template-columns: 1fr;
  }
  .goal-add-step form, .goal-add form { grid-template-columns: 1fr; }
  .booking-watch-head { flex-direction: column; }
  .map {
    height: 360px;
  }
  .top,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .calendar-nav {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .shell {
    width: min(100% - 18px, 1180px);
    padding-top: 14px;
  }
  .card {
    padding: 14px;
    border-radius: 16px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metric b {
    font-size: 1.05rem;
  }
  .inline-form {
    flex-direction: column;
  }
  .inline-form .btn {
    justify-content: center;
  }
  .week-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 7px;
  }
  .calendar-day {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 7px;
  }
  .gallery-item {
    flex: 0 0 86%;
    min-height: 235px;
    scroll-snap-align: start;
  }
}

/* 2026-09 visual cleanup: clearer hierarchy, readable cards and native map filters */
.booking-top,
.discount-card,
.goals-card {
  position: relative;
  overflow: hidden;
}
.booking-top::before,
.discount-card::before,
.goals-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--cyan), var(--green));
}
.booking-top::before { background: linear-gradient(var(--pink), var(--cyan)); }
.discount-card::before { background: linear-gradient(var(--green), var(--cyan)); }
.booking-top .booking-watch {
  padding: 0;
  border: 0;
  background: transparent;
}
.booking-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.booking-item {
  padding: 16px;
  border-color: rgba(127, 157, 194, .25);
  background: linear-gradient(155deg, rgba(13, 29, 49, .98), rgba(7, 18, 33, .98));
  box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}
.booking-item h4 { font-size: 1.04rem; }
.booking-meta {
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(127, 157, 194, .16);
}
.booking-cost { margin-top: 10px !important; }
.booking-actions {
  grid-template-columns: 1fr auto;
  align-items: center;
}
.booking-actions form,
.booking-actions button { width: auto; }
.booking-actions .btn.primary { width: 100%; }
.booking-dismiss { padding-inline: 12px; }

.discount-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.discount-item {
  padding: 16px;
  border-color: rgba(85, 217, 139, .24);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
}
.discount-meta span:first-child,
.discount-saving {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
}
.discount-meta span:first-child {
  padding: 4px 8px;
  background: rgba(81, 214, 232, .1);
  color: #c9f7ff;
}
.discount-saving {
  gap: 7px;
  padding: 6px 9px;
  background: rgba(85, 217, 139, .1);
}
.discount-foot .btn { margin-left: auto; }

.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item { min-height: 190px; }
.gallery-copy { padding: 14px; }

.map-card { grid-column: span 12; }
.map { height: 520px; border: 1px solid rgba(81, 214, 232, .18); }
.map-toolbar {
  margin: 14px 0 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 18, 34, .72);
}
.map-toolbar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}
.map-toolbar-head > div:first-child { display: grid; gap: 2px; }
.map-toolbar-head strong { color: #dceeff; }
.map-toolbar-head span { color: var(--muted); font-size: .76rem; }
.map-toolbar-actions { display: flex; gap: 7px; }
.map-toolbar-actions button,
.map-filter-chip {
  appearance: none;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #0b1727;
  font: inherit;
  cursor: pointer;
}
.map-toolbar-actions button {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .74rem;
  font-weight: 800;
}
.map-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.map-filter-chip {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 11px;
  text-align: left;
  font-size: .78rem;
  line-height: 1.25;
}
.map-filter-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #51667f;
  border-radius: 6px;
  color: transparent;
  font-size: .7rem;
  font-weight: 900;
}
.map-filter-chip.is-active {
  color: var(--text);
  border-color: rgba(81, 214, 232, .42);
  background: rgba(81, 214, 232, .08);
}
.map-filter-chip.is-active .map-filter-check {
  color: #06202a;
  border-color: var(--cyan);
  background: var(--cyan);
}
.leaflet-control-layers { display: none !important; }

@media (max-width: 1000px) {
  .booking-grid,
  .discount-grid,
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .booking-grid,
  .discount-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .map-filter-grid {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 5px;
    scroll-snap-type: x proximity;
  }
  .map-filter-chip { flex: 0 0 min(78vw, 270px); scroll-snap-align: start; }
  .booking-actions { grid-template-columns: 1fr; }
  .booking-actions form,
  .booking-actions button { width: 100%; }
  .map-toolbar-head { align-items: flex-start; flex-direction: column; }
  .map-toolbar-actions { width: 100%; }
  .map-toolbar-actions button { flex: 1; }
  .map { height: 430px; }
  .goals-card { padding-inline: 12px; }
  .goal-item { padding: 13px; }
  .goal-item > p { font-size: .86rem; }
  .goal-next { margin-bottom: 10px; }
  .goal-next-action .btn { width: 100%; justify-content: center; }
}

.flight-live {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(146, 178, 217, .18);
}
.flight-live h3 { margin: 0 0 6px; }
.flight-live > p { margin: 0 0 12px; color: var(--muted); }
.flight-live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.flight-live-item {
  display: grid;
  gap: 5px;
  padding: 12px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(146, 178, 217, .2);
  border-radius: 12px;
  background: rgba(7, 18, 34, .52);
}
.flight-live-item:hover { border-color: rgba(85, 217, 139, .65); }
.flight-live-item span { color: var(--muted); font-size: .88rem; line-height: 1.4; }
@media (max-width: 850px) {
  .flight-live-grid { grid-template-columns: 1fr; }
}
