/* src/styles.css */
@font-face {
  font-family: "Nunito";
  src: url(/fonts/NunitoSans-Regular.ttf) format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Merriweather";
  src: url(/fonts/Merriweather-Regular.ttf) format("truetype");
  font-display: swap;
}
:root {
  --theme-ink: #132732;
  --theme-blue: #294c60;
  --theme-gold: #fab900;
  --theme-pink: #f7567c;
  --theme-cream: #fcfcfc;
  --theme-cream-deep: #f4efe4;
  --theme-paper: rgba(252, 252, 252, 0.9);
  --theme-line: rgba(19, 39, 50, 0.12);
  --theme-shadow: 0 24px 70px rgba(19, 39, 50, 0.12);
  font-family:
    "Nunito",
    system-ui,
    sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color: var(--theme-ink);
  color-scheme: light;
  background:
    radial-gradient(
      circle at top left,
      rgba(247, 86, 124, 0.2),
      transparent 28%),
    radial-gradient(
      circle at top right,
      rgba(250, 185, 0, 0.22),
      transparent 30%),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f4f7f8 58%,
      #edf2f4 100%);
}
* {
  box-sizing: border-box;
}
html {
  overflow-wrap: break-word;
}
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  position: relative;
}
a {
  color: inherit;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
    radial-gradient(
      circle at 15% 20%,
      rgba(250, 185, 0, 0.06) 0,
      transparent 22%),
    radial-gradient(
      circle at 82% 18%,
      rgba(247, 86, 124, 0.06) 0,
      transparent 20%);
  mask-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.9),
      transparent 92%);
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  font-family:
    "Merriweather",
    Georgia,
    serif;
}
.layout {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 72px;
}
.hero,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--theme-line);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(249, 251, 251, 0.92)),
    var(--theme-paper);
  backdrop-filter: blur(18px);
  box-shadow: var(--theme-shadow);
}
.hero::before,
.panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background:
    linear-gradient(
      90deg,
      var(--theme-gold),
      var(--theme-pink),
      var(--theme-blue));
}
.hero::after,
.panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(41, 76, 96, 0.08),
      transparent 68%);
  pointer-events: none;
}
.hero {
  padding: 36px;
  border-radius: 32px;
  margin-bottom: 18px;
}
.panel {
  padding: 24px;
  border-radius: 26px;
}
.hero-row,
.panel-head,
.slot-card,
.actions,
.status-panel,
.public-head,
.person-toolbar,
.day-header-actions,
.slot-actions {
  display: flex;
}
.hero-row,
.panel-head {
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}
.hero-brand-copy {
  min-width: 0;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.brand-logo {
  width: clamp(84px, 10vw, 120px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(19, 39, 50, 0.14));
  transform: rotate(-3deg);
}
.brand-name,
.eyebrow,
.status-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.brand-name {
  margin: 0;
  color: var(--theme-blue);
  font-size: 0.88rem;
  font-weight: 800;
}
.brand-name::after {
  content: " \2022  Kammerchor";
  color: rgba(41, 76, 96, 0.72);
}
.eyebrow,
.status-label {
  margin: 0 0 8px;
  color: var(--theme-pink);
  font-size: 0.76rem;
  font-weight: 800;
}
h1 {
  margin-bottom: 12px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}
.lead,
.muted,
.status-panel span:last-child,
.field span,
.field-inline span,
.slot-card p,
.summary-row span,
.mobile-day-card span,
.stats-row,
.slot-table td {
  color: rgba(19, 39, 50, 0.76);
}
.lead {
  max-width: 60ch;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.72;
}
.hero-sidebars,
.slot-stack,
.public-grid,
.stats-table,
.metric-grid,
.month-columns,
.mobile-slot-list,
.mobile-wednesday-list {
  display: grid;
  gap: 12px;
}
.hero-sidebars {
  width: min(320px, 100%);
}
.status-panel {
  flex-direction: column;
  gap: 6px;
  min-width: 260px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(41, 76, 96, 0.14);
}
.status-panel strong {
  font-size: 1.05rem;
}
.hero-sidebars .status-panel:first-child {
  background:
    linear-gradient(
      135deg,
      rgba(250, 185, 0, 0.12),
      rgba(255, 255, 255, 0.96) 58%);
}
.hero-sidebars .status-panel:last-child {
  background:
    linear-gradient(
      135deg,
      rgba(41, 76, 96, 0.08),
      rgba(255, 255, 255, 0.96) 58%);
}
.actions {
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-actions {
  margin-top: 10px;
}
.button-primary,
.button-secondary,
.button-link,
.public-tab,
.filters .pill,
.mobile-bottom-nav button,
.mobile-bottom-nav a {
  border-radius: 999px;
  font: inherit;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}
.button-primary,
.button-secondary,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  padding: 12px 18px;
  font-weight: 700;
}
.button-primary:disabled,
.button-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.button-primary {
  color: var(--theme-ink);
  background:
    linear-gradient(
      135deg,
      var(--theme-gold),
      #ffd55a);
  box-shadow: 0 12px 28px rgba(250, 185, 0, 0.24);
}
.button-secondary {
  color: var(--theme-blue);
  background: #fff;
  border: 1px solid rgba(41, 76, 96, 0.18);
}
.button-link {
  justify-content: flex-start;
  padding: 8px 0;
  color: var(--theme-pink);
  background: transparent;
}
.button-primary:hover,
.button-secondary:hover,
.public-tab:hover,
.filters .pill:hover,
.mobile-bottom-nav button:hover,
.mobile-bottom-nav a:hover,
.summary-row:hover,
.trade-card:hover,
.slot-card:hover,
.calendar-cell:hover,
.mobile-day-card:hover {
  transform: translateY(-1px);
}
.button-primary:focus-visible,
.button-secondary:focus-visible,
.button-link:focus-visible,
.public-tab:focus-visible,
.filters .pill:focus-visible,
.mobile-bottom-nav button:focus-visible,
.mobile-bottom-nav a:focus-visible,
.summary-row:focus-visible,
.trade-card:focus-visible,
.slot-card:focus-visible,
.calendar-cell:focus-visible,
.mobile-day-card:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.field-inline input:focus-visible,
.field-inline select:focus-visible {
  outline: 2px solid rgba(247, 86, 124, 0.45);
  outline-offset: 2px;
}
.dashboard-grid,
.trade-layout,
.form-grid {
  display: grid;
  gap: 16px;
}
.dashboard-grid,
.trade-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.metric-grid,
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field,
.field-inline {
  display: grid;
  gap: 6px;
}
.month-input-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(41, 76, 96, 0.16);
  background: rgba(255, 255, 255, 0.95);
  color: var(--theme-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.month-input-shell span {
  color: var(--theme-ink);
  font-weight: 700;
  text-transform: capitalize;
}
.month-input-shell::after {
  content: "\25be";
  margin-left: auto;
  color: rgba(41, 76, 96, 0.72);
  font-size: 0.9rem;
}
.month-input-shell input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.field-full {
  grid-column: 1 / -1;
}
.field input,
.field select,
.field textarea,
.field-inline input,
.field-inline select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(41, 76, 96, 0.16);
  background: rgba(255, 255, 255, 0.95);
  color: var(--theme-ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.field-inline input:focus,
.field-inline select:focus {
  outline: 2px solid rgba(247, 86, 124, 0.25);
  border-color: var(--theme-pink);
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.card,
.metric-card,
.trade-card,
.swap-review-card,
.mobile-day-card,
.calendar-cell,
.slot-card {
  border: 1px solid rgba(41, 76, 96, 0.12);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(251, 252, 252, 0.92)),
    rgba(255, 255, 255, 0.94);
}
.card {
  padding: 24px;
  border-radius: 24px;
}
.metric-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 18px;
}
.metric-card strong {
  font-size: 1.6rem;
}
.slot-card {
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
}
.slot-card.compact {
  display: block;
}
.panel-wide,
.field-full {
  grid-column: 1 / -1;
}
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 86, 124, 0.16);
  background: rgba(247, 86, 124, 0.1);
  color: #a22d4c;
  font-size: 0.84rem;
  font-weight: 700;
}
.error-text {
  margin-top: 12px;
  color: #b42318;
  font-weight: 700;
}
.public-layout {
  padding-bottom: calc(124px + env(safe-area-inset-bottom));
}
.public-head {
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.public-top-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
  padding: 8px;
  border-radius: 999px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(41, 76, 96, 0.1);
  box-shadow: 0 12px 28px rgba(19, 39, 50, 0.08);
}
.public-tab {
  border: 1px solid rgba(41, 76, 96, 0.16);
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 16px;
  color: var(--theme-blue);
  cursor: pointer;
  font-weight: 800;
}
.public-tab.active,
.filters .pill.active,
.mobile-bottom-nav button.active {
  color: #fff;
  background:
    linear-gradient(
      135deg,
      var(--theme-blue),
      var(--theme-ink));
  border-color: var(--theme-blue);
  box-shadow: 0 12px 28px rgba(41, 76, 96, 0.18);
}
.public-panel {
  overflow: hidden;
}
.public-panel-head {
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(41, 76, 96, 0.1);
}
.month-columns {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.wednesday-summary {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.summary-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
  border: 1px solid rgba(41, 76, 96, 0.12);
  background: rgba(255, 255, 255, 0.94);
}
.summary-row strong,
.mobile-day-card strong,
.slot-card strong,
.trade-card strong {
  color: var(--theme-blue);
}
.summary-row.active,
.trade-card.selected,
.calendar-cell.active {
  outline: 2px solid rgba(247, 86, 124, 0.5);
  border-color: rgba(247, 86, 124, 0.35);
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.filters .pill {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.94);
  color: var(--theme-blue);
  border-color: rgba(41, 76, 96, 0.16);
}
.table-wrap {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid rgba(41, 76, 96, 0.1);
  background: rgba(255, 255, 255, 0.72);
}
.slot-table {
  width: 100%;
  border-collapse: collapse;
}
.slot-table thead {
  background:
    linear-gradient(
      180deg,
      rgba(41, 76, 96, 0.08),
      rgba(41, 76, 96, 0.02));
}
.slot-table tbody tr:nth-child(even) {
  background: rgba(244, 239, 228, 0.32);
}
.slot-table th,
.slot-table td {
  padding: 12px 8px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(41, 76, 96, 0.12);
}
.slot-table th {
  color: var(--theme-blue);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stats-row {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 0.7fr) 1.2fr;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(41, 76, 96, 0.08);
}
.stats-head {
  color: var(--theme-blue);
  font-weight: 800;
}
.trade-layout.mobile,
.swap-grid,
.calendar-grid {
  display: grid;
}
.trade-layout.mobile {
  grid-template-columns: 1fr;
}
.trade-column h3 {
  margin-top: 0;
}
.trade-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
}
.trade-column h3,
.panel h3 {
  color: var(--theme-blue);
}
.swap-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 16px;
  background: rgba(19, 39, 50, 0.5);
}
.swap-modal > * {
  width: min(760px, 100%);
  margin: 0;
  background:
    linear-gradient(
      180deg,
      #fff,
      #fbfbfb);
  padding-left: 18px;
  padding-right: 18px;
}
.swap-modal > h3 {
  border-radius: 18px 18px 0 0;
  padding-top: 18px;
  padding-bottom: 10px;
}
.swap-modal > .swap-grid,
.swap-modal > .swap-preview,
.swap-modal > .swap-actions {
  padding-top: 12px;
  padding-bottom: 14px;
}
.swap-modal > .swap-actions {
  border-radius: 0 0 18px 18px;
  padding-bottom: 18px;
}
.swap-review-card {
  padding: 14px;
  border-radius: 16px;
}
.swap-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0;
}
.swap-preview {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(41, 76, 96, 0.12);
}
.swap-actions {
  justify-content: flex-end;
}
.calendar-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.calendar-head {
  text-align: center;
  color: var(--theme-blue);
  font-size: 0.85rem;
  font-weight: 800;
}
.calendar-cell {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 8px;
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
}
.calendar-cell.outside {
  opacity: 0.45;
}
.calendar-date {
  font-weight: 800;
}
.calendar-tag {
  color: var(--theme-pink);
  font-size: 0.78rem;
  font-weight: 700;
}
.calendar-meta {
  color: rgba(19, 39, 50, 0.72);
  font-size: 0.74rem;
}
.mobile-day-card,
.mobile-slot-card {
  border-radius: 16px;
}
.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(41, 76, 96, 0.14);
  background: rgba(252, 252, 252, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 -12px 30px rgba(19, 39, 50, 0.08);
}
.mobile-bottom-nav button,
.mobile-bottom-nav a {
  border: 1px solid rgba(41, 76, 96, 0.16);
  background: #fff;
  color: var(--theme-blue);
  padding: 9px 6px;
  text-align: center;
  text-decoration: none;
}
@media (max-width: 899px) {
  .layout {
    width: min(100vw - 20px, 1160px);
    padding-top: 20px;
  }
  .public-layout {
    padding-bottom: calc(176px + env(safe-area-inset-bottom));
  }
  .hero,
  .panel {
    border-radius: 22px;
  }
  .hero {
    padding: 24px;
  }
  .public-top-nav {
    width: 100%;
    border-radius: 22px;
  }
  .hero-row,
  .panel-head,
  .slot-card,
  .public-head,
  .actions {
    flex-direction: column;
  }
  .hero-sidebars {
    width: 100%;
  }
  .public-top-nav {
    display: none;
  }
  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters .pill {
    width: 100%;
    justify-content: center;
    min-height: 42px;
    font-weight: 800;
  }
  .trade-layout.mobile,
  .trade-layout.mobile .slot-stack,
  .trade-layout.mobile + .actions {
    padding-bottom: 14px;
  }
  .trade-layout.mobile .trade-column:last-child .slot-stack {
    padding-bottom: 96px;
  }
  .dashboard-grid,
  .trade-layout,
  .form-grid,
  .metric-grid,
  .swap-grid,
  .summary-row,
  .stats-row {
    grid-template-columns: 1fr;
  }
  .summary-row {
    gap: 4px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  .brand-lockup {
    align-items: flex-start;
  }
  .brand-logo {
    width: 82px;
  }
  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters {
    grid-template-columns: 1fr;
  }
}
/*# sourceMappingURL=app.css.map */
