:root {
  color-scheme: dark;
  --bg: #080706;
  --surface: #15110d;
  --surface-2: #1f1811;
  --ink: #f7efe3;
  --muted: #b9aa96;
  --line: rgba(218, 178, 103, 0.26);
  --accent: #d8aa57;
  --accent-strong: #f0cf8b;
  --gold: #d8aa57;
  --bronze: #8b5e34;
  --rose: #c87566;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(139, 94, 52, 0.34), transparent 32rem),
    linear-gradient(180deg, #0c0907 0%, #080706 46%, #050403 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-splash {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: calc(20px + env(safe-area-inset-top)) 18px calc(20px + env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at center 18%, rgba(216, 170, 87, 0.22), transparent 17rem),
    linear-gradient(180deg, #0d0a07 0%, #050403 100%);
}

.app-splash.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 360ms ease, transform 360ms ease;
}

.splash-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(430px, calc(100vw - 36px));
  padding: 26px 18px 22px;
  border: 1px solid rgba(216, 170, 87, 0.38);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(31, 24, 17, 0.96), rgba(9, 7, 5, 0.98));
  box-shadow: var(--shadow);
  text-align: center;
}

.splash-logo {
  width: min(260px, 88%);
  max-height: 154px;
  border: 1px solid rgba(240, 207, 139, 0.48);
  border-radius: 14px;
  background: #f8f6f2;
  object-fit: contain;
}

.splash-line {
  width: min(190px, 64%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-strong), transparent);
}

.splash-card h2 {
  font-size: 30px;
  line-height: 1.05;
}

.splash-subtitle {
  max-width: 300px;
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.34;
}

