:root {
  color-scheme: light;
  --sand: #efe6d2;
  --salt: #f6f7f8;
  --ink: #0f1f29;
  --ocean: #031b2f;
  --lagoon: #0a3a5c;
  --sunset: #d59d66;
  --foam: #d3e3f0;
  --navy: #021322;
  --rise: #00ff9f;
  --fall: #ff1635;
  --rise-area: rgba(0, 255, 159, 0.38);
  --fall-area: rgba(255, 22, 53, 0.34);
  --rise-soft: rgba(0, 255, 159, 0.3);
  --fall-soft: rgba(255, 22, 53, 0.36);
  --card: rgba(255, 255, 255, 0.82);
  --card-strong: rgba(255, 255, 255, 0.92);
  --stroke: rgba(11, 42, 58, 0.12);
  --stroke-strong: rgba(11, 42, 58, 0.2);
  --shadow: 0 18px 45px rgba(10, 35, 48, 0.16);
  --shadow-soft: 0 12px 30px rgba(10, 35, 48, 0.12);
  --shadow-tight: 0 8px 16px rgba(2, 19, 34, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --glass-blur: blur(14px);
  --focus: rgba(70, 145, 190, 0.65);
  --bg-top: #dde6f2;
  --bg-mid: #e6ded0;
  --bg-bottom: #f3eee5;
  --bg-glow-a: rgba(3, 27, 47, 0.12);
  --bg-glow-b: rgba(10, 58, 92, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 15% 10%, var(--bg-glow-a), transparent 55%),
    radial-gradient(circle at 85% 0%, var(--bg-glow-b), transparent 50%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bottom) 100%);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 28px 20px 48px;
}

.ambient {
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      160deg,
      rgba(3, 27, 47, 0.04) 0px,
      rgba(3, 27, 47, 0.04) 18px,
      rgba(255, 255, 255, 0) 18px,
      rgba(255, 255, 255, 0) 36px
    );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.shell {
  width: min(980px, 100%);
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 10;
}

.shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(2, 19, 34, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 20;
}

.shell.is-dimmed::before {
  opacity: 1;
}


.hero {
  padding: 26px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 249, 255, 0.86));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(11, 58, 77, 0.1);
  animation: slideDown 700ms ease both;
}

.brand {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 10px;
}

h1 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.hero p {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(22, 37, 44, 0.72);
  max-width: 32rem;
}

.graph-header,
.field span,
.summary-card .label,
.current-location .label,
.footer,
.graph-ticks {
  font-family: "Space Mono", "SF Mono", ui-monospace, monospace;
  letter-spacing: 0.14em;
}

.summary-card .value,
.tide-item .time,
.tide-item .meta,
#currentLocation,
#nextHigh,
#nextLow,
#lastUpdated {
  font-variant-numeric: tabular-nums;
}

.controls {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-end;
  position: relative;
  z-index: 2;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
}

.controls-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.controls-actions .primary {
  box-shadow: 0 18px 36px rgba(3, 27, 47, 0.2);
}

.toggle-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

.toggle {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--card-strong);
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.toggle.active {
  background: linear-gradient(120deg, var(--ocean), var(--lagoon));
  color: #fff;
  box-shadow: 0 16px 35px rgba(2, 19, 34, 0.25);
  border-color: transparent;
}

.geo-notice {
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(2, 19, 34, 0.9);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 16px 35px rgba(2, 19, 34, 0.25);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

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

.controls.is-emphasized select,
.controls.is-emphasized input[type="search"] {
  animation: inflating 700ms ease-in-out 2;
}

.field {
  display: grid;
  gap: 8px;
  flex: 1 1 220px;
}

.is-hidden {
  display: none;
}

.field span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(22, 37, 44, 0.6);
}

select {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--card-strong);
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  outline: none;
}

input[type="search"] {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--card-strong);
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

input[type="search"]:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(70, 145, 190, 0.2);
  transform: translateY(-1px);
}

input[type="search"]::placeholder {
  color: rgba(22, 37, 44, 0.5);
}

input[type="datetime-local"] {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--card-strong);
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease,
    transform 160ms ease;
}

input[type="datetime-local"]:focus {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(70, 145, 190, 0.2);
  transform: translateY(-1px);
}

.primary {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(120deg, var(--ocean), var(--lagoon));
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(3, 27, 47, 0.28);
}

.secondary {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--card-strong);
  color: var(--navy);
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary:active,
.secondary:active,
.toggle:active {
  transform: translateY(0);
}

button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(70, 145, 190, 0.5);
  outline-offset: 2px;
}

