:root {
  --heat-0: #f0f3f1; --heat-1: #dfefe5; --heat-2: #b9dbc9; --heat-3: #76b498; --heat-4: var(--primary);
  --tone-1-bg: #e0eee5; --tone-1-fg: #25634c;
  --tone-2-bg: #ffe9d6; --tone-2-fg: #8a5327;
  --tone-3-bg: #d8f5e8; --tone-3-fg: #1f6b4f;
  --tone-4-bg: #dcecff; --tone-4-fg: #24558f;
  --tone-5-bg: #ffe0ea; --tone-5-fg: #8f2a4c;
}

/* Small label above a section or page title. */
.kicker { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 16px; margin-bottom: 18px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 16px; font-weight: 600; line-height: 1.5; }
@media (max-width: 800px) { .kicker { font-size: 15px; margin-bottom: 14px; } }
.card { min-width: 0; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--white); }

.icon-badge { display: inline-grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); font-size: 22px; }
.icon-badge > .icon { font-size: inherit; }

.avatar { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--tone-1-bg); color: var(--tone-1-fg); font-size: var(--text-base); font-style: normal; font-weight: 700; }
.participants-list > :nth-child(5n + 2) .avatar, .avatar-stack > .avatar:nth-child(5n + 2) { background: var(--tone-2-bg); color: var(--tone-2-fg); }
.participants-list > :nth-child(5n + 3) .avatar, .avatar-stack > .avatar:nth-child(5n + 3) { background: var(--tone-3-bg); color: var(--tone-3-fg); }
.participants-list > :nth-child(5n + 4) .avatar, .avatar-stack > .avatar:nth-child(5n + 4) { background: var(--tone-4-bg); color: var(--tone-4-fg); }
.participants-list > :nth-child(5n + 5) .avatar, .avatar-stack > .avatar:nth-child(5n + 5) { background: var(--tone-5-bg); color: var(--tone-5-fg); }

.heat-0 { background: var(--heat-0); } .heat-1 { background: var(--heat-1); } .heat-2 { background: var(--heat-2); } .heat-3 { background: var(--heat-3); } .heat-4 { background: var(--heat-4); }


.suggestion { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.suggestion + .suggestion { margin-top: 12px; }
.suggestion-featured { padding: 24px; border-color: #d3e5db; border-radius: 16px; background: #f1f7f3; }
.suggestion-main { display: flex; align-items: center; gap: 16px; }
.suggestion-when { flex: 1; min-width: 0; }
.suggestion-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 12px; font-size: var(--text-md); }
.suggestion-label { color: var(--primary); font-weight: 600; }
.suggestion-count { padding: 2px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); font-weight: 600; white-space: nowrap; }
.suggestion h3 { color: var(--muted); font-size: var(--text-base); font-weight: 400; line-height: 1.7; }
.suggestion-time { margin-top: 4px; color: var(--primary); font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; line-height: 1.3; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.suggestion-actions { display: flex; flex-direction: column; gap: 8px; }
.suggestion-actions .icon-button { border-color: var(--line); background: var(--white); color: var(--primary); text-decoration: none; }
.suggestion-actions .icon-button:hover { background: var(--soft); }
.suggestion-actions .action-label { display: none; }
.suggestion-featured .suggestion-main { flex-wrap: wrap; }
.suggestion-featured .suggestion-actions { flex-direction: row; flex-wrap: wrap; flex-basis: 100%; gap: 8px; padding-top: 14px; border-top: 1px solid #d3e5db; }
.suggestion-featured .suggestion-actions .has-label { width: auto; gap: 8px; padding-inline: 14px; font-size: var(--text-md); font-weight: 600; }
.suggestion-featured .suggestion-actions .action-label { display: inline; }
.icons-unavailable .suggestion-featured .has-label::after { content: none; }
.calendar-button[aria-disabled=true] { opacity: .55; cursor: default; }
.image-button[aria-busy=true] { opacity: .55; cursor: progress; }
.suggestion-actions .preview-button { color: var(--ink); }
.suggestion-actions .preview-button[aria-pressed=true] { border-color: #d2a65c; background: #fff5db; }
.suggestion-names, .suggestion-missing { margin-top: 5px; font-size: var(--text-base); line-height: 1.8; overflow-wrap: anywhere; }
.suggestion-missing { color: var(--muted); }
.suggestion-note { padding-top: 12px; text-align: center; color: var(--muted); font-size: var(--text-md); line-height: 1.8; }
.count-badge { display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; margin-inline-start: 7px; padding-inline: 6px; border-radius: 10px; background: var(--soft); color: var(--muted); font-size: var(--text-base); }
.participants-list { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.participants-list:empty { margin: 0; }
.participants-list li { display: flex; align-items: center; gap: 10px; font-size: var(--text-base); }
.participants-list bdi { min-width: 0; overflow-wrap: anywhere; }
.participant-availability-link { display: flex; align-items: center; min-height: 44px; min-width: 0; text-decoration: none; }
.participant-availability-link:hover { color: var(--primary); text-decoration: underline; }
.meeting-match { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; border-radius: 12px; background: var(--soft); color: var(--ink); text-align: center; }
.meeting-match[data-match-state=full] { background: var(--success-soft); color: var(--success); }
.meeting-match[data-match-state=partial] { background: #fff5e6; color: #805821; }
.meeting-match-icon { flex-shrink: 0; font-size: 22px; line-height: 1.4; }
.meeting-match h3 { color: inherit; font-size: var(--text-base); font-weight: 600; line-height: 1.6; }
.meeting-match p { margin-top: 4px; color: inherit; font-size: var(--text-md); line-height: 1.7; overflow-wrap: anywhere; }
.meeting-match p:empty { display: none; }

@media (max-width: 620px) {
  .suggestion-featured { padding: 16px; }
  .suggestion-main { flex-wrap: wrap; gap: 10px; }
  .suggestion h3 { font-size: var(--text-base); }
  .suggestion-time { font-size: 27px; }
  .suggestion-actions { flex-direction: row; flex-basis: 100%; justify-content: flex-end; }
  .suggestion-featured .suggestion-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .suggestion-featured .suggestion-actions .has-label { flex-direction: column; gap: 4px; min-height: 60px; padding: 8px 6px; font-size: var(--text-sm); line-height: 1.3; text-align: center; }
  .participants-list li { font-size: var(--text-base); gap: 8px; }
  .participants-list .avatar { width: 34px; height: 34px; }
  .meeting-match { gap: 8px; padding: 13px; }
  .meeting-match h3 { font-size: var(--text-base); }
  .meeting-match p { font-size: var(--text-sm); }
}
@media (max-width: 360px) {
  .suggestion-time { font-size: 25px; }
  .participants-list .avatar { width: 30px; height: 30px; }
}
/* Official Saudi riyal symbol (SAMA artwork, unmodified), drawn in the text colour. */
.price { white-space: nowrap; }
.currency-symbol-sar { display: inline-block; width: .9em; height: 1em; margin-inline-end: .2em; vertical-align: -.12em; background-color: currentColor; -webkit-mask: url("../images/currency/saudi-riyal.8ffea0488abb.svg") center / contain no-repeat; mask: url("../images/currency/saudi-riyal.8ffea0488abb.svg") center / contain no-repeat; }
.price-currency { font-size: .45em; font-weight: 500; }

