.natacio-popup {
  --np-ink: #123b46;
  --np-teal: #086a72;
  box-sizing: border-box;
  width: min(1060px, calc(100% - 48px));
  max-width: none;
  max-height: min(900px, calc(100dvh - 48px));
  padding: 0;
  margin: auto;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--np-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: 0 28px 100px #092d4755;
  overflow: hidden;
}
.natacio-popup:not([open]), .natacio-popup [hidden] { display: none !important; }
.natacio-popup::backdrop { background: #062b3ec4; backdrop-filter: blur(5px); }
.natacio-popup *, .natacio-popup *::before, .natacio-popup *::after { box-sizing: border-box; }
.natacio-layout { display: flex; flex-direction: column; max-height: min(900px, calc(100dvh - 48px)); }
.natacio-header { position: relative; flex-shrink: 0; padding: 25px 32px 23px; background: #103f4b; color: #fff; }
.natacio-eyebrow { padding-right: 40px; font-size: 12px; font-weight: 650; letter-spacing: .13em; color: #bde6e3; }
.natacio-eyebrow > span { margin: 0 10px; color: #71c6c3; }
.natacio-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 13px; }
.natacio-popup h2 { color: #fff; font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 36px; letter-spacing: -.04em; margin: 0 0 5px; line-height: 1.15; }
.natacio-header p { color: #d5efed; margin: 0; font-size: 16px; }
.natacio-header p > span { margin: 0 5px; color: #7ecdc9; }
.natacio-centres { margin-right: 12px; }
.natacio-centres > span { display: block; margin: 0 0 7px; font-size: 12px; letter-spacing: .10em; color: #bde6e3; }
.natacio-centres > div { display: flex; gap: 4px; padding: 4px; border: 1px solid #ffffff30; border-radius: 9px; }
.natacio-centres button { border: 0; border-radius: 6px; padding: 9px 17px; color: #d1e8e9; background: transparent; font-size: 14px !important; }
.natacio-centres button[aria-pressed="true"] { background: #d0eeea; color: #123f49; font-weight: 700; }
.natacio-centres button:hover { background: #ffffff20; color: #fff; }
.natacio-centres button[aria-pressed="true"]:hover { background: #e1f4f1; color: #123f49; }
.natacio-popup button { font: inherit; cursor: pointer; }
.natacio-close { position: absolute; right: 16px; top: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #ffffff33; border-radius: 50%; color: #fff; background: #ffffff0c; }
.natacio-close > span { font-size: 27px; line-height: 1; transform: translateY(-1px); }
.natacio-close:hover { background: #ffffff25; }
.natacio-popup :focus-visible, .natacio-reopen:focus-visible { outline: 3px solid #dcaa36; outline-offset: 3px; }
.natacio-toolbar { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 32px 15px; border-bottom: 1px solid #dce7e8; }
.natacio-tabs { display: flex; padding: 4px; gap: 4px; border-radius: 10px; background: #edf3f4; }
.natacio-tabs button { padding: 9px 16px; border: 0; border-radius: 7px; background: transparent; color: #526b72; font-size: 14px; font-weight: 650; }
.natacio-tabs button span { margin-left: 9px; font-size: 12px; font-weight: 400; }
.natacio-tabs button[aria-selected="true"] { color: var(--np-ink); background: #fff; box-shadow: 0 1px 4px #0e384219; }
.natacio-tabs button:hover { color: #075e66; }
.natacio-schedule-label { font-size: 12px; letter-spacing: .12em; font-weight: 600; color: #667e85; }
.natacio-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 0 32px; scrollbar-width: thin; }
.natacio-table { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: fixed; margin: 0; font-size: 14px; color: var(--np-ink); }
.natacio-table thead { position: sticky; top: 0; z-index: 1; background: #fff; }
.natacio-table thead th { padding: 13px 6px; border-bottom: 1px solid #cbdadc; color: #536d75; font-weight: 600; font-size: 13px; text-align: center; }
.natacio-table thead th:first-child { width: 22%; text-align: left; padding-left: 12px; }
.natacio-table tbody th, .natacio-table td { border-bottom: 1px solid #e5edef; padding: 10px 6px; vertical-align: middle; }
.natacio-table tbody th { text-align: left; font-weight: 500; padding-left: 12px; }
.natacio-table tbody tr:last-child th, .natacio-table tbody tr:last-child td { border-bottom: 0; }
.natacio-table tbody tr:nth-child(even) { background: #f6f9f9; }
.natacio-table td { text-align: center; font-variant-numeric: tabular-nums; letter-spacing: -.025em; }
.natacio-group-name { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; }
.natacio-group-name i { flex-shrink: 0; width: 10px; height: 10px; background: var(--group-color); border: 1px solid #00000012; border-radius: 3px; }
.natacio-group-blanc { --group-color: #fff; }
.natacio-group-blanc .natacio-group-name i { border-color: #aabac1; }
.natacio-group-groc { --group-color: #ecd238; }
.natacio-group-taronja { --group-color: #ef912f; }
.natacio-group-rosa { --group-color: #e56daf; }
.natacio-group-lila { --group-color: #a775cb; }
.natacio-group-verd { --group-color: #54a76c; }
.natacio-group-blau { --group-color: #497fca; }
.natacio-group-vermell { --group-color: #d85559; }
.natacio-group-negre { --group-color: #263e45; }
.natacio-group-adults { --group-color: #167e85; }
.natacio-group-nadons { --group-color: #6ab8c2; }
.natacio-age, .natacio-group-note { display: block; padding-left: 19px; font-size: 12px; font-weight: 400; color: #5c747b; margin-top: 2px; }
.natacio-group-note { font-size: 12px; }
.natacio-time { display: block; white-space: nowrap; line-height: 1.5; }
.natacio-time + .natacio-time { margin-top: 10px; }
.natacio-dash { color: #98adb3; }
.natacio-mobile-day { display: none; }
.natacio-table-note { margin: 14px 0 17px; font-size: 12px; color: #657b83; }
.natacio-footer { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 32px; border-top: 1px solid #dce7e8; background: #f1f7f7; }
.natacio-footer-copy strong { display: block; font-size: 15px; font-weight: 650; }
.natacio-footer-copy > span { display: block; color: #5c747b; font-size: 12px; margin-top: 4px; }
.natacio-actions { display: flex; align-items: center; gap: 18px; }
.natacio-later { border: 0; background: none; color: #526c74; padding: 10px 0; font-size: 14px !important; }
.natacio-later:hover { text-decoration: underline; }
.natacio-signup { display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 14px 22px; color: #fff; background: var(--np-teal); border-radius: 9px; font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background .15s; }
.natacio-signup:hover { color: #fff; text-decoration: none; background: #064e58; }
.natacio-signup > span[aria-hidden] { font-size: 22px; line-height: 1; font-weight: 400; }
.natacio-adults-info { margin: 28px 0; padding: 22px 24px; border-left: 3px solid #60b5b5; background: #edf6f5; }
.natacio-adults-info strong { font-size: 20px; font-weight: 600; }
.natacio-adults-info p { font-size: 15px; margin: 7px 0 0; color: #4e6b73; }
.natacio-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.natacio-reopen { display: inline-flex; align-items: center; gap: 16px; margin-top: 16px; border: 1px solid #ffffff80; border-radius: 6px; padding: 11px 18px; color: #fff; background: #123b4655; font-size: 15px; font-weight: 700; }
.natacio-reopen:hover { color: #fff; background: #123b4699; }
html.natacio-modal-open { overflow: hidden; }
@media (max-width: 850px) and (min-width: 681px) {
  .natacio-popup { width: calc(100% - 24px); }
  .natacio-scroll { padding: 0 16px; }
  .natacio-table { font-size: 14px; }
  .natacio-toolbar, .natacio-header, .natacio-footer { padding-left: 22px; padding-right: 22px; }
  .natacio-footer-copy { max-width: 220px; }
  .natacio-schedule-label { display: none; }
}
@media (max-width: 680px) {
  .natacio-popup { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 17px; }
  .natacio-layout { max-height: calc(100dvh - 20px); }
  .natacio-header { padding: 22px 20px 20px; }
  .natacio-eyebrow { font-size: 12px; letter-spacing: .04em; max-width: 290px; line-height: 1.6; }
  .natacio-eyebrow > span { margin: 0 3px; }
  .natacio-popup h2 { font-size: 28px; }
  .natacio-header p { font-size: 14px; }
  .natacio-schedule-label { display: none; }
  .natacio-heading-row { display: block; }
  .natacio-centres { margin: 17px 0 0; }
  .natacio-centres > span { display: none; }
  .natacio-centres button { flex: 1; padding: 8px 12px; }
  .natacio-close { right: 12px; top: 12px; }
  .natacio-toolbar { padding: 12px 16px; }
  .natacio-tabs { width: 100%; }
  .natacio-tabs button { flex: 1; padding: 9px 8px; font-size: 14px; }
  .natacio-tabs button span { display: block; margin: 2px 0 0; font-size: 12px; }
  .natacio-scroll { padding: 15px 16px 0; background: #f4f8f8; }
  .natacio-table, .natacio-table tbody { display: block; }
  .natacio-table thead { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); overflow: hidden; }
  .natacio-table tbody tr, .natacio-table tbody tr:nth-child(even) { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 14px 16px; margin-bottom: 12px; border: 1px solid #dce7e8; border-radius: 11px; background: #fff; }
  .natacio-table tbody th { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: center; padding: 0 0 10px; border-bottom: 1px solid #edf1f2 !important; }
  .natacio-group-name { font-size: 16px; }
  .natacio-age { padding: 0; font-size: 13px; margin: 0; }
  .natacio-group-note { grid-column: 1 / -1; margin-top: 5px; }
  .natacio-table td { padding: 0; text-align: left; border: 0; font-size: 14px; }
  .natacio-mobile-day { display: block; font-size: 12px; letter-spacing: 0; color: #677e85; margin-bottom: 2px; }
  .natacio-table td.natacio-no-session { display: none; }
  .natacio-footer { padding: 14px 16px; display: block; }
  .natacio-footer-copy { display: none; }
  .natacio-actions { gap: 16px; justify-content: space-between; }
  .natacio-signup { flex: 1; padding: 13px 16px; gap: 20px; }
  .natacio-later { padding: 10px 3px; }
  .natacio-adults-info { margin: 20px 0; padding: 16px; }
  .natacio-table-note { line-height: 1.6; }
}