.splash-credits {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(216, 170, 87, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.splash-credits p,
.splash-credits span {
  margin: 0;
}

.splash-credits p {
  color: var(--accent-strong);
  font-weight: 900;
  font-size: 16px;
}

.splash-credits span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.28;
  text-align: center;
}

.splash-credits strong {
  color: var(--ink);
  font-weight: 1000;
}

.splash-skip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.splash-skip input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.splash-enter {
  width: min(170px, 72%);
  min-height: 46px;
  padding-inline: 24px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: calc(16px + env(safe-area-inset-top)) 16px 14px;
  background: rgba(8, 7, 6, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  width: 100vw;
  max-width: 100vw;
}

.brand-lockup,
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border: 1px solid rgba(216, 170, 87, 0.55);
  border-radius: 12px;
  background: #f8f6f2;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 10px 30px rgba(216, 170, 87, 0.14);
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 21px;
  line-height: 1.1;
  font-weight: 900;
}

h2 {
  font-size: 26px;
}

main {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 14px 14px 34px;
}

.app-footer {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 0 14px calc(26px + env(safe-area-inset-bottom));
}

.manual-open {
  width: 100%;
  min-height: 46px;
  border-color: rgba(216, 170, 87, 0.34);
  background:
    linear-gradient(90deg, rgba(216, 170, 87, 0.12), transparent 45%),
    linear-gradient(180deg, #1d1711, #100d0a);
}

.brand-hero {
  display: grid;
  place-items: center;
  min-height: 176px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(216, 170, 87, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(216, 170, 87, 0.13), transparent 14rem),
    linear-gradient(180deg, rgba(27, 21, 15, 0.98), rgba(10, 8, 6, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 245, 225, 0.08), 0 16px 42px rgba(0, 0, 0, 0.22);
}

.brand-logo-original {
  width: min(255px, 86%);
  max-height: 148px;
  border: 1px solid rgba(240, 207, 139, 0.44);
  border-radius: 14px;
  background: #f8f6f2;
  object-fit: contain;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.credits-panel {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid rgba(216, 170, 87, 0.3);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 24, 17, 0.98), rgba(12, 9, 7, 0.98));
}

.credits-panel h2 {
  font-size: 21px;
  line-height: 1.1;
}

.credits-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.credits-panel strong {
  color: var(--accent-strong);
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  gap: 14px;
  min-height: 150px;
  margin-bottom: 12px;
  padding: 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle at center 20%, rgba(216, 170, 87, 0.18), transparent 12rem),
    linear-gradient(135deg, rgba(25, 18, 12, 0.98), rgba(86, 55, 28, 0.9));
  color: white;
  overflow: hidden;
  border: 1px solid rgba(216, 170, 87, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 245, 225, 0.12), 0 18px 50px rgba(0, 0, 0, 0.26);
}

.hero-panel .eyebrow {
  color: var(--accent-strong);
}

.hero-panel h2 {
  max-width: 360px;
  font-size: 24px;
  line-height: 1.08;
}

.status-pill {
  align-self: center;
  justify-self: center;
  min-width: 96px;
  padding: 8px 10px;
  border: 1px solid rgba(240, 207, 139, 0.46);
  border-radius: 8px;
  background: rgba(8, 7, 6, 0.34);
  color: #fff4d9;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  border: 1px solid rgba(216, 170, 87, 0.36);
  border-radius: 8px;
  background: linear-gradient(180deg, #1d1711, #100d0a);
  color: #ffe3a3;
  font-weight: 800;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.summary-strip div {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(216, 170, 87, 0.14), transparent 4.5rem),
    linear-gradient(180deg, rgba(31, 24, 17, 0.98), rgba(15, 12, 9, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 245, 225, 0.08), 0 12px 26px rgba(0, 0, 0, 0.2);
}

.summary-strip div:nth-child(1) {
  border-color: rgba(123, 211, 137, 0.34);
  background:
    radial-gradient(circle at top right, rgba(123, 211, 137, 0.16), transparent 4.5rem),
    linear-gradient(180deg, rgba(23, 34, 24, 0.98), rgba(12, 15, 10, 0.98));
}

.summary-strip div:nth-child(2) {
  border-color: rgba(216, 170, 87, 0.42);
  background:
    radial-gradient(circle at top right, rgba(242, 213, 142, 0.22), transparent 4.5rem),
    linear-gradient(180deg, rgba(43, 32, 16, 0.98), rgba(17, 12, 8, 0.98));
}

.summary-strip div:nth-child(3) {
  border-color: rgba(255, 159, 104, 0.35);
  background:
    radial-gradient(circle at top right, rgba(255, 159, 104, 0.16), transparent 4.5rem),
    linear-gradient(180deg, rgba(36, 25, 18, 0.98), rgba(14, 10, 8, 0.98));
}

.summary-strip strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.summary-strip span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tabs,
.segmented,
.view-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #100d0a;
}

.view-tabs {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 12px;
}

.tab,
.segment,
.view-tab {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.tab.is-active,
.segment.is-active,
.view-tab.is-active {
  background: linear-gradient(180deg, #f2d58e, #c7923e);
  color: #17100a;
  box-shadow: 0 8px 20px rgba(216, 170, 87, 0.18);
}

.map-view {
  display: grid;
  gap: 12px;
}

.day-mode-view {
  display: grid;
  gap: 12px;
}

.day-mode-head,
.jornada-tools,
.day-now,
.day-next-list {
  display: grid;
  gap: 10px;
}

.day-mode-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(216, 170, 87, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(216, 170, 87, 0.14), rgba(18, 12, 8, 0.96));
}

.day-mode-head h2 {
  margin: 0;
  font-size: 22px;
}

.day-mode-head strong {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #14100b;
  font-size: 20px;
}

.jornada-tools {
  grid-template-columns: minmax(120px, 0.65fr) minmax(0, 1.35fr);
  padding: 12px;
  border: 1px solid rgba(216, 170, 87, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.jornada-tools label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.jornada-tools select,
.jornada-tools input {
  min-height: 42px;
  padding: 8px 10px;
  border-color: rgba(242, 213, 142, 0.34);
  font-weight: 900;
}

.jornada-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(216, 170, 87, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 24, 17, 0.98), rgba(12, 9, 7, 0.98));
}

.jornada-card.is-featured {
  grid-template-columns: 1fr;
  border-color: rgba(245, 212, 134, 0.56);
  box-shadow: inset 4px 0 0 var(--accent), 0 14px 30px rgba(0, 0, 0, 0.24);
}

.jornada-card h3,
.jornada-card p {
  margin: 0;
}

.jornada-card h3 {
  font-size: 19px;
  line-height: 1.18;
}

.jornada-card p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.jornada-time {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 58px;
  padding: 8px;
  border: 1px solid rgba(216, 170, 87, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.jornada-time strong {
  color: var(--accent-strong);
  font-size: 12px;
}

.jornada-time span {
  font-size: 20px;
  font-weight: 1000;
}

.jornada-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.jornada-focus-note,
.jornada-results-head {
  padding: 10px 12px;
  border: 1px solid rgba(216, 170, 87, 0.22);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.jornada-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jornada-results-head p,
.jornada-results-head span {
  margin: 0;
}

.jornada-results-head span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.jornada-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.jornada-next-button {
  width: 100%;
  min-height: 44px;
  margin-bottom: 10px;
}

.compact-actions {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pro-summary {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(120px, 0.9fr);
  gap: 8px;
  margin-bottom: 12px;
}

.pro-card {
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(216, 170, 87, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(216, 170, 87, 0.15), transparent 7rem),
    linear-gradient(180deg, rgba(31, 24, 17, 0.98), rgba(15, 12, 9, 0.98));
  box-shadow: inset 4px 0 0 rgba(216, 170, 87, 0.5), 0 12px 30px rgba(0, 0, 0, 0.2);
}

.pro-card-storage.warn {
  border-color: rgba(228, 111, 134, 0.5);
  background: rgba(228, 111, 134, 0.12);
}

.pro-card h3,
.pro-card p {
  margin: 0;
}

.pro-card h3 {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.metric-cluster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.metric-cluster span {
  display: grid;
  gap: 3px;
  min-height: 54px;
  padding: 8px;
  border: 1px solid rgba(216, 170, 87, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.pro-summary strong,
.metric-cluster strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.1;
}

.pro-summary span,
.metric-cluster small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.pro-card-storage {
  display: grid;
  align-content: space-between;
}

.storage-alert {
  grid-column: 1 / -1;
  padding: 9px 10px;
  border: 1px solid rgba(228, 111, 134, 0.4);
  border-radius: 8px;
  background: rgba(228, 111, 134, 0.12);
  color: #ffc6cf;
  font-size: 12px;
  font-weight: 900;
}

.backup-indicator {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border: 1px solid rgba(216, 170, 87, 0.24);
  border-radius: 8px;
  background: rgba(216, 170, 87, 0.08);
}

.backup-indicator strong {
  color: var(--ink);
  font-size: 13px;
}

.backup-indicator span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.backup-indicator.is-ok {
  border-color: rgba(123, 211, 137, 0.34);
  background: rgba(123, 211, 137, 0.1);
}

.backup-indicator.is-pending {
  border-color: rgba(228, 111, 134, 0.34);
  background: rgba(228, 111, 134, 0.1);
}

.map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 24, 17, 0.96), rgba(15, 12, 9, 0.96));
}

.map-head h2 {
  font-size: 21px;
}

.map-head strong {
  display: grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f2d58e, #c7923e);
  color: #17100a;
  font-size: 20px;
}

.map-canvas {
  width: 100%;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #110e0b;
}

.leaflet-container {
  background: #110e0b;
  color: #17100a;
  font-family: inherit;
}

.map-note {
  padding: 10px 12px;
  border: 1px solid rgba(216, 170, 87, 0.22);
  border-radius: 8px;
  background: rgba(216, 170, 87, 0.08);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.route-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(242, 213, 142, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(242, 213, 142, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(27, 21, 15, 0.98), rgba(14, 11, 8, 0.98));
}

.route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.route-head h3 {
  margin: 0;
  font-size: 18px;
}

.route-head strong {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f2d58e, #c7923e);
  color: #17100a;
}

.route-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.danger-action {
  border-color: rgba(228, 111, 134, 0.34);
  background: rgba(228, 111, 134, 0.12);
  color: #ffc6cf;
}

.route-manager {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 8px;
}

.route-manager label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.route-manager input,
.route-manager select {
  min-height: 42px;
  padding: 8px 10px;
  border-color: rgba(242, 213, 142, 0.34);
  font-weight: 900;
}

.route-list {
  display: grid;
  gap: 8px;
}

.route-empty {
  padding: 12px;
  border: 1px dashed rgba(216, 170, 87, 0.22);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.route-warning {
  padding: 10px 12px;
  border: 1px solid rgba(228, 111, 134, 0.34);
  border-radius: 8px;
  background: rgba(228, 111, 134, 0.1);
  color: #ffc6cf;
  font-size: 12px;
  font-weight: 900;
}

.route-follow-panel {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(245, 212, 134, 0.48);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(245, 212, 134, 0.16), transparent 8rem),
    linear-gradient(180deg, rgba(31, 24, 17, 0.99), rgba(8, 6, 5, 0.99));
  box-shadow: inset 4px 0 0 var(--accent);
}

.follow-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.follow-head h3,
.follow-head p {
  margin: 0;
}

.follow-head h3 {
  font-size: 21px;
  line-height: 1.12;
}

.follow-head span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.follow-main-actions {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 0.55fr);
  gap: 8px;
}

.follow-start,
.follow-pause {
  min-height: 48px;
}

.follow-list {
  display: grid;
  gap: 10px;
}

.follow-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 245, 225, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.follow-item.is-visited {
  border-color: rgba(123, 211, 137, 0.34);
  background: rgba(123, 211, 137, 0.08);
}

.follow-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f2d58e, #c7923e);
  color: #17100a;
  font-size: 18px;
  font-weight: 1000;
}

.follow-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.follow-body strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.12;
}

.follow-body small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.follow-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.follow-note {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.follow-note textarea {
  min-height: 68px;
}

.route-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  border: 1px solid rgba(255, 245, 225, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.route-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f2d58e;
  color: #17100a;
  font-weight: 1000;
}

.route-item strong,
.route-item p {
  margin: 0;
}

.route-item p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.route-item-actions {
  display: flex;
  gap: 5px;
}

.route-item-actions button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(216, 170, 87, 0.28);
  border-radius: 8px;
  background: rgba(216, 170, 87, 0.1);
  color: var(--accent-strong);
  font-weight: 1000;
}

.route-number-marker {
  background: transparent;
  border: 0;
}

.route-number-marker span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 245, 225, 0.95);
  border-radius: 50%;
  background: linear-gradient(180deg, #f2d58e, #c7923e);
  color: #17100a;
  font-weight: 1000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
}

.point-list {
  display: grid;
  gap: 10px;
}

.layer-panel,
.agenda-points-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(27, 21, 15, 0.98), rgba(14, 11, 8, 0.98));
}

.agenda-points-panel {
  border-color: rgba(255, 159, 104, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 159, 104, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(27, 21, 15, 0.98), rgba(14, 11, 8, 0.98));
  box-shadow: inset 4px 0 0 rgba(255, 159, 104, 0.72);
}

.layer-panel-head,
.agenda-points-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.layer-panel h3,
.agenda-points-head h3 {
  margin: 0;
  font-size: 18px;
}

.layer-list {
  display: grid;
  gap: 8px;
}

.layer-row {
  display: grid;
  gap: 12px;
  min-height: 70px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--layer-accent) 42%, rgba(255, 245, 225, 0.12));
  border-radius: 8px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--layer-accent) 16%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(31, 24, 17, 0.98), rgba(15, 11, 8, 0.98));
  box-shadow: inset 4px 0 0 var(--layer-accent), 0 12px 28px rgba(0, 0, 0, 0.22);
}

