:root {
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  color: #28372f;
  background: #f6f8f7;
  font-synthesis: none;
  --green:#254b40;
  --ink:#28372f;
  --muted:#64746b;
  --line:#dce3df;
  --white:#fff;
  --red:#9d3537;
  --gold:#946b18;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: .5;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #318eaa;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
svg {
  width: 19px;
  height: 19px;
  flex: none;
  stroke-width: 1.7;
}
button {
  border: 0;
  background: none;
}
.icon-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 4px;
}
.icon-button:hover {
  background: #eaf0ec;
}
.bordered {
  border: 1px solid var(--line);
  background: white;
}
.primary,
.secondary {
  min-height: 42px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  font-weight: 600;
}
.primary {
  background: var(--green);
  color: #fff;
}
.primary:hover {
  background: #193b30;
}
.secondary {
  border: 1px solid #cdd9d2;
  background: white;
}
.secondary:hover {
  background: #f0f5f2;
}
.wide {
  width: 100%;
}
.text-button {
  display: block;
  padding: 16px 0;
  color: var(--green);
  font-size: 13px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: #65796d;
  margin: 0 0 8px;
}
.error-text {
  color: var(--red);
  font-size: 13px;
  margin: 8px 0;
  min-height: 0;
}
.error-text:empty {
  display: none;
}
input,
select,
textarea {
  border: 1px solid #cdd7d0;
  border-radius: 4px;
  background: white;
  min-width: 0;
}
input,
select {
  min-height: 42px;
  padding: 9px 11px;
}
textarea {
  padding: 10px;
  width: 100%;
  resize: vertical;
}
input[type=checkbox] {
  accent-color: var(--green);
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 0;
  flex: none;
}
label {
  font-size: 13px;
}
.login-view {
  min-height: 100dvh;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 24px;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  text-align: center;
  line-height: 1.2;
}
.login-brand img {
  width: 120px;
  height: auto;
  aspect-ratio: 360 / 289;
  object-fit: contain;
}
.login-content {
  width: 100%;
  max-width: 380px;
  margin: auto;
  padding: 54px 0 65px;
}
.login-content h1 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 32px;
}
.login-content form > label:not(.check-label) {
  display: block;
  margin: 18px 0 7px;
}
#account-passwords > label {
  display: block;
  margin: 18px 0 7px;
}
.login-content input[type=email],
.password-field {
  width: 100%;
}
.password-field {
  display: flex;
  border: 1px solid #cdd7d0;
  background: white;
  border-radius: 4px;
}
.password-field input {
  border: 0;
  width: 100%;
  min-width: 0;
}
.password-field button {
  margin: 2px;
}
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #586a5e;
  margin: 20px 0;
}
.login-view footer {
  font-size: 11px;
  color: #7b8a80;
}
.login-content .primary {
  margin-top: 12px;
}
.app-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
}
.sidebar {
  background: var(--green);
  color: #fff;
  position: fixed;
  inset: 0 auto 0 0;
  width: 214px;
  display: flex;
  flex-direction: column;
  padding: 30px 18px;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 9px;
  line-height: 1.2;
  padding: 0 12px 35px;
}
.brand img {
  width: 110px;
  height: auto;
  aspect-ratio: 360 / 289;
  object-fit: contain;
  filter: invert(1);
}
.sidebar-label {
  font-size: 10px;
  color: #a7c0b1;
  padding: 0 14px;
  margin: 18px 0 12px;
}
.main-nav {
  display: grid;
  gap: 7px;
}
.nav-item {
  color: #deebe3;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  text-align: left;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
}
.nav-item.selected {
  background: #416354;
  color: white;
}
.nav-item:not(:disabled):hover {
  background: #416354;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 14px 0;
  display: grid;
  gap: 14px;
}
.connection {
  font-size: 11px;
  color: #d3e0d7;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot {
  width: 6px;
  height: 6px;
  background: #9acda6;
  border-radius: 50%;
}
.offline .dot {
  background: #e5ba70;
}
.sidebar-note {
  font-size: 10px;
  color: #98b2a2;
}
.workspace {
  grid-column: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.topbar {
  min-height: 65px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 36px;
  font-size: 12px;
}
.crumb {
  color: #a6b2aa;
  margin: 0 10px;
}
.account {
  display: flex;
  align-items: center;
  gap: 14px;
}
.account .icon-button {
  width: 36px;
  height: 36px;
}
main {
  padding: 28px 36px 44px;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  flex: 1;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.page-heading h1 {
  font-size: 27px;
  line-height: 1.1;
  margin: 0;
  font-weight: 600;
}
.heading-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.range-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.program-switch {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 20px;
}
.period-switch {
  display: flex;
  border: 1px solid #cdd9d2;
  border-radius: 4px;
  padding: 3px;
  background: #edf1ef;
  flex: none;
}
.period {
  min-height: 31px;
  min-width: 68px;
  padding: 5px 12px;
  border-radius: 3px;
  color: #5d7164;
  font-size: 12px;
}
.period.active {
  background: white;
  color: var(--green);
  box-shadow: 0 1px 2px #18392715;
  font-weight: 600;
}
.date-navigation {
  display: flex;
  align-items: center;
  gap: 4px;
}
.date-navigation form {
  display: flex;
  align-items: center;
  gap: 8px;
}
.date-navigation label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.date-navigation label > span {
  font-size: 10px;
  color: #758379;
}
.date-navigation input {
  padding: 6px 8px;
  min-height: 36px;
  max-width: 148px;
  font-size: 12px;
}
.date-navigation .icon-button {
  width: 32px;
  height: 36px;
}
.date-divider {
  color: #7f8e84;
}
.summary-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 24px;
  padding: 20px 0;
}
.summary-band > div {
  padding: 0 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.summary-band > div:last-child {
  border: 0;
}
.metric-label {
  grid-column: 1/-1;
  font-size: 12px;
  color: #697a6e;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.metric-label svg {
  width: 15px;
  height: 15px;
}
.summary-band strong {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}
.metric-sub {
  font-size: 11px;
  align-self: end;
  color: #7b897f;
  padding-bottom: 5px;
  overflow-wrap: anywhere;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.confirmed {
  background: #418265;
}
.pending {
  background: #c4912e;
}
.record-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  font-size: 14px;
}
.record-list {
  border-top: 1px solid var(--line);
}
.contact-directory { min-height: 160px; }
.contact-table { width:100%;border-collapse:collapse;table-layout:fixed;background:white; }
.contact-table th { text-align:left;background:#f1f5f2;color:var(--muted);font-size:11px;padding:10px 12px;font-weight:600; }
.contact-table td { padding:15px 12px;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere;vertical-align:top; }
.contact-table th:first-child { width:23%; }
.contact-table th:nth-child(2) { width:17%; }
.contact-table th:nth-child(3) { width:25%; }
.contact-table th:nth-child(4) { width:18%; }
.contact-table th:nth-child(5) { width:11%; }
.contact-table th:last-child { width:6%; }
.contact-table .icon-button { width:28px;height:32px; }
.contact-summary strong { font-variant-numeric:tabular-nums; }
@media(max-width:1000px) {
  .contact-table thead { display:none; }
  .contact-table,.contact-table tbody { display:block; }
  .contact-table tr { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;padding:12px 0;border-bottom:1px solid var(--line); }
  .contact-table td { display:block;border:0;padding:5px 10px;min-width:0; }
  .contact-table td:first-child { grid-column:1 / 3; }
  .contact-table td:nth-child(2) { grid-column:1;grid-row:2;color:var(--muted); }
  .contact-table td:nth-child(3) { grid-column:1 / 3;grid-row:3; }
  .contact-table td:nth-child(4) { grid-column:1 / 3;grid-row:4; }
  .contact-table td:nth-child(5) { grid-column:2;grid-row:2;text-align:right; }
  .contact-table td:last-child { grid-column:3;grid-row:1 / 3;padding:0; }
}
.record-row {
  display: grid;
  grid-template-columns: minmax(180px, 2fr) minmax(125px, 1.5fr) minmax(70px, 1fr) minmax(90px, 1fr) minmax(110px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.record-row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}
.record-row.contactos {
  grid-template-columns: minmax(180px, 2fr) minmax(100px, 1fr) minmax(140px, 1.5fr) minmax(140px, 1.5fr) auto;
}
@media (min-width: 761px) and (max-width: 1150px) {
  .record-row,
  .record-row.contactos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.record-person .reservation-open {
  text-align: left;
}
.record-person .reference {
  margin-top: 6px;
}
.record-money {
  font-variant-numeric: tabular-nums;
}
.record-row .badge {
  width: fit-content;
}
.record-dialog {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
.record-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.record-fields label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  font-size: 13px;
}
.record-fields input,
.record-fields select,
.record-fields textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.record-fields .wide {
  grid-column: 1 / -1;
}
.quote-total {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 600;
}
.record-activity {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.record-activity summary {
  cursor: pointer;
}
.demo-access-note {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.access-users {
  width: fit-content;
  max-width: 100%;
  margin: 22px 0 12px;
}
.access-module {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.access-module h2 {
  font-size: 17px;
  margin: 0 0 14px;
}
.access-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
}
.access-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  font-size: 14px;
}
.access-option input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  accent-color: var(--green);
}
.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 18px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 200px;
  background: #fff;
  border: 1px solid #d4ddd7;
  border-radius: 4px;
  padding: 0 11px;
}
.search svg {
  color: #798b7e;
  width: 17px;
}
.search input {
  border: 0;
  background: none;
  width: 100%;
  padding-left: 0;
  font-size: 12px;
}
.select-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}
.select-filter > span {
  font-size: 10px;
  color: #758379;
}
.select-filter select {
  font-size: 12px;
  max-width: 200px;
  min-height: 42px;
}
.filters > .muted {
  min-width: 70px;
  text-align: right;
}
.day-group {
  margin: 0 0 22px;
}
.day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #ccd8d0;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.day-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.day-totals {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #5a6c60;
  font-weight: 400;
}
.day-totals b {
  font-weight: 600;
}
.day-totals .pending-total {
  color: var(--gold);
}
.day-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  table-layout: fixed;
}
.day-table th {
  text-align: left;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  color: #849287;
  height: 32px;
  background: #f1f5f2;
  border-bottom: 1px solid #e3e9e5;
}
.day-table td {
  border-bottom: 1px solid #e7ece8;
  padding: 14px 12px;
  font-size: 12px;
  vertical-align: middle;
  overflow-wrap: anywhere;
}
.day-table th:first-child,
.day-table td:first-child {
  padding-left: 18px;
  width: 32%;
}
.day-table th:nth-child(2) {
  width: 19%;
}
.day-table th:nth-child(3) {
  width: 17%;
}
.day-table th:nth-child(4) {
  width: 19%;
}
.day-table th:nth-child(5) {
  width: 8%;
  text-align: right;
}
.day-table th:last-child {
  width: 5%;
}
.day-table td:nth-child(5) {
  text-align: right;
  font-size: 15px;
  font-weight: 600;
}
.reservation-open {
  text-align: left;
  padding: 0;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  display: block;
}
.reservation-open:hover {
  text-decoration: underline;
}
.reference {
  color: #819086;
  font-size: 11px;
  display: block;
  margin: 4px 0 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border-radius: 3px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
  background: #e9f3ec;
  color: #31734d;
}
.badge.pendiente {
  background: #fbf1db;
  color: #946717;
}
.badge.cancelada {
  background: #f4e9e9;
  color: #9a5252;
}
.row-arrow {
  color: #8b9b90;
  padding: 0;
  width: 28px;
  height: 32px;
}
.row-arrow svg {
  width: 17px;
}
.mobile-meta {
  display: none;
}
.empty-state {
  padding: 65px 20px;
  text-align: center;
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #718277;
}
.empty-state svg {
  width: 30px;
  height: 30px;
  margin-bottom: 12px;
  color: #99aa9c;
}
.empty-state h2 {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px;
  color: #3d5546;
}
.empty-state p {
  font-size: 12px;
  margin: 0;
}
.skeleton {
  height: 76px;
  border-bottom: 1px solid #edf0ee;
  background:
    linear-gradient(
      90deg,
      #fff,
      #f2f5f3,
      #fff);
  background-size: 200% 100%;
  animation: pulse 1.8s infinite;
}
.page-alert {
  border-left: 3px solid #b88524;
  background: #fff6df;
  color: #765817;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 12px;
}
.page-alert button {
  margin-left: 12px;
  text-decoration: underline;
}
.workspace-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px 36px;
  color: #8b988f;
  font-size: 10px;
}
.more {
  margin: 12px auto;
  display: flex;
}
.detail-dialog {
  padding: 24px 28px;
  width: min(500px, calc(100% - 28px));
  max-height: 90dvh;
  border: 1px solid #d6dfd8;
  border-radius: 6px;
  color: var(--ink);
  box-shadow: 0 16px 80px #142d2530;
}
.detail-dialog::backdrop {
  background: #18362960;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.detail-top .eyebrow {
  margin: 0;
}
.detail-dialog h2 {
  font-size: 23px;
  line-height: 1.25;
  margin: 8px 0 12px;
  overflow-wrap: anywhere;
}
.detail-dialog > .badge {
  margin-bottom: 20px;
}
.detail-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
  margin: 10px 0 26px;
}
.detail-fields dt {
  font-size: 10px;
  color: #7e8f81;
  margin-bottom: 5px;
}
.detail-fields dd {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.detail-actions {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.danger-text {
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  font-size: 12px;
}
.operation-form {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.operation-form h3 {
  font-size: 16px;
}
.operation-form label {
  display: block;
  font-size: 12px;
  margin: 14px 0 7px;
}
.operation-form input {
  display: block;
  width: 100%;
  margin-top: 7px;
}
.operation-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  background: #244536;
  color: #fff;
  border-radius: 4px;
  padding: 13px 20px;
  font-size: 13px;
  box-shadow: 0 5px 20px #102a2520;
  z-index: 50;
  overflow-wrap: anywhere;
}
#demo-banner {
  position: relative;
  z-index: 30;
  background: #eaf0f3;
  color: #426374;
  text-align: center;
  font-size: 11px;
  padding: 7px 14px;
  border-bottom: 1px solid #cedbe1;
}
body:has(#demo-banner:not([hidden])) .sidebar {
  top: 31px;
}
.loading #refresh svg {
  animation: rotate 1.4s linear infinite;
}
@keyframes pulse {
  to {
    background-position: -200% 0;
  }
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
@media (min-width: 1450px) {
  main {
    padding-top: 38px;
  }
  .day-table td {
    padding-top: 17px;
    padding-bottom: 17px;
  }
}
@media (max-width: 1150px) {
  .app-shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .sidebar {
    width: 180px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .topbar {
    padding: 10px 24px;
  }
  main {
    padding: 26px 24px 38px;
  }
  .range-toolbar {
    align-items: flex-start;
  }
  .date-navigation label > span {
    display: none;
  }
  .summary-band > div {
    padding: 0 18px;
  }
  .metric-sub {
    grid-column: 1/-1;
    padding: 0;
  }
  .day-table th:first-child,
  .day-table td:first-child {
    width: 34%;
  }
  .day-table th:nth-child(2) {
    width: 18%;
  }
  .day-table th:nth-child(3) {
    width: 15%;
  }
  .day-table th:nth-child(4) {
    width: 19%;
  }
  .day-table th:nth-child(5) {
    width: 8%;
  }
  .day-table th:last-child {
    width: 6%;
  }
}
@media (max-width: 760px) {
  .app-shell {
    display: block;
    padding-bottom: 75px;
  }
  .sidebar {
    top: auto !important;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 0;
    background: #fff;
    color: var(--green);
    border-top: 1px solid #d6e0d9;
    inset: auto 0 0;
  }
  .sidebar .brand,
  .sidebar-label,
  .sidebar-bottom {
    display: none;
  }
  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 5px 10px max(6px, env(safe-area-inset-bottom));
  }
  .main-nav:has(#nav-access:not([hidden])) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .access-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
  }
  .record-row,
  .record-row.contactos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .record-person {
    grid-column: 1 / -1;
  }
  .record-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .record-dialog {
    padding: 20px 16px;
  }
  .heading-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 58%;
  }
  .heading-actions .new-reservation {
    font-size: 12px;
    padding: 8px;
  }
  .nav-item {
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 0;
    color: #75857b;
    font-size: 10px;
    min-height: 53px;
  }
  .nav-item svg {
    width: 21px;
    height: 21px;
  }
  .nav-item.selected,
  .nav-item:not(:disabled):hover {
    background: transparent;
    color: var(--green);
  }
  .nav-item.selected:after {
    content: "";
    height: 2px;
    width: 22px;
    background: var(--green);
    position: absolute;
    bottom: 5px;
  }
  .topbar {
    padding: 9px 18px;
    min-height: 48px;
    font-size: 11px;
  }
  .topbar > span {
    font-size: 10px;
  }
  .account {
    gap: 8px;
  }
  .account .icon-button {
    width: 32px;
    height: 32px;
  }
  main {
    padding: 18px 16px 24px;
  }
  .page-heading {
    margin-bottom: 17px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading .eyebrow {
    font-size: 10px;
  }
  .heading-actions {
    gap: 8px;
  }
  .heading-actions .muted {
    font-size: 10px;
    max-width: 78px;
  }
  .range-toolbar {
    gap: 12px;
    margin-bottom: 18px;
  }
  .period-switch {
    width: 100%;
  }
  .period {
    flex: 1;
  }
  .date-navigation {
    width: 100%;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) 26px;
    gap: 0;
  }
  .date-navigation form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 26px;
    gap: 3px;
    min-width: 0;
  }
  .date-navigation label {
    display: block;
    min-width: 0;
  }
  .date-navigation input {
    width: 100%;
    min-inline-size: 0;
    max-width: 100%;
    font-size: 11px;
    padding: 7px 4px;
  }
  .date-navigation .icon-button {
    width: 26px;
  }
  .date-divider {
    font-size: 12px;
  }
  .summary-band {
    padding: 12px 0;
    margin-bottom: 16px;
  }
  .summary-band > div {
    padding: 0 10px;
    gap: 3px 0;
  }
  .summary-band strong {
    font-size: 25px;
  }
  .metric-label {
    font-size: 10px;
    gap: 5px;
    min-height: 28px;
    margin-bottom: 3px;
    align-items: flex-start;
  }
  .metric-label svg {
    width: 12px;
    height: 12px;
  }
  .metric-label .status-dot {
    margin-top: 3px;
    width: 5px;
    height: 5px;
  }
  .metric-sub {
    font-size: 9px;
    padding: 0;
  }
  .filters {
    gap: 8px;
  }
  .search {
    width: 100%;
    flex: none;
    min-width: 0;
  }
  .select-filter {
    flex: 1;
    min-width: 0;
  }
  .select-filter > span {
    display: none;
  }
  .select-filter select {
    width: 100%;
    max-width: none;
    font-size: 11px;
  }
  .filters > .muted {
    width: 100%;
    text-align: left;
    font-size: 10px;
    min-width: 0;
    margin-top: 2px;
  }
  .day-header {
    padding: 10px 0;
    gap: 8px;
  }
  .day-title {
    font-size: 12px;
    gap: 5px;
  }
  .day-totals {
    font-size: 10px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .day-table thead {
    display: none;
  }
  .day-table td {
    padding: 14px 8px;
  }
  .day-table td:first-child {
    padding-left: 12px;
    width: auto;
  }
  .day-table td:nth-child(2),
  .day-table td:nth-child(3),
  .day-table td:nth-child(4) {
    display: none;
  }
  .day-table td:nth-child(5) {
    width: 35px;
    font-size: 15px;
    vertical-align: top;
    padding-top: 15px;
  }
  .day-table td:last-child {
    width: 28px;
    padding-left: 0;
    padding-right: 6px;
    vertical-align: top;
  }
  .reservation-open {
    font-size: 13px;
  }
  .reference {
    font-size: 10px;
  }
  .mobile-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    flex-wrap: wrap;
    color: #718378;
    font-size: 10px;
  }
  .mobile-meta .badge {
    font-size: 9px;
    padding: 3px 6px;
  }
  .workspace-footer {
    padding: 14px 16px;
    font-size: 9px;
  }
  .empty-state {
    padding: 45px 16px;
  }
  .detail-dialog {
    padding: 18px 20px;
    max-height: 85dvh;
  }
  .detail-dialog h2 {
    font-size: 21px;
  }
  .detail-fields {
    gap: 18px;
  }
  .toast {
    bottom: 90px;
    font-size: 12px;
    width: max-content;
  }
  .login-view {
    padding-top: 30px;
  }
  .login-content {
    padding-top: 40px;
  }
  .login-content h1 {
    font-size: 29px;
  }
  #demo-banner {
    font-size: 9px;
    min-height: 31px;
  }
  .detail-actions {
    gap: 10px;
  }
  .date-navigation input::-webkit-calendar-picker-indicator {
    margin-left: 0;
    padding-left: 0;
  }
}
@media (max-width: 365px) {
  main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .date-navigation input {
    font-size: 10px;
  }
  .summary-band > div {
    padding: 0 8px;
  }
  .day-totals {
    font-size: 9px;
  }
  .account {
    font-size: 10px;
  }
  .topbar {
    padding-left: 12px;
    padding-right: 12px;
  }
}
.event-filters {display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:22px 0;}
.event-filters .search {flex:1;min-width:220px;}
.event-dates {display:flex;gap:12px;}
.event-dates label {display:grid;gap:5px;min-width:0;}
.event-dates input {min-width:0;width:150px;}
.event-summary {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;}
.event-summary span {min-width:0;overflow-wrap:anywhere;}
.event-summary small {display:block;margin-top:5px;}
.event-table td {overflow-wrap:anywhere;}
.event-table td:nth-child(2) {font-size:13px;}
@media (max-width:760px) {
  .event-summary {grid-template-columns:repeat(2,minmax(0,1fr));}
  .event-filters {gap:10px;}
  .event-dates {width:100%;}
  .event-dates label {flex:1;}
  .event-dates input {width:100%;}
  .event-filters .search {min-width:0;width:100%;flex-basis:100%;}
  .event-filters .select-filter {flex:1;min-width:0;}
  .event-filters select {max-width:100%;}
}
.event-editor {width:min(940px,calc(100% - 32px));max-width:940px;}
.event-form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.event-field {display:grid;gap:6px;min-width:0;margin-bottom:14px;align-content:start;}
.event-field input,.event-field select,.event-field textarea {width:100%;min-width:0;}
.event-field input,.event-field select {min-height:44px;align-self:start;}
.contact-shared {display:flex;align-items:center;gap:10px;line-height:1.5;margin:8px 0 18px;}
.contact-shared input {width:18px;height:18px;flex:0 0 18px;}
.event-operation-form {margin-top:24px;}
.event-contact-picker {border-top:1px solid #dfe5e1;padding-top:12px;min-width:0;}
.event-operation-form textarea {resize:vertical;}
.quote-option {border:0;border-top:1px solid #dfe5e1;padding:20px 0;margin:20px 0;min-width:0;}
.quote-option legend {font-weight:700;padding-right:12px;}
.quote-option>button {margin-right:8px;margin-top:10px;}
.quote-line {display:grid;grid-template-columns:1fr 2fr 80px 110px 160px 40px;gap:8px;align-items:start;border-bottom:1px solid #e8ece9;padding:12px 0;}
.quote-line .event-field {font-size:12px;}
.quote-line .icon-button {margin-top:24px;}
.quote-version {display:flex;gap:16px;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e9e5;padding:16px 0;}
.quote-version small {display:block;margin-top:5px;}
.quote-document {margin-top:24px;overflow-wrap:anywhere;}
.quote-brand {background:#2d493f;color:white;display:flex;gap:24px;align-items:center;padding:24px;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
.quote-brand img {width:100px;height:auto;filter:brightness(0) invert(1);}
.quote-brand div {font-size:20px;}
.quote-print-table {border-collapse:collapse;width:100%;font-size:13px;table-layout:fixed;}
.quote-print-table td,.quote-print-table th {padding:10px 6px;border-bottom:1px solid #dde3df;text-align:right;overflow-wrap:anywhere;}
.quote-print-table td:first-child,.quote-print-table th:first-child {width:46%;text-align:left;}
.quote-total {font-weight:700;}
.quote-conditions {white-space:pre-wrap;}
#event-quote-print {display:none;}
@media (max-width:760px) {
  .event-form-grid {grid-template-columns:minmax(0,1fr);}
  .quote-line {grid-template-columns:repeat(2,minmax(0,1fr));}
  .quote-line .event-field:nth-child(2) {grid-column:1/-1;grid-row:1;}
  .quote-line .icon-button {margin-top:0;}
  .quote-version {align-items:start;flex-wrap:wrap;}
  .quote-brand {padding:16px;gap:16px;}
  .quote-brand div {font-size:17px;}
  .quote-print-table {font-size:11px;}
}
@media print {
  body.printing-quote>*:not(#event-quote-print) {display:none!important;}
  body.printing-quote #event-quote-print {display:block!important;color:#263b31;padding:0;}
  #event-quote-print .quote-document {margin:0;}
  #event-quote-print h3 {break-after:avoid;}
  #event-quote-print tr {break-inside:avoid;}
  #event-quote-print thead {display:table-header-group;}
  body {
    background: white;
  }
  .sidebar,
  .topbar,
  .filters,
  .range-toolbar,
  .heading-actions,
  .workspace-footer,
  #demo-banner,
  .more {
    display: none !important;
  }
  .app-shell {
    display: block;
    padding: 0;
  }
  .workspace {
    display: block;
  }
  main {
    padding: 0;
  }
  .day-group {
    break-inside: avoid;
  }
  .summary-band {
    border: 1px solid #ddd;
  }
  .day-table td {
    font-size: 10px;
  }
  dialog {
    display: none !important;
  }
}
.payment-row{border-top:1px solid #d6ddd6;padding:20px 0;overflow-wrap:anywhere}
.payment-row h3{font-size:18px}
.payment-row details{margin-top:12px}
.capacity-row{border-top:1px solid #d6ddd6;padding:16px 0;overflow-wrap:anywhere}
.capacity-row h3{font-size:17px}
.mail-preview{max-width:640px;margin:24px auto;background:white;border:1px solid #d6ddd6;overflow-wrap:anywhere}
.mail-brand{background:#f4f6f4;border-bottom:3px solid #244b3e;padding:28px;text-align:center}
.mail-brand img{width:130px;height:auto;display:inline-block}
.mail-body{padding:28px;color:#263d34}
.mail-body h2{font-family:Georgia,serif;font-size:28px;line-height:1.25}
.mail-body p{line-height:1.7}
.mail-button{display:inline-block;background:#244b3e;color:white;text-decoration:none;padding:14px 22px;margin:18px 0}
@media(max-width:480px){.mail-body{padding:16px}.mail-body h2{font-size:24px}}
