.clear-data-button {
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(248, 113, 113, 0.25);
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.10), rgba(60, 20, 20, 0.18));
  color: #f87171;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(248, 113, 113, 0.10);
}

.clear-data-button:hover {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.18), rgba(60, 20, 20, 0.28));
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(248, 113, 113, 0.18);
}
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cormorant+Garamond:wght@400;600&display=swap");

:root {
  color-scheme: dark;
  --bg: #05030a;
  --panel: rgba(11, 11, 19, 0.85);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-bright: #f6f2ec;
  --accent: #c6945d;
  --accent-strong: #f5e7c5;
  --border: rgba(255, 207, 156, 0.25);
  --glow: rgba(198, 148, 93, 0.25);
  font-family: "Cormorant Garamond", "Cinzel", "Inter", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #030105;
  color: var(--text-bright);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: -1;
}

header {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 3rem 1.5rem 2.25rem;
  text-align: center;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.15), transparent 55%),
    linear-gradient(180deg, rgba(5, 5, 10, 0.9) 0%, rgba(14, 14, 24, 0.95) 100%);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header::before,
header::after {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 220%;
  background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.25), transparent 55%);
  opacity: 0.2;
  filter: blur(30px);
  pointer-events: none;
  mix-blend-mode: screen;
  animation: mistDrift 22s linear infinite;
}

header::after {
  inset: auto -10% -10% -20%;
  background: radial-gradient(circle at 70% 20%, rgba(198, 148, 93, 0.35), transparent 65%);
  opacity: 0.3;
  animation-direction: reverse;
}

.hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.eyebrow {
  letter-spacing: 0.45em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

header h1 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(2.4rem, 3.3vw, 3.25rem);
  font-family: "Cinzel", "Cormorant Garamond", serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

header p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.header-link {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.header-link a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-link a:hover {
  color: var(--accent-strong);
}

main {
  padding: 3rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 2rem;
  align-items: start;
}

.data-pane {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.data-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(8, 8, 16, 0.95), rgba(15, 12, 22, 0.95));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.add-restaurant-button {
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(198, 148, 93, 0.85);
  background: radial-gradient(circle at 20% 20%, rgba(198, 148, 93, 0.45), rgba(64, 22, 6, 0.8));
  color: var(--text-bright);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 15px 25px rgba(198, 148, 93, 0.25);
}

.add-restaurant-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(198, 148, 93, 0.35);
}

.download-toml-button {
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(92, 147, 245, 0.7);
  background: linear-gradient(135deg, rgba(18, 53, 91, 0.85), rgba(9, 19, 45, 0.85));
  color: var(--text-bright);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 15px 25px rgba(29, 72, 138, 0.35);
}

.download-toml-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(76, 131, 215, 0.45);
}

.loader,
.chart-pane,
.restaurant-card {
  background: var(--panel);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.chart-pane {
  padding: 2rem 2rem 2.25rem;
  position: sticky;
  top: 1.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.chart-pane header {
  margin-bottom: 1.25rem;
  position: relative;
  padding: 1.5rem;
  margin: -2rem -2rem 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 100%
  );
  border-radius: 24px 24px 0 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 70%,
    transparent 100%
  );
}

.chart-pane h2 {
  margin: 0.25rem 0;
  font-size: 1.95rem;
  color: var(--text-bright);
}