.layer-main {
  display: grid;
  grid-template-columns: auto 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.layer-visible {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.layer-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--layer-accent) 62%, rgba(255, 245, 225, 0.2));
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.24), transparent 1rem),
    color-mix(in srgb, var(--layer-accent) 24%, rgba(0, 0, 0, 0.7));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.layer-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layer-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.layer-title label {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
}

.layer-title input {
  min-height: 34px;
  padding: 5px 7px;
  border-color: rgba(216, 170, 87, 0.22);
  background: rgba(0, 0, 0, 0.2);
  color: var(--ink);
  font-size: 17px;
  font-weight: 1000;
}

.layer-title strong {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.layer-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.layer-actions {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(100px, 1fr) auto;
  gap: 8px;
}

.layer-color-select,
.layer-icon-select {
  min-height: 38px;
  padding: 7px 9px;
  border-color: rgba(216, 170, 87, 0.34);
  font-weight: 900;
}

.layer-delete {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(228, 111, 134, 0.34);
  border-radius: 8px;
  background: rgba(228, 111, 134, 0.12);
  color: #ffc6cf;
  font-weight: 900;
}

.layer-points {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(216, 170, 87, 0.16);
  padding-top: 8px;
}

.layer-points summary {
  color: var(--accent-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  list-style-position: inside;
}

.layer-point-list {
  display: grid;
  gap: 9px;
  margin-top: 8px;
}

.layer-gallery,
.layer-gallery-empty {
  margin-top: 10px;
}

.layer-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.layer-gallery-empty {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(216, 170, 87, 0.22);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.gallery-thumb,
.point-photo-focus {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 170, 87, 0.28);
  border-radius: 8px;
  background: #090706;
}

.gallery-thumb {
  flex: 0 0 72px;
  height: 58px;
}

.gallery-thumb img,
.point-photo-focus img,
.popup-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.layer-point-row {
  display: grid;
  gap: 9px;
  padding: 9px;
  border: 1px solid rgba(255, 245, 225, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.layer-point-summary {
  display: grid;
  gap: 3px;
  cursor: pointer;
  color: var(--ink);
  font-size: 15px;
  font-weight: 1000;
  list-style-position: inside;
}

.layer-point-summary small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  padding-left: 18px;
}

.point-photo-box {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px 86px;
  align-items: stretch;
  gap: 8px;
}

.point-photo-strip {
  display: flex;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 1px;
}

.point-photo-wrap {
  flex: 0 0 86px;
  position: relative;
  height: 66px;
}

.point-photo-focus,
.point-photo-empty {
  height: 66px;
}

.point-photo-focus {
  width: 100%;
}

.point-photo-delete {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 245, 225, 0.52);
  border-radius: 50%;
  background: rgba(12, 8, 6, 0.78);
  color: #fff2e0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.36);
}

.point-photo-empty {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 245, 225, 0.14);
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.18);
}