.secondary:hover,
.toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(3, 27, 47, 0.18);
}

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

.summary-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--stroke);
  animation: fadeUp 720ms ease both;
}

.summary-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(3, 27, 47, 0.14);
}

.summary-card .label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(22, 37, 44, 0.55);
}

.summary-card .value {
  margin-top: 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.list {
  display: grid;
  gap: 12px;
}

.graph-card {
  padding: 18px 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--stroke);
  animation: fadeUp 720ms ease both;
  position: relative;
  overflow: hidden;
}

.graph-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.45), transparent 45%);
  opacity: 0.5;
  pointer-events: none;
}

.graph-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(22, 37, 44, 0.65);
  margin-bottom: 12px;
}

.graph-controls {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.ghost {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.82);
  color: var(--navy);
  font-size: 0.85rem;
  cursor: pointer;
}

.ghost:disabled,
.secondary:disabled,
.primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.location-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--stroke);
}

.location-bar .secondary {
  box-shadow: var(--shadow-tight);
}

.location-toggle.is-pulsing {
  animation: pulse 900ms ease;
}

.current-location {
  display: grid;
  gap: 4px;
  text-align: right;
}

.current-location .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(22, 37, 44, 0.65);
}

.current-location span:last-child {
  font-weight: 600;
}

.style-panel {
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--stroke);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.style-header {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(22, 37, 44, 0.65);
}

.style-note {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  color: rgba(22, 37, 44, 0.6);
}

.theme-presets {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-presets .preset {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.swatch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--card-strong);
  border: 1px solid var(--stroke);
  flex-wrap: wrap;
}

.swatch span {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(22, 37, 44, 0.65);
}

.swatch .hint {
  font-size: 0.75rem;
  color: rgba(22, 37, 44, 0.55);
  width: 100%;
}

.swatch input[type="color"] {
  border: none;
  background: transparent;
  width: 42px;
  height: 32px;
  padding: 0;
  cursor: pointer;
}

.graph-card .graph-svg {
  width: 100%;
  height: 280px;
  display: block;
}

.graph-card .graph-svg.mobile {
  display: none;
}

