/* Recurring schedules stay within this dashboard; ordinary table cards retain
   their existing layout. Every occurrence keeps its own actions and places. */
.mao-host-tables-page .mao-host-series { grid-column:1 / -1; min-width:0; border:1px solid #e2d3bf; border-radius:16px; background:rgba(255,252,246,.96); overflow:hidden; }
.mao-host-tables-page .mao-host-series__header { display:flex; align-items:center; gap:20px; padding:24px; border-bottom:1px solid #ebdfd0; }
.mao-host-tables-page .mao-host-series__header img { width:128px; height:88px; object-fit:cover; border-radius:10px; }
.mao-host-tables-page .mao-host-series__header > div { min-width:0; }
.mao-host-tables-page .mao-host-series h3 { margin:0 0 8px; color:#30352c; font:500 clamp(25px,2.5vw,32px)/1.15 Georgia,"Times New Roman",serif; overflow-wrap:anywhere; }
.mao-host-tables-page .mao-host-series__header p { margin:0; color:#65705f; font-size:13px; }
.mao-host-tables-page .mao-host-series__header .mao-host-series__eyebrow { margin-bottom:8px; color:#4d6044; font-size:12px; }
.mao-host-tables-page .mao-host-series__scope { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 24px; background:#f4f3e9; }
.mao-host-tables-page .mao-host-series__scope p { margin:0; color:#50584b; font-size:13px; }
.mao-host-tables-page .mao-host-series__scope button { flex-shrink:0; min-height:44px; font-size:13px; }
.mao-host-tables-page .mao-host-series__dates { margin:0; padding:0 24px; list-style:none; }
.mao-host-tables-page .mao-host-series__date { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,.65fr); align-items:start; gap:24px; padding:22px 0; border-bottom:1px solid #ebdfd0; }
.mao-host-tables-page .mao-host-series__date[hidden] { display:none!important; }
.mao-host-tables-page .mao-host-series__date:last-child { border-bottom:0; }
.mao-host-tables-page .mao-host-series__date-main,.mao-host-tables-page .mao-host-series__date-manage { min-width:0; }
.mao-host-tables-page .mao-host-series__date-heading { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.mao-host-tables-page .mao-host-series h4 { margin:0; font:500 21px/1.25 Georgia,"Times New Roman",serif; color:#30352c; }
.mao-host-tables-page .mao-host-series__past { color:#65705f; font-size:12px; }
.mao-host-tables-page .mao-host-series__time { margin:8px 0 14px; color:#424940; font-size:14px; }
.mao-host-tables-page .mao-host-series__title { margin:10px 0; color:#65705f; font-size:13px; overflow-wrap:anywhere; }
.mao-host-tables-page .mao-host-series__date-main > .mao-host-button { margin-bottom:12px; }
.mao-host-tables-page .mao-host-series__date .mao-host-table-card__status { max-width:none; font-size:12px; }
.mao-host-tables-page .mao-host-series__date .mao-host-guest-attention { margin-bottom:0; border-bottom:0; }
@media(max-width:700px) {
  .mao-host-tables-page .mao-host-series__header { padding:20px 16px; gap:14px; }
  .mao-host-tables-page .mao-host-series__header img { width:76px; height:76px; }
  .mao-host-tables-page .mao-host-series__scope { align-items:flex-start; flex-direction:column; padding:14px 16px; gap:12px; }
  .mao-host-tables-page .mao-host-series__dates { padding-inline:16px; }
  .mao-host-tables-page .mao-host-series__date { grid-template-columns:minmax(0,1fr); gap:12px; padding-block:20px; }
  .mao-host-tables-page .mao-host-series h4 { font-size:20px; }
}

.mao-host-tables-page {
  overflow-x: hidden;
  background: #fbf7ef;
  color: #30352c;
}

.mao-host-tables-page .mao-site-header {
  position: relative;
}

.mao-host-workspace {
  position: relative;
  min-height: 100vh;
  padding: clamp(34px, 4vw, 62px) 28px 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 73% 4%, rgba(238, 224, 197, .23), transparent 27%),
    linear-gradient(180deg, #fcf8f0 0%, #fbf7ef 48%, #f9f3e9 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mao-host-workspace__botanical {
  position: absolute;
  top: 12px;
  left: -32px;
  width: 150px;
  height: 240px;
  background: url("/assets/images/decor/meet-at-ours-botanical-corner-top-left.png") left top / contain no-repeat;
  opacity: .72;
  pointer-events: none;
}

.mao-host-workspace__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1376px);
  margin: 0 auto;
}

.mao-host-workspace__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 0 34px;
}

.mao-host-workspace__hero h1,
.mao-host-table-section__heading h2,
.mao-host-table-card h3,
.mao-host-past-card h3,
.mao-host-empty h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #30352c;
  font-weight: 500;
}

.mao-host-workspace__hero h1 {
  margin: 0 0 10px;
  font-size: clamp(50px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.025em;
}

.mao-host-workspace__hero p {
  margin: 0;
  color: #5e6858;
  font-size: clamp(16px, 1.5vw, 19px);
}

.mao-host-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid #556a48;
  border-radius: 11px;
  font: inherit;
  font-weight: 750;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.mao-host-button svg,
.mao-host-tabs svg,
.mao-host-summary svg,
.mao-host-table-card__facts svg,
.mao-host-inline-attention svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.mao-host-button--primary {
  background: #586d4b;
  color: #fffef9;
  box-shadow: 0 8px 20px rgba(67, 84, 56, .12);
}

.mao-host-button--primary:hover {
  border-color: #43573a;
  background: #43573a;
  color: #fff;
}

.mao-host-button--secondary {
  background: transparent;
  color: #44563c;
}

.mao-host-button--secondary:hover {
  background: rgba(88, 109, 75, .08);
  color: #34462f;
}

.mao-host-workspace__status {
  margin: 12px 0 0;
  padding: 24px;
  border: 1px solid #e5d8c5;
  border-radius: 18px;
  background: rgba(255, 253, 248, .82);
  color: #5d6357;
  text-align: center;
}

.mao-host-workspace__status button {
  margin-left: 8px;
  border: 0;
  background: transparent;
  color: #43573a;
  font: inherit;
  font-weight: 750;
  text-decoration: underline;
  cursor: pointer;
}

.mao-host-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.mao-host-summary[hidden],
.mao-host-workspace__columns[hidden] {
  display: none;
}

.mao-host-summary__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "icon metric" ". action";
  gap: 4px 16px;
  min-height: 128px;
  padding: 20px;
  border: 1px solid rgba(213, 216, 199, .52);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(244, 245, 235, .93), rgba(241, 242, 232, .68));
}

.mao-host-summary__icon {
  display: grid;
  grid-area: icon;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #dce5cd;
  color: #4c6041;
}

.mao-host-summary__card > div {
  grid-area: metric;
}

.mao-host-summary__card p {
  margin: 3px 0 5px;
  color: #475143;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.mao-host-summary__card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.mao-host-summary__card button {
  grid-area: action;
  justify-self: start;
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4d5b47;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.mao-host-summary__card button:hover {
  color: #34462f;
  text-decoration: underline;
}

.mao-host-workspace__columns {
  display: block;
}

.mao-host-workspace__main {
  min-width: 0;
}

.mao-host-tabs {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e3d5c3;
  border-radius: 17px;
  background: rgba(255, 253, 248, .78);
}

.mao-host-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
  min-height: 56px;
  padding: 10px 16px;
  border: 0;
  border-right: 1px solid #e3d5c3;
  background: transparent;
  color: #485243;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.mao-host-tabs button:last-child {
  border-right: 0;
}

.mao-host-tabs button.is-active {
  border-color: #556a48;
  border-radius: 15px;
  background: #586d4b;
  color: white;
}

.mao-host-tabs button:focus-visible {
  outline: 3px solid #c87a55;
  outline-offset: -3px;
}

.mao-host-tabs em {
  min-width: 26px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #e8eadf;
  color: #44523f;
  font-size: 12px;
  font-style: normal;
}

.mao-host-tabs .is-active em {
  background: #dc7958;
  color: white;
}

.mao-host-table-section {
  min-width: 0;
  padding-top: 28px;
  outline: 0;
}

.mao-host-table-section__heading {
  margin-bottom: 18px;
  padding-left: 3px;
}

.mao-host-table-section__heading h2 {
  margin: 0 0 5px;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.05;
}

.mao-host-table-section__heading p {
  margin: 0;
  color: #65705f;
  font-size: 14px;
}

.mao-host-table-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.mao-host-tables-page .mao-host-table-list:has(> .mao-host-table-card:only-child) {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 960px);
  margin-inline: auto;
}

.mao-host-table-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e2d3bf;
  border-radius: 16px;
  background: rgba(255, 252, 246, .96);
  box-shadow: 0 14px 34px rgba(67, 58, 47, .055);
}

.mao-host-table-card__image {
  position: relative;
  min-height: 134px;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  background: #eee7d9;
}

.mao-host-table-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mao-host-table-card__fallback {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 134px;
  background:
    linear-gradient(135deg, rgba(91, 107, 77, .08), rgba(203, 157, 116, .1)),
    url("/assets/images/decor/meet-at-ours-dining-table-illustration.png") center 42% / 155px auto no-repeat;
  color: #5c6655;
  place-content: end center;
  padding: 12px;
  font-size: 12px;
  text-align: center;
}

.mao-host-table-card__fallback > span:first-child {
  display: none;
}

.mao-host-tables-page .mao-host-table-card__image:has(> .mao-host-table-card__fallback) {
  height: 88px;
  min-height: 88px;
  aspect-ratio: auto;
}

.mao-host-tables-page .mao-host-table-card__fallback {
  min-height: 88px;
  padding: 8px;
  background-size: auto, 82px auto;
  background-position: center, center 4px;
}

.mao-host-table-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  max-width: calc(100% - 20px);
  padding: 7px 12px;
  border-radius: 999px;
  background: #f8d9c8;
  color: #a4482d;
  font-size: 12px;
  font-weight: 750;
}

.mao-host-table-card__badge[data-tone="good"] {
  background: #e5ebda;
  color: #4a5a40;
}

.mao-host-table-card__badge[data-tone="wait"] {
  background: #f0e7d8;
  color: #735f45;
}

.mao-host-table-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.mao-host-table-card__body > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.mao-host-table-card h3 {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(23px, 2.1vw, 29px);
  line-height: 1.08;
}

.mao-host-tables-page .mao-operational-context--compact {
  margin: 0 0 14px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.45;
}

.mao-host-tables-page .mao-operational-context--compact h3 {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.3;
}

.mao-host-tables-page .mao-operational-context--compact p {
  margin: 0 0 8px;
}

.mao-host-tables-page .mao-operational-context--compact ul {
  margin: 4px 0 10px;
  padding-left: 20px;
}

.mao-host-tables-page .mao-operational-context--compact .mao-btn {
  margin-top: 2px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 15px;
}

.mao-host-table-card__status {
  flex: 0 0 auto;
  max-width: 135px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eef0e6;
  color: #58604f;
  font-size: 10px;
  font-weight: 750;
  text-align: center;
}

.mao-host-table-card__status[data-tone="attention"] {
  background: #f7dfd2;
  color: #a24c31;
}

.mao-host-table-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 12px 0 14px;
  color: #424940;
  font-size: 12px;
}

.mao-host-table-card__facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.mao-host-table-card__facts svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.mao-host-guest-attention,
.mao-host-inline-attention {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  margin: 0 0 13px;
  padding: 12px 0;
  border-block: 1px solid #ebdfd0;
}

.mao-host-guest-attention__avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dbe3ce;
  color: #4d5f43;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.mao-host-guest-attention strong,
.mao-host-inline-attention strong {
  display: block;
  color: #46503f;
  font-size: 13px;
}

.mao-host-guest-attention p,
.mao-host-inline-attention p {
  margin: 3px 0 0;
  color: #6b6e64;
  font-size: 11px;
  line-height: 1.4;
}

.mao-host-inline-attention {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  background: #fff5e8;
}

.mao-host-inline-attention > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fae3cf;
  color: #a85435;
}

.mao-host-occupancy {
  margin-top: auto;
  padding-top: 3px;
}

.mao-host-occupancy > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: #50584b;
  font-size: 11px;
}

.mao-host-occupancy__track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e5df;
}