.point-photo-action {
  position: relative;
  min-height: 66px;
  place-items: center;
  border: 1px solid rgba(216, 170, 87, 0.28);
  border-radius: 8px;
  background: rgba(216, 170, 87, 0.1);
  color: var(--accent-strong);
}

.point-camera-action {
  background: rgba(111, 182, 217, 0.1);
  border-color: rgba(111, 182, 217, 0.3);
  color: #d8f1ff;
}

.point-photo-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.layer-point-row label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.layer-point-row input,
.layer-point-row textarea,
.layer-point-row select {
  min-height: 38px;
  padding: 7px 9px;
  border-color: rgba(216, 170, 87, 0.28);
  font-size: 13px;
}

.point-map-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.point-focus,
.point-route,
.point-route-add {
  min-height: 36px;
  border: 1px solid rgba(216, 170, 87, 0.42);
  border-radius: 8px;
  background: rgba(216, 170, 87, 0.14);
  color: var(--accent-strong);
  font-weight: 900;
}

.point-route {
  border-color: rgba(111, 182, 217, 0.32);
  background: rgba(111, 182, 217, 0.1);
  color: #d8f1ff;
}

.point-route-add {
  border-color: rgba(123, 211, 137, 0.34);
  background: rgba(123, 211, 137, 0.1);
  color: #d9ffe1;
}