.graph-card .line {
  fill: none;
  stroke: var(--navy);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.graph-card .line.base {
  opacity: 0.35;
}

.graph-card .line.rise {
  stroke: var(--rise);
  stroke-width: 4.5;
  display: none;
}

.graph-card .line.fall {
  stroke: var(--fall);
  stroke-width: 4.5;
  display: none;
}

.graph-card .area {
  stroke: none;
  opacity: 0.22;
}

.graph-card .area.rise {
  fill: var(--rise-area);
}

.graph-card .area.fall {
  fill: var(--fall-area);
}

.graph-card .midline {
  stroke: rgba(2, 19, 34, 0.18);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.graph-grid line {
  stroke: rgba(2, 19, 34, 0.12);
  stroke-width: 1;
}

.graph-tooltip {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(2, 19, 34, 0.92);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.3;
  box-shadow: 0 12px 30px rgba(2, 19, 34, 0.3);
  opacity: 0;
  transform: translate(0, 0);
  transition: opacity 160ms ease;
  pointer-events: none;
  white-space: nowrap;
}

.graph-tooltip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.graph-tooltip.is-visible {
  opacity: 1;
}

.graph-slider-wrap {
  margin-bottom: 10px;
}

.graph-slider {
  width: 100%;
  accent-color: var(--ocean);
}

.graph-ticks {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(var(--ticks, 5), 1fr);
  font-size: 0.75rem;
  color: rgba(22, 37, 44, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.graph-ticks span {
  text-align: center;
}

.tide-actions {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--stroke);
}

.tide-actions .secondary {
  box-shadow: var(--shadow-tight);
}

.tide-at-result {
  font-size: 0.9rem;
  color: rgba(22, 37, 44, 0.7);
}

.tide-at-output {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--card-strong);
  border: 1px solid var(--stroke);
  font-size: 0.95rem;
  color: rgba(22, 37, 44, 0.75);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 19, 34, 0.55);
  z-index: 100;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-card {
  width: min(520px, 92vw);
  background: var(--card-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(2, 19, 34, 0.28);
  border: 1px solid var(--stroke-strong);
  padding: 18px 20px 20px;
  display: grid;
  gap: 14px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.2rem;
}

.modal-body {
  display: grid;
  gap: 12px;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 19, 34, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 1;
}

.backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-open {
  overflow: hidden;
}

.fab {
  position: fixed;
  right: calc(18px + env(safe-area-inset-right));
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(140deg, #0b2a3a, #0f4c81);
  color: #fff;
  box-shadow: 0 18px 40px rgba(2, 19, 34, 0.32);
  display: grid;
  place-items: center;
  z-index: 90;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.fab svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(2, 19, 34, 0.35);
}

.fab:active {
  transform: translateY(0);
}

@media (min-width: 721px) {
  .fab {
    right: 26px;
    bottom: 26px;
  }
}

.tide-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--card-strong);
  box-shadow: var(--shadow-tight);
  border: 1px solid var(--stroke);
  animation: fadeUp 760ms ease both;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tide-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(3, 27, 47, 0.12);
}

.tide-item .time {
  font-size: 1rem;
  font-weight: 700;
}

.tide-item .meta {
  font-size: 0.9rem;
  color: rgba(22, 37, 44, 0.55);
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  border: 1px solid rgba(11, 42, 58, 0.08);
}

.badge.high {
  background: var(--rise-soft);
  color: var(--ocean);
}

.badge.low {
  background: var(--fall-soft);
  color: var(--navy);
}

.footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(22, 37, 44, 0.55);
  padding: 0 8px;
  border-top: 1px dashed rgba(11, 42, 58, 0.2);
  padding-top: 12px;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes inflating {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(11, 58, 77, 0);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(11, 58, 77, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(11, 58, 77, 0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(11, 58, 77, 0);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 14px 30px rgba(11, 58, 77, 0.18);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(11, 58, 77, 0);
  }
}

@media (max-width: 720px) {
  body {
    padding: 12px 14px 24px;
    background: linear-gradient(180deg, #0b2a3a 0%, #3f6a85 45%, #f1ece2 100%);
  }

  .shell {
    gap: 8px;
    display: flex;
    flex-direction: column;
  }

  .hero {
    padding: 18px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .ambient {
    display: none;
  }

  .controls {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(92vw, 420px);
    max-height: 90vh;
    overflow: auto;
    gap: 8px;
    padding: 12px 12px 16px;
    border-radius: 22px;
    background: var(--card-strong);
    box-shadow: 0 24px 60px rgba(2, 19, 34, 0.22);
    border: 1px solid var(--stroke);
    z-index: 30;
  }

  .controls.is-open {
    display: grid;
    z-index: 40;
  }

  .toggle-group {
    flex-direction: row;
    justify-content: stretch;
    gap: 8px;
  }

  .toggle {
    flex: 1 1 0;
    padding: 8px 14px;
    font-size: 0.88rem;
    text-align: center;
  }

  .field {
    width: 100%;
    gap: 6px;
  }

  .field span {
    margin-top: 0;
  }

  .field span {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: rgba(22, 37, 44, 0.6);
  }

  select,
  input[type="search"] {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.98rem;
    min-height: 46px;
    background: var(--card-strong);
    color: var(--ink);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-soft);
  }

  input[type="search"]::placeholder {
    color: rgba(22, 37, 44, 0.5);
  }

  select,
  input[type="search"],
  .primary,
  .secondary {
    width: 100%;
  }

  .primary,
  .secondary {
    padding: 12px 18px;
    font-size: 0.98rem;
    min-height: 46px;
  }

  .geo-notice {
    display: none;
    font-size: 0.88rem;
    padding: 10px 12px;
  }

  .geo-notice.is-visible {
    display: block;
  }

  .summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .graph-card {
    padding: 12px 12px;
    border-radius: 18px;
    height: min(70vh, 520px);
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 8px;
  }

  .graph-card .graph-svg {
    height: 100%;
  }

  .graph-card .graph-svg.desktop {
    display: none;
  }

  .graph-card .graph-svg.mobile {
    display: block;
  }

  .graph {
    margin-bottom: 6px;
  }

  .graph-controls {
    justify-content: space-between;
  }

  .location-bar {
    order: 1;
    background: var(--card);
    border: 1px solid var(--stroke);
    color: var(--ink);
  }

  .location-bar .label {
    color: rgba(22, 37, 44, 0.55);
  }

  .location-bar .secondary {
    background: var(--card-strong);
    color: var(--navy);
    border: 1px solid var(--stroke);
  }

  .graph {
    order: 2;
  }

  .tide-actions {
    order: 3;
  }

  .summary {
    order: 4;
  }

  .controls {
    order: 5;
  }

  .style-panel {
    order: 6;
  }

  .list {
    order: 7;
  }

  .hero {
    order: 8;
  }

  .footer {
    order: 9;
  }

  .tide-item {
    padding: 14px 16px;
  }

  .footer {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