.mao-host-occupancy__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #607650;
}

.mao-host-table-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.mao-host-table-card__actions .mao-host-button {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding-inline: 10px;
  font-size: 12px;
}

.mao-host-cohost-recipient {
  align-self: center;
  min-width: 0;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mao-host-table-list:has(.mao-host-past-card) {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.mao-host-past-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid #e4d7c5;
  border-radius: 14px;
  background: rgba(255, 252, 246, .82);
}

.mao-host-past-card > img,
.mao-host-past-card__fallback {
  width: 96px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.mao-host-past-card__fallback {
  display: grid;
  background: #e9e6db;
  color: #6b7363;
  place-items: center;
}

.mao-host-past-card h3 {
  margin: 0 0 4px;
  font-size: 21px;
}

.mao-host-past-card p,
.mao-host-past-card span,
.mao-host-past-card details p {
  margin: 0;
  color: #6b6e64;
  font-size: 12px;
}

.mao-host-past-card span {
  display: inline-block;
  margin-top: 5px;
  color: #4f5d48;
  font-weight: 700;
}

.mao-host-past-card details {
  min-width: 110px;
  color: #4d6044;
  font-size: 12px;
}

.mao-host-past-card summary {
  cursor: pointer;
  font-weight: 750;
}

.mao-host-past-card details p {
  max-width: 170px;
  margin-top: 8px;
}

.mao-host-empty {
  grid-column: 1 / -1;
  padding: 54px 28px;
  border: 1px dashed #d9ccb9;
  border-radius: 16px;
  background: rgba(255, 252, 246, .65);
  text-align: center;
}

.mao-host-empty > span {
  display: block;
  margin-bottom: 8px;
  color: #819073;
  font-size: 30px;
}

.mao-host-empty h3 {
  margin: 0 0 6px;
  font-size: 25px;
}

.mao-host-empty p {
  max-width: 440px;
  margin: 0 auto;
  color: #6b6e64;
  font-size: 13px;
}

@media (max-width: 880px) {
  .mao-host-workspace {
    padding-inline: 20px;
  }

  .mao-host-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .mao-host-summary__card {
    min-height: 108px;
  }

  .mao-host-table-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .mao-host-workspace {
    padding: 28px 14px 58px;
  }

  .mao-host-workspace__botanical {
    left: -64px;
    opacity: .42;
  }

  .mao-host-workspace__hero {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 26px;
  }

  .mao-host-workspace__hero h1 {
    font-size: 48px;
  }

  .mao-host-workspace__hero .mao-host-button {
    width: 100%;
  }

  .mao-host-tabs {
    grid-template-columns: 1.35fr 1fr 1fr;
    border-radius: 14px;
  }

  .mao-host-tabs button {
    min-height: 66px;
    flex-direction: column;
    gap: 4px;
    padding: 7px 5px;
    font-size: 11px;
    line-height: 1.15;
  }

  .mao-host-tabs button svg {
    width: 18px;
    height: 18px;
  }

  .mao-host-tabs em {
    min-width: 22px;
    padding: 2px 6px;
    font-size: 10px;
  }

  .mao-host-table-card__body {
    padding: 15px;
  }

  .mao-host-table-card__body > header {
    flex-direction: column;
  }

  .mao-host-table-card__status {
    max-width: 100%;
  }

  .mao-host-table-card__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .mao-host-past-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .mao-host-past-card > img,
  .mao-host-past-card__fallback {
    width: 78px;
    height: 64px;
  }

  .mao-host-past-card details {
    grid-column: 1 / -1;
  }

}