.point-description-field {
  grid-column: 1 / -1;
}

.point-color-select {
  min-height: 36px;
  padding: 6px 8px;
  border-color: rgba(216, 170, 87, 0.28);
  font-size: 12px;
  font-weight: 900;
}

.lux-map-marker {
  background: transparent;
  border: 0;
}

.lux-map-pin {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(255, 245, 225, 0.94);
  border-radius: 50% 50% 50% 6px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.72), transparent 0.48rem),
    linear-gradient(135deg, var(--pin-color), color-mix(in srgb, var(--pin-color) 54%, #080706 46%));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.38), 0 0 0 3px rgba(8, 7, 6, 0.26);
  transform: rotate(-45deg);
}

.lux-map-pin span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 245, 225, 0.94);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.28);
}

.point-popup {
  display: grid;
  gap: 6px;
  min-width: 180px;
  max-width: 220px;
}

.point-popup strong {
  color: #17110a;
  font-size: 14px;
}

.point-popup span,
.point-popup p {
  margin: 0;
  color: #4a3a2a;
  font-size: 12px;
  line-height: 1.35;
}

.popup-photo {
  height: 112px;
  border-radius: 6px;
}

.popup-route,
.popup-route-add {
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(139, 94, 52, 0.28);
  border-radius: 6px;
  color: #6b421c;
  font-weight: 900;
  text-decoration: none;
}

.popup-route-add {
  background: rgba(123, 211, 137, 0.16);
  color: #315b36;
}

.point-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(27, 21, 15, 0.98), rgba(14, 11, 8, 0.98));
}

.point-card h3 {
  margin: 0;
  font-size: 16px;
}

.point-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

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