.chart-pane p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.chart-legend {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-legend-label {
  flex: 1;
  font-weight: 600;
  color: var(--text-bright);
  min-width: 0;
}

.chart-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.chart-pane canvas {
  width: 100%;
  height: 420px;
  max-height: 520px;
  border-radius: 16px;
  background: rgba(4, 4, 9, 0.85);
  padding: 1rem;
}

.loader {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.loader::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.toml-loader {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.file-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(198, 148, 93, 0.2), rgba(28, 7, 5, 0.7));
  color: var(--text-bright);
  font-weight: 600;
  border: 1px solid rgba(198, 148, 93, 0.4);
  cursor: pointer;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.file-picker:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(198, 148, 93, 0.2);
}

.file-picker input {
  display: none;
}

.helper-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.status {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.restaurant-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.restaurant-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: linear-gradient(145deg, rgba(8, 8, 16, 0.95), rgba(15, 12, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.restaurant-card header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  padding: 1.5rem;
  margin: -1.75rem -1.75rem 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 100%
  );
  border-radius: 24px 24px 0 0;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 70%,
    transparent 100%
  );
}

.restaurant-card h2 {
  margin: 0;
  font-size: 1.65rem;
  color: var(--text-bright);
}

.restaurant-header-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.restaurant-name-input {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-bright);
  font-size: 1.7rem;
  font-family: "Cinzel", "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0;
}

.restaurant-name-input:focus {
  outline: 2px solid rgba(198, 148, 93, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.15rem 0.4rem;
}

.restaurant-header-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
}


.tier-field {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.35rem;
  width: 100%;
}

.tier-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tier-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tier-control {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01);
}

.tier-control.has-dropdown select,
.tier-control input,
.tier-control .tier-pill {
  width: 100%;
}

.tier-control select {
  border: none;
  background: transparent;
  color: var(--text-bright);
  font-size: 1rem;
  font-family: inherit;
  padding: 0.65rem 0.85rem;
  appearance: none;
}

.tier-control input,
.tier-control .tier-input {
  border: none;
  background: transparent;
  color: var(--text-bright);
  font-size: 1rem;
  font-family: inherit;
  padding: 0.65rem 0.85rem;
}

.tier-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  color: var(--text-bright);
}

.tier-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tier-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.6rem 0.85rem;
  color: var(--text-bright);
  font-family: inherit;
}

.tier-input:focus {
  outline: 2px solid rgba(198, 148, 93, 0.6);
  border-color: transparent;
  background: rgba(255, 255, 255, 0.05);
}

.items-holder {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.items-controls {
  display: flex;
  justify-content: flex-end;
}

.add-item-button,
.delete-item-button {
  border-width: 1px;
  border-style: solid;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.add-item-button {
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  border-color: rgba(198, 148, 93, 0.8);
  background: rgba(198, 148, 93, 0.08);
  color: var(--text-bright);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.add-item-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(198, 148, 93, 0.35);
}

.delete-item-button {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.35rem;
  border-radius: 10px;
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.15rem;
}

.delete-item-button:hover {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.5);
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.35);
}

.item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.delete-restaurant-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

.delete-restaurant-button:hover {
  background: rgba(248, 113, 113, 0.2);
  border-color: rgba(248, 113, 113, 0.5);
  transform: scale(1.1);
}

.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.item-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  align-items: stretch;
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border 0.2s ease, transform 0.2s ease;
}

.item-row:hover {
  border-color: rgba(198, 148, 93, 0.5);
  transform: translateY(-2px);
}

.item-field-column {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.item-input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
  color: var(--text-bright);
  font-family: inherit;
}

.item-input::-webkit-inner-spin-button,
.item-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.item-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.item-input:focus {
  outline: 2px solid rgba(198, 148, 93, 0.6);
  border-color: transparent;
  background: rgba(255, 255, 255, 0.05);
}

.item-meta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.item-meta-row .item-input-wrapper {
  position: relative;
  flex: 1;
  display: block;
  min-width: 180px;
}

.item-meta-row .item-input-wrapper .item-input {
  padding-right: 4.1rem;
}

.item-input-unit {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(246, 242, 236, 0.55);
  pointer-events: none;
}

.item-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ratio-chip {
  font-weight: 600;
  color: var(--accent-strong);
  text-align: right;
  align-self: flex-start;
}

.empty-state {
  margin: 0;
  color: var(--text-muted);
}