.tools {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.data-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.compact {
  display: grid;
  place-items: center;
  min-height: 44px;
  text-align: center;
}

.file-action {
  color: var(--ink);
}

.file-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.search-box {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search-box input,
input[list],
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #110e0b;
  color: var(--ink);
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

.timeline {
  display: grid;
  gap: 10px;
}

.session-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  width: 100%;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(27, 21, 15, 0.98), rgba(14, 11, 8, 0.98));
  color: inherit;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 245, 225, 0.06), 0 12px 34px rgba(0, 0, 0, 0.18);
}

.session-card.has-content {
  border-color: rgba(216, 170, 87, 0.48);
  background: linear-gradient(180deg, rgba(36, 26, 16, 0.98), rgba(19, 14, 9, 0.98));
}

.session-card.has-location {
  box-shadow: inset 4px 0 0 rgba(216, 170, 87, 0.64), inset 0 1px 0 rgba(255, 245, 225, 0.06), 0 12px 34px rgba(0, 0, 0, 0.18);
}

.session-card.has-map-point {
  border-color: rgba(242, 213, 142, 0.72);
  box-shadow: inset 4px 0 0 #f2d58e, inset 0 1px 0 rgba(255, 245, 225, 0.08), 0 14px 40px rgba(216, 170, 87, 0.12);
}

.session-open {
  display: grid;
  grid-column: 1 / 3;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
}

.session-map {
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(216, 170, 87, 0.48);
  cursor: pointer;
}

.time {
  display: grid;
  place-items: center;
  min-height: 64px;
  border-radius: 8px;
  background: rgba(216, 170, 87, 0.12);
  color: var(--accent-strong);
  font-size: 18px;
  font-weight: 900;
}

.session-main {
  min-width: 0;
}

.session-title {
  display: block;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
}

.session-meta {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2 / 3;
  gap: 6px;
  margin-top: 9px;
}

.badge {
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(255, 245, 225, 0.08);
  color: #dfc79d;
  font-size: 12px;
  font-weight: 800;
}

.badge.pro {
  background: rgba(216, 170, 87, 0.2);
  color: #ffe3a3;
}

.badge.done {
  background: rgba(87, 143, 111, 0.22);
  color: #bce6cb;
}

.badge.warn {
  background: rgba(200, 117, 102, 0.2);
  color: #ffc0b6;
}

.badge.map {
  border-color: rgba(216, 170, 87, 0.58);
  background: linear-gradient(180deg, rgba(216, 170, 87, 0.28), rgba(139, 94, 52, 0.26));
  color: #ffe3a3;
  box-shadow: inset 0 1px 0 rgba(255, 245, 225, 0.1), 0 0 0 1px rgba(216, 170, 87, 0.08);
}

.badge.pending-map {
  background: rgba(216, 170, 87, 0.14);
  color: #ffe3a3;
}

.score {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 245, 225, 0.08);
  color: var(--muted);
  font-weight: 900;
}

.score.hot {
  background: linear-gradient(180deg, #f2d58e, #c7923e);
  color: #17100a;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 8;
  background: rgba(20, 22, 24, 0.34);
}

.edit-sheet {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  max-height: min(88vh, 780px);
  overflow: auto;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.edit-sheet form {
  width: min(720px, 100%);
  margin: 0 auto;
}

.sheet-head {
  position: sticky;
  top: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 0 14px;
  background: var(--surface);
}

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

.location-tools {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.location-tools span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

label,
legend {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

label {
  display: grid;
  gap: 6px;
}

.light-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.light-field legend {
  padding: 0 5px;
}

.light-field label {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 245, 225, 0.06);
  color: var(--ink);
}

.light-field input {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  accent-color: var(--accent);
}

.wide-field {
  margin-top: 10px;
}

.sheet-actions {
  position: sticky;
  bottom: calc(-18px - env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 0 0;
  background: var(--surface);
}

.primary,
.secondary {
  min-height: 50px;
  border-radius: 8px;
  font-weight: 900;
}

.primary {
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, #f2d58e, #c7923e);
  color: #17100a;
}

.secondary {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #1d1711, #100d0a);
  color: #ffe3a3;
}

.manual-opened {
  overflow: hidden;
}

.manual-view {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: grid;
  place-items: end center;
  padding: calc(18px + env(safe-area-inset-top)) 14px calc(18px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(12px);
}

.manual-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  width: min(720px, 100%);
  max-height: 92vh;
  padding: 16px;
  border: 1px solid rgba(216, 170, 87, 0.38);
  border-radius: 10px;
  background:
    radial-gradient(circle at top right, rgba(216, 170, 87, 0.16), transparent 12rem),
    linear-gradient(180deg, rgba(31, 24, 17, 0.99), rgba(8, 6, 5, 0.99));
  box-shadow: var(--shadow);
}

.manual-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.manual-head h2,
.manual-head p {
  margin: 0;
}

.manual-head h2 {
  font-size: 25px;
  line-height: 1.08;
}

.manual-head p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.35;
}

.manual-index {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.manual-index a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border: 1px solid rgba(216, 170, 87, 0.26);
  border-radius: 999px;
  background: rgba(216, 170, 87, 0.1);
  color: var(--accent-strong);
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.manual-content {
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding-right: 2px;
  scroll-behavior: smooth;
}

.manual-chapter {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 245, 225, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.manual-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f2d58e, #c7923e);
  color: #17100a;
  font-size: 14px;
  font-weight: 1000;
}

.manual-chapter h3,
.manual-chapter p {
  margin: 0;
}

.manual-chapter h3 {
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.14;
}

.manual-chapter p {
  color: var(--muted);
  line-height: 1.42;
}

.manual-chapter ul {
  display: grid;
  gap: 7px;
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.35;
}

.manual-chapter strong {
  color: var(--accent-strong);
}

.manual-best-practice {
  border-color: rgba(123, 211, 137, 0.34);
  background: rgba(123, 211, 137, 0.08);
}

.toast-root {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  gap: 8px;
  width: min(340px, calc(100vw - 28px));
  pointer-events: none;
}

.toast {
  transform: translateY(10px);
  opacity: 0;
  padding: 12px 14px;
  border: 1px solid rgba(216, 170, 87, 0.34);
  border-radius: 8px;
  background: rgba(18, 13, 9, 0.96);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: rgba(123, 211, 137, 0.42);
}

.toast.warn {
  border-color: rgba(242, 213, 142, 0.56);
  color: var(--accent-strong);
}

.toast.error {
  border-color: rgba(228, 111, 134, 0.46);
  color: #ffc6cf;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.confirm-dialog {
  display: grid;
  gap: 12px;
  width: min(390px, 100%);
  padding: 18px;
  border: 1px solid rgba(216, 170, 87, 0.38);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(31, 24, 17, 0.98), rgba(9, 7, 5, 0.98));
  box-shadow: var(--shadow);
}

.confirm-dialog h2,
.confirm-dialog p {
  margin: 0;
}

.confirm-dialog h2 {
  font-size: 22px;
}

.confirm-dialog > p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.4;
}

.confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.danger-confirm {
  background: linear-gradient(180deg, #ffc6cf, #e46f86);
  color: #23080d;
}

@media (max-width: 520px) {
  .app-header {
    align-items: flex-start;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    font-size: 13px;
  }

  .app-header #exportCsv {
    display: none;
  }

  h1 {
    font-size: 17px;
  }

  .brand-hero {
    min-height: 162px;
    padding: 12px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    min-height: 156px;
    background:
      radial-gradient(circle at center 22%, rgba(216, 170, 87, 0.18), transparent 10rem),
      linear-gradient(135deg, rgba(25, 18, 12, 0.98), rgba(86, 55, 28, 0.91));
  }

  .status-pill {
    justify-self: start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .location-tools,
  .point-actions,
  .data-actions,
  .jornada-actions,
  .jornada-tools,
  .pro-summary {
    grid-template-columns: 1fr;
  }

  .metric-cluster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .route-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manual-panel {
    max-height: 94vh;
    padding: 14px;
  }

  .manual-chapter {
    grid-template-columns: 1fr;
  }

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

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

  .follow-item {
    grid-template-columns: 1fr;
  }

  .jornada-card {
    grid-template-columns: 1fr;
  }

  .location-tools span {
    text-align: left;
  }

  .map-canvas {
    min-height: 320px;
  }

  .session-card {
    grid-template-columns: 1fr;
    overflow: hidden;
  }

  .session-open {
    grid-column: auto;
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .badges {
    grid-column: auto;
  }

  .score {
    width: 100%;
    height: 34px;
    border-radius: 8px;
  }

}