footer {
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@keyframes mistDrift {
  0% {
    transform: translate(-10%, -5%) scale(1);
    opacity: 0.2;
  }
  50% {
    transform: translate(10%, 5%) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translate(-10%, -5%) scale(1);
    opacity: 0.2;
  }
}

@media (max-width: 960px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  .chart-pane {
    position: static;
  }
}

/* About Page Styles */
.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-section {
  background: var(--panel);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.about-section h2 {
  margin: 0 0 1.25rem;
  font-size: 2rem;
  color: var(--text-bright);
  font-family: "Cinzel", "Cormorant Garamond", serif;
  letter-spacing: 0.05em;
}

.about-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.about-section p:last-child {
  margin-bottom: 0;
}

.formula-box {
  background: rgba(198, 148, 93, 0.08);
  border: 1px solid rgba(198, 148, 93, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.formula-box code {
  font-size: 1.2rem;
  color: var(--accent-strong);
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.formula-box .katex {
  font-size: 1.3em;
  color: var(--accent-strong);
}

.formula-box .katex .katex-html {
  color: var(--accent-strong);
}

.example-list,
.benefits-list,
.factors-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.example-list li,
.benefits-list li,
.factors-list li {
  padding: 0.75rem 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.example-list li:last-child,
.benefits-list li:last-child,
.factors-list li:last-child {
  border-bottom: none;
}

.calculation-steps {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.calculation-steps p {
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
  color: var(--text-bright);
}

.calculation-steps p:first-child {
  margin-top: 0;
}

.calculation-steps code {
  display: block;
  background: rgba(198, 148, 93, 0.08);
  border: 1px solid rgba(198, 148, 93, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  color: var(--accent);
  font-family: 'Courier New', monospace;
  font-size: 1rem;
}

.calc-step {
  background: rgba(198, 148, 93, 0.08);
  border: 1px solid rgba(198, 148, 93, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0.5rem 0;
  text-align: center;
}

.calc-step .katex {
  font-size: 1.15em;
  color: var(--accent);
}

.result-explanation {
  background: linear-gradient(135deg, rgba(198, 148, 93, 0.15), rgba(64, 22, 6, 0.3));
  border: 1px solid rgba(198, 148, 93, 0.4);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.5rem;
  color: var(--text-bright);
  font-size: 1.05rem;
}

.ecbr-guide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.ecbr-tier {
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.ecbr-tier.excellent {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(21, 128, 61, 0.15));
  border-color: rgba(34, 197, 94, 0.4);
}

.ecbr-tier.good {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(29, 78, 216, 0.15));
  border-color: rgba(59, 130, 246, 0.4);
}

.ecbr-tier.fair {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(217, 119, 6, 0.15));
  border-color: rgba(251, 191, 36, 0.4);
}

.ecbr-tier.poor {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.15), rgba(220, 38, 38, 0.15));
  border-color: rgba(248, 113, 113, 0.4);
}

.tier-label {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
  font-family: "Cinzel", serif;
  letter-spacing: 0.05em;
}

.ecbr-tier p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-section {
  text-align: center;
  background: linear-gradient(145deg, rgba(198, 148, 93, 0.1), rgba(28, 7, 5, 0.3));
  border-color: rgba(198, 148, 93, 0.4);
}

.cta-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(135deg, rgba(198, 148, 93, 0.3), rgba(64, 22, 6, 0.6));
  border: 1px solid rgba(198, 148, 93, 0.6);
  border-radius: 999px;
  color: var(--text-bright);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 25px rgba(198, 148, 93, 0.25);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(198, 148, 93, 0.4);
}

footer a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--accent-strong);
}

@media (max-width: 720px) {
  header h1 {
    letter-spacing: 0.08em;
  }

  .restaurant-card header {
    flex-direction: column;
    align-items: flex-start;
  }

  .tier-field {
    width: 100%;
  }

  .restaurant-header-controls {
    width: 100%;
    align-items: stretch;
  }

  .delete-restaurant-button {
    top: 0.75rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.1rem;
  }

  .data-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .action-buttons {
    flex-direction: column;
  }

  .about-section {
    padding: 1.75rem;
  }

  .ecbr-guide {
    grid-template-columns: 1fr;
  }
}
