/*
 * At Los Cabos Portal design system.
 *
 * This is the only stylesheet loaded for authenticated Portal pages. Layout
 * changes are restricted to the desktop, tablet and mobile ranges below.
 */

:root {
  --atlc-font: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --atlc-bg: #f7f8fc;
  --atlc-surface: #ffffff;
  --atlc-surface-soft: #f7f9fd;
  --atlc-surface-muted: #eef3fb;
  --atlc-text: #1f2329;
  --atlc-text-muted: #5f6673;
  --atlc-border: #d7deea;
  --atlc-border-strong: #bdc8d9;
  --atlc-primary: #4285f4;
  --atlc-primary-dark: #1558a6;
  --atlc-primary-hover: #0d4c92;
  --atlc-accent-soft: #e7f0ff;
  --atlc-success-bg: #e8f6ec;
  --atlc-success-text: #176b36;
  --atlc-warning-bg: #fff5dc;
  --atlc-warning-text: #7a4b00;
  --atlc-error-bg: #fff0f0;
  --atlc-error-text: #a82b2b;
  --atlc-danger: #b42318;
  --atlc-radius-sm: 10px;
  --atlc-radius-md: 16px;
  --atlc-radius-lg: 22px;
  --atlc-radius-pill: 9999px;
  --atlc-input-height: 50px;
  --atlc-button-height: 48px;
  --atlc-shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08);
  --atlc-shadow-md: 0 10px 30px rgba(16, 24, 40, 0.08);
  --atlc-space-1: 4px;
  --atlc-space-2: 8px;
  --atlc-space-3: 12px;
  --atlc-space-4: 16px;
  --atlc-space-5: 20px;
  --atlc-space-6: 24px;
  --atlc-space-8: 32px;
}

.atlc-portal-dashboard,
.atlc-portal-dashboard *,
.atlc-portal-dashboard *::before,
.atlc-portal-dashboard *::after {
  box-sizing: border-box;
}

.elementor-widget-shortcode:has(.atlc-portal-dashboard),
.elementor-widget-shortcode:has(.atlc-portal-dashboard) .elementor-widget-container,
.elementor-widget-shortcode:has(.atlc-portal-dashboard) .elementor-shortcode {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.atlc-portal-dashboard {
  width: min(100%, 1440px);
  min-width: 0;
  margin: 24px auto 40px;
  padding: clamp(16px, 2.4vw, 32px);
  color: var(--atlc-text);
  background: var(--atlc-bg);
  border: 0;
  border-radius: var(--atlc-radius-lg);
  box-shadow: none;
  font-family: var(--atlc-font);
  font-size: 16px;
  line-height: 1.55;
}

body:has(.atlc-portal-restricted) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body:has(.atlc-portal-restricted) > .elementor-page {
  flex: 1 0 auto;
  width: 100%;
  background: var(--atlc-bg);
}

body:has(.atlc-portal-restricted) > .elementor-location-footer {
  margin-top: auto;
}

.atlc-portal-dashboard :where(h1, h2, h3, h4, p) {
  overflow-wrap: anywhere;
}

.atlc-portal-dashboard h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.atlc-portal-dashboard h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
}

.atlc-portal-dashboard .atlc-portal-page-title {
  margin: 0;
  color: var(--atlc-text);
  font-size: clamp(32px, 3vw, 40px) !important;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-grid,
.atlc-dashboard-docs-layout.atlc-add-form-layout .atlc-dashboard-docs-grid,
.atlc-dashboard-docs-layout--no-side .atlc-dashboard-docs-grid {
  display: grid;
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 34px);
  align-items: start;
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-main,
.atlc-dashboard-workspace,
.atlc-dashboard-primary,
.atlc-dashboard-secondary {
  min-width: 0;
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-nav {
  position: sticky;
  display: grid;
  top: 20px;
  gap: 16px;
  align-content: start;
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-menu {
  display: grid;
  gap: 4px;
  padding: 8px;
  background: var(--atlc-surface);
  border: 1px solid var(--atlc-border);
  border-color: var(--atlc-border);
  border-radius: var(--atlc-radius-md);
  box-shadow: var(--atlc-shadow-sm);
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-menu a span {
  display: inline-flex;
  flex: 0 0 20px;
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-menu svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-menu a:hover {
  color: var(--atlc-primary-dark);
  background: #f1f6ff;
  border-color: #d7e6ff;
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-menu a.is-active,
.atlc-dashboard-docs-layout .atlc-dashboard-docs-menu a.is-active:hover {
  color: #0b4f9c;
  background: #dbe9ff;
  border-color: #c5dcff;
}

.atlc-dashboard-docs-widget,
.atlc-dashboard-panel,
.atlc-form-section,
.atlc-event-review-card,
.atlc-record-card,
.atlc-account-shell .atlc-form-grid {
  border: 1px solid var(--atlc-border);
  border-radius: var(--atlc-radius-md);
  background: var(--atlc-surface);
  box-shadow: var(--atlc-shadow-sm);
}

.atlc-dashboard-docs-layout .atlc-dashboard-docs-widget {
  padding: 18px;
  background: #e7f2ff;
  border-color: #d3e7ff;
}

.atlc-dashboard-docs-widget h3 {
  margin: 0 0 10px;
  color: #174f91;
  font-size: 16px;
}

.atlc-dashboard-docs-widget .atlc-note {
  margin: 0 0 10px;
  color: #445065;
  font-size: 12px;
}

.atlc-dashboard-docs-widget .atlc-dashboard-profile-action {
  margin: 16px 0 0;
}

.atlc-dashboard-docs-widget .atlc-dashboard-profile-action .atlc-button-secondary {
  color: #0b66c3 !important;
  background: #fff !important;
  border: 1px solid #0b66c3 !important;
  border-radius: 8px !important;
  box-shadow: none;
  transform: none;
}

.atlc-dashboard-docs-widget .atlc-dashboard-profile-action .atlc-button-secondary:hover,
.atlc-dashboard-docs-widget .atlc-dashboard-profile-action .atlc-button-secondary:focus-visible,
.atlc-dashboard-docs-widget .atlc-dashboard-profile-action .atlc-button-secondary:active,
.atlc-dashboard-docs-widget .atlc-dashboard-profile-action .atlc-button-secondary.is-active {
  color: #fff !important;
  background: #0b66c3 !important;
  border-color: #0b66c3 !important;
  border-radius: 8px !important;
  transform: none;
}

.atlc-dashboard-profile-action--manage {
  margin: 30px 0 0;
}

.atlc-dashboard-profile-action--manage .atlc-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  color: #0b66c3 !important;
  background: #fff !important;
  border: 1px solid #0b66c3 !important;
  border-radius: 8px !important;
  box-shadow: none;
  text-decoration: none;
  transform: none;
}

.atlc-dashboard-profile-action--manage .atlc-button-secondary:hover,
.atlc-dashboard-profile-action--manage .atlc-button-secondary:focus-visible,
.atlc-dashboard-profile-action--manage .atlc-button-secondary:active,
.atlc-dashboard-profile-action--manage .atlc-button-secondary.is-active {
  color: #fff !important;
  background: #0b66c3 !important;
  border-color: #0b66c3 !important;
  border-radius: 8px !important;
  transform: none;
}

.atlc-dashboard-panel,
.atlc-form-section,
.atlc-event-review-card {
  padding: clamp(16px, 2.2vw, 26px);
}

.atlc-dashboard-workspace {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
  gap: 24px;
  align-items: start;
}

.atlc-dashboard-primary,
.atlc-dashboard-secondary,
.atlc-dashboard-panels {
  display: grid;
  gap: 16px;
  align-content: start;
}

.atlc-dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.atlc-dashboard-header :where(h2, h3, p) {
  margin-top: 0;
}

.atlc-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 10px;
}

.atlc-dashboard-stat-card {
  padding: 16px 12px;
}

.atlc-dashboard-stat-card__label {
  margin: 0 0 14px;
  color: #3f4754;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.atlc-dashboard-stat-card__value {
  margin: 0;
  color: var(--atlc-primary-dark);
  font-weight: 700;
}

.atlc-dashboard-list,
.atlc-dashboard-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.atlc-dashboard-list {
  display: grid;
}

.atlc-dashboard-list__item {
  display: grid;
  gap: 8px;
  border: 1px solid var(--atlc-border);
  border-radius: 12px;
}

.atlc-dashboard-list__meta,
.atlc-record-card__head,
.atlc-record-card__actions,
.atlc-records-modern__header {
  display: flex;
  align-items: center;
}

.atlc-dashboard-list__meta {
  flex-wrap: wrap;
  gap: 8px;
}

.atlc-dashboard-list__time {
  margin-left: auto;
  color: var(--atlc-text-muted);
  font-size: 12px;
}

.atlc-dashboard-chip,
.atlc-dashboard-status,
.atlc-record-card__status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 9px;
  border-radius: var(--atlc-radius-pill);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.atlc-dashboard-chip {
  color: #1558a6;
  background: #dcecff;
}

.atlc-dashboard-status--publish {
  color: var(--atlc-success-text);
  background: var(--atlc-success-bg);
}

.atlc-dashboard-status--draft,
.atlc-dashboard-status--pending {
  color: #8a4d17;
  background: #ffeadb;
}

.atlc-dashboard-progress {
  height: 7px;
  overflow: hidden;
  border-radius: var(--atlc-radius-pill);
  background: #e7eaf0;
}

.atlc-dashboard-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--atlc-primary-dark);
}

.atlc-dashboard-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--atlc-border);
}

.atlc-note,
.atlc-field-help,
.atlc-char-count {
  color: var(--atlc-text-muted);
  font-size: 13px;
}

.atlc-is-hidden,
.atlc-event-step[hidden] {
  display: none !important;
}

.atlc-portal-dashboard form,
.atlc-form-section,
.atlc-account-form,
.atlc-event-screen1__fields {
  display: grid;
  gap: 10px;
}

.atlc-form-grid,
.atlc-form-section .atlc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.atlc-form-grid p {
  margin: 0;
}

.atlc-form-grid-span {
  grid-column: 1 / -1;
}

.atlc-form-field,
.atlc-field-block {
  min-width: 0;
}

.atlc-portal-dashboard label {
  display: block;
  margin-bottom: 7px;
  color: var(--atlc-text);
  font-size: 13px;
  font-weight: 600;
}

.atlc-field-help,
.atlc-char-count {
  display: block;
  font-weight: 400;
}

.atlc-field-help {
  margin-top: 4px;
  line-height: 1.4;
}

.atlc-char-count {
  margin-top: 6px;
}

.atlc-portal-dashboard form label + .atlc-field-help {
  margin-top: 0;
  margin-bottom: 8px;
}

.atlc-char-count {
  text-align: right;
}

.atlc-choice-cards,
.atlc-verify-methods,
.atlc-event-type-cards,
.atlc-event-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.atlc-choice-card,
.atlc-verify-method,
.atlc-event-type-card,
.atlc-event-category-card {
  position: relative;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--atlc-border);
  border-radius: var(--atlc-radius-sm);
  background: var(--atlc-surface);
  cursor: pointer;
}

.atlc-choice-card input,
.atlc-verify-method input,
.atlc-event-type-card input,
.atlc-event-category-card input,
.atlc-chip-choice input,
.atlc-verification__segment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.atlc-choice-card:has(input:checked),
.atlc-verify-method:has(input:checked),
.atlc-event-type-card:has(input:checked),
.atlc-event-category-card:has(input:checked) {
  color: #0b4f9c;
  background: var(--atlc-accent-soft);
  border-color: var(--atlc-primary);
}

.atlc-choice-card__body,
.atlc-event-type-card {
  display: grid;
  gap: 5px;
}

.atlc-choice-card__title,
.atlc-verify-method__title,
.atlc-event-type-card__title {
  font-weight: 700;
}

.atlc-choice-card__desc,
.atlc-verify-method__desc,
.atlc-event-type-card__desc {
  color: var(--atlc-text-muted);
  font-size: 12px;
  line-height: 1.2em;
}

.atlc-chip-choices,
.atlc-tag-picker-alpha,
.atlc-tag-picker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.atlc-chip-choice {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.atlc-chip-choice span,
.atlc-tag-chip,
.atlc-tag-picker-alpha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  color: #374151;
  background: var(--atlc-surface);
  border: 1px solid var(--atlc-border);
  border-radius: var(--atlc-radius-pill);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.atlc-chip-choice:has(input:checked) span,
.atlc-tag-chip.is-selected,
.atlc-tag-picker-alpha-btn.is-active {
  color: #fff;
  background: var(--atlc-primary-dark);
  border-color: var(--atlc-primary-dark);
}

.atlc-place-tags-picker,
.atlc-event-tags-picker {
  display: grid;
  gap: 12px;
}

.atlc-tag-picker-search-row {
  position: relative;
}

.atlc-tag-picker-search-row input[type="text"] {
  padding-right: 44px;
}

.atlc-tag-picker-clear {
  position: absolute;
  top: 50%;
  right: 9px;
  width: 32px;
  height: 32px;
  padding: 0;
  color: var(--atlc-text-muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.atlc-tag-picker-alpha {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 4px;
}

.atlc-tag-picker-alpha-btn {
  flex: 0 0 auto;
  min-width: 38px;
  padding-inline: 10px;
}

.atlc-inline-check,
.atlc-featured-optin__check {
  display: flex !important;
  align-items: center !important;
  gap: 10px;
  margin: 0 !important;
  line-height: 1.35;
}

.atlc-inline-check input[type="checkbox"],
.atlc-featured-optin__check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  accent-color: var(--atlc-primary-dark);
}

.atlc-inline-check > span,
.atlc-featured-optin__check > span {
  display: block;
  min-width: 0;
  margin: 0;
}

.atlc-verification {
  display: grid;
  gap: 14px;
}

.atlc-verification__segment,
.atlc-event-date-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--atlc-primary);
  border-radius: var(--atlc-radius-pill);
}

.atlc-verification__segment-option,
.atlc-event-date-mode__btn {
  position: relative;
  min-width: 0;
}

.atlc-verification__segment-option span,
.atlc-event-date-mode__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--atlc-primary-dark);
  background: #fff;
  border: 0;
  font-weight: 700;
}

.atlc-verification__segment-option:has(input:checked) span,
.atlc-event-date-mode__btn.is-active {
  color: #fff;
  background: var(--atlc-primary);
}

.atlc-map-address-row,
.atlc-event-map-address-row,
.atlc-event-date-row__times,
.atlc-event-wizard__step-actions,
.atlc-event-wizard__actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.atlc-map-address-row :where(input, select),
.atlc-event-map-address-row :where(input, select) {
  flex: 1 1 auto;
}

.atlc-map-locate-button,
.atlc-event-add-date,
.atlc-event-date-mode__btn {
  min-height: 44px;
  padding: 0 14px;
  color: var(--atlc-primary-dark);
  background: #fff;
  border: 1px solid var(--atlc-primary-dark);
  border-radius: var(--atlc-radius-sm);
  font-weight: 700;
  cursor: pointer;
}

.atlc-place-map-canvas,
.atlc-event-map-canvas {
  width: 100%;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--atlc-border);
  border-radius: var(--atlc-radius-md);
  background: var(--atlc-surface-muted);
}

.atlc-event-wizard,
.atlc-event-step,
.atlc-event-date-panel,
.atlc-event-single-dates,
.atlc-event-review-cards {
  display: grid;
  gap: 18px;
}

.atlc-event-screen1__header h2 {
  margin-bottom: 8px;
}

.atlc-event-photo-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  overflow: hidden;
  border: 1px dashed var(--atlc-border-strong);
  border-radius: var(--atlc-radius-md);
  background: var(--atlc-surface-muted);
}

.atlc-event-form-modern #atlc_new_event_cover_image + .atlc-readonly-panel {
  margin-top: 30px;
}

.atlc-event-date-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--atlc-border);
  border-radius: var(--atlc-radius-sm);
  background: var(--atlc-surface-soft);
}

.atlc-event-date-row__times > * {
  flex: 1 1 0;
}

.atlc-event-wizard__step-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.atlc-event-wizard__step-actions--split {
  justify-content: space-between;
}

.atlc-event-review-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.atlc-event-review-card__meta {
  color: var(--atlc-text-muted);
  font-size: 12px;
}

.atlc-portal-dashboard .atlc-featured-optin {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--atlc-border);
  border-radius: var(--atlc-radius-md);
  background: var(--atlc-surface-soft);
}

.atlc-portal-dashboard .atlc-featured-duration {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 8px;
}

.atlc-portal-dashboard label.atlc-featured-optin__check {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0 !important;
  line-height: 20px;
}

.atlc-portal-dashboard .atlc-featured-optin__check input {
  width: 20px;
  height: 20px;
  margin: 0 !important;
  align-self: center;
}

.atlc-portal-dashboard .atlc-featured-duration label {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  margin: 0 !important;
  line-height: 20px;
}

.atlc-portal-dashboard .atlc-featured-duration input {
  margin: 0 !important;
  align-self: center;
}

.atlc-portal-dashboard .atlc-featured-optin__title {
  display: block;
  line-height: 20px;
}

.atlc-portal-dashboard .atlc-featured-optin__micro,
.atlc-portal-dashboard .atlc-featured-optin__help {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.35;
}

.atlc-account-photo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.atlc-account-photo__avatar {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--atlc-surface-muted);
}

.atlc-account-photo__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlc-detail-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.atlc-detail-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--atlc-border);
}

.atlc-table th,
.atlc-table td {
  padding: 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--atlc-border);
}

.atlc-table th {
  color: #46505e;
  background: var(--atlc-surface-soft);
  font-size: 12px;
  text-transform: uppercase;
}

.atlc-dashboard-actions,
.atlc-portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.atlc-dashboard-actions a,
.atlc-portal-actions a,
.atlc-records-modern__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 13px;
  color: var(--atlc-primary-dark);
  background: #fff;
  border: 1px solid var(--atlc-border-strong);
  border-radius: var(--atlc-radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.atlc-portal-notice--success {
  color: var(--atlc-success-text);
  background: var(--atlc-success-bg);
  border: 1px solid #b9dec4;
}

.atlc-portal-notice--error,
.atlc-place-validation-summary {
  color: var(--atlc-error-text);
  background: var(--atlc-error-bg);
  border: 1px solid #efc2c2;
}

.atlc-place-validation-summary,
.atlc-submission-footer__guidance,
.atlc-readonly-panel,
.atlc-verification-later-card {
  padding: 14px 16px;
  border-radius: var(--atlc-radius-sm);
}

.atlc-submission-footer__guidance,
.atlc-readonly-panel,
.atlc-verification-later-card {
  color: #334155;
  background: #eef6ff;
  border: 1px solid #cfe2f8;
}

.atlc-place-form-modern__intro {
  margin: -6px 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.atlc-place-map-block,
.atlc-form-section--verification {
  display: grid;
  gap: 14px;
}

.atlc-place-map-coords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.atlc-verification__now,
.atlc-verification__later,
.atlc-verification-method-field {
  display: grid;
  gap: 12px;
}

.atlc-whatsapp-verification-panel {
  margin-top: 12px;
}

.atlc-whatsapp-verification-panel[hidden] {
  display: none !important;
}

.atlc-whatsapp-verification-panel p:last-child {
  margin-bottom: 0;
}

.atlc-place-form-modern .atlc-whatsapp-verification-panel a.atlc-button-secondary,
.atlc-place-form-modern .atlc-whatsapp-verification-panel a.atlc-button-secondary:visited {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  color: #fff !important;
  background: #0b66c3 !important;
  border-color: #0b66c3 !important;
}

.atlc-place-form-modern .atlc-whatsapp-verification-panel a.atlc-button-secondary:hover,
.atlc-place-form-modern .atlc-whatsapp-verification-panel a.atlc-button-secondary:focus-visible,
.atlc-place-form-modern .atlc-whatsapp-verification-panel a.atlc-button-secondary:active {
  color: #fff !important;
  background: #004e9a !important;
  border-color: #004e9a !important;
}

.atlc-verify-method--disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.atlc-records-modern__header {
  justify-content: space-between;
  gap: 14px;
}

.atlc-records-modern__toolbar,
.atlc-records-modern__search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.atlc-records-modern__search input {
  flex: 1 1 240px;
}

.atlc-records-modern__summary {
  color: var(--atlc-text-muted);
  font-size: 13px;
}

.atlc-records-modern__empty {
  padding: 20px;
  border: 1px solid var(--atlc-border);
  border-radius: var(--atlc-radius-md);
  background: var(--atlc-surface);
}

.atlc-record-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.atlc-record-card__media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--atlc-surface-muted);
}

.atlc-record-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlc-record-card__attribution {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  overflow: hidden;
  padding: 6px 9px;
  color: #fff;
  background: rgba(15, 23, 42, 0.76);
  border-radius: var(--atlc-radius-pill);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlc-record-card__media a,
.atlc-record-card__media a:hover,
.atlc-record-card__media a:focus,
.atlc-record-card__media a:active {
  color: #fff;
  font-size: 10px;
}

.atlc-record-card__body {
  display: grid;
  flex: 1 1 auto;
  gap: 8px;
  padding: 16px;
}

.atlc-record-card__head {
  justify-content: space-between;
  gap: 10px;
}

.atlc-record-card__head h3,
.atlc-record-card__body p {
  margin: 0;
}

.atlc-record-card__category,
.atlc-record-card__meta,
.atlc-record-card__likes {
  color: var(--atlc-text-muted);
  font-size: 13px;
}

.atlc-record-card__actions {
  flex-wrap: wrap;
}

.atlc-record-card__action {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: #0f172a;
  background: #e8edf5;
  border-radius: var(--atlc-radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.atlc-record-card__action-form {
  display: contents;
}

.atlc-record-card__action--danger {
  color: var(--atlc-danger);
  background: #fee7e7;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__pagination {
  margin-top: 18px;
}

.atlc-account-display-note,
.atlc-account-photo__note,
.atlc-featured-optin__help,
.atlc-featured-optin__micro {
  color: var(--atlc-text-muted);
  font-size: 12px;
}

.atlc-account-counter {
  text-align: right;
  color: var(--atlc-text-muted);
  font-size: 12px;
}

.atlc-required-inline {
  color: var(--atlc-danger);
  font-size: 12px;
  font-weight: 700;
}

.atlc-event-screen1__actions,
.atlc-event-wizard__draft-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.atlc-event-type-card__icon,
.atlc-choice-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--atlc-primary-dark);
  background: var(--atlc-accent-soft);
  border-radius: 50%;
}

.atlc-event-review-card__value,
.atlc-featured-optin__title,
.atlc-verification-later-card__title,
.atlc-readonly-panel__title {
  font-weight: 700;
}

p.atlc-readonly-panel__title {
  font-size: 14px;
  font-weight: 600;
}

.atlc-dashboard-panels,
.atlc-dashboard-list,
.atlc-records-modern__grid {
  gap: 16px;
}

.atlc-dashboard-list__item {
  padding: 14px 16px;
  border-color: var(--atlc-border);
  background: var(--atlc-surface-soft);
}

.atlc-dashboard-stat-card {
  min-width: 0;
  border-color: var(--atlc-border);
  border-radius: var(--atlc-radius-sm);
  background: var(--atlc-surface);
  box-shadow: var(--atlc-shadow-sm);
}

.atlc-dashboard-stat-card__value {
  font-size: 28px;
  line-height: 1.1;
}

.atlc-portal-dashboard :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], input[type="search"], select, textarea) {
  width: 100%;
  max-width: 100%;
  min-height: var(--atlc-input-height);
  padding: 0.5rem 1rem;
  color: var(--atlc-text);
  background: var(--atlc-surface);
  border: 1px solid #ccc !important;
  border-radius: 12px !important;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.3s;
}

.atlc-portal-dashboard textarea {
  min-height: 120px;
  resize: vertical;
  font-size: 14px;
}

.atlc-portal-dashboard :where(input, select, textarea)::placeholder {
  color: #7a8392;
  opacity: 1;
}

.atlc-portal-dashboard :where(input, select, textarea):focus-visible,
.atlc-portal-dashboard a:focus-visible,
.atlc-portal-dashboard button:focus-visible {
  outline: 3px solid rgba(66, 133, 244, 0.28);
  outline-offset: 2px;
  border-color: var(--atlc-primary);
}

.atlc-portal-dashboard :where(input, select, textarea):disabled,
.atlc-portal-dashboard button:disabled,
.atlc-portal-dashboard .is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.atlc-portal-dashboard :where(button[type="submit"], input[type="submit"], .atlc-records-modern__cta),
.atlc-button-secondary,
.atlc-button-secondary--accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--atlc-button-height);
  padding: 0 18px;
  color: #fff;
  background: var(--atlc-primary-dark);
  border: 1px solid var(--atlc-primary-dark);
  border-radius: var(--atlc-radius-sm);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 120ms ease;
}

.atlc-portal-dashboard :where(button[type="submit"], input[type="submit"], .atlc-records-modern__cta):hover,
.atlc-button-secondary:hover,
.atlc-button-secondary--accent:hover {
  color: #fff;
  background: var(--atlc-primary-hover);
  border-color: var(--atlc-primary-hover);
}

.atlc-portal-dashboard :where(button, input[type="submit"], a):active {
  transform: translateY(1px);
}

.atlc-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.atlc-submission-footer {
  display: grid;
  gap: 20px;
  width: 100%;
  margin-top: 30px;
}

.atlc-submission-footer__guidance {
  display: grid;
  gap: 8px;
  font-size: 12px;
  line-height: 1.55;
}

.atlc-submission-footer__guidance p {
  margin: 0;
}

.atlc-submission-footer__guidance strong {
  color: var(--atlc-primary-dark);
}

.atlc-submission-footer__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--atlc-border);
}

.atlc-submission-footer__actions button {
  min-width: 170px;
}

[data-atlc-submission-form].is-submitting {
  cursor: progress;
}

[data-atlc-submission-form].is-submitting .atlc-submission-footer__actions {
  opacity: 0.72;
}

.atlc-portal-notice {
  border-radius: var(--atlc-radius-sm);
  padding: 13px 15px;
  font-size: 14px;
  font-weight: 500;
}

.atlc-records-modern__notice {
  margin: 0 0 20px;
}

.atlc-records-modern__notice .atlc-portal-notice {
  margin: 0;
  padding: 16px 18px;
  line-height: 1.5;
}

.atlc-records-modern__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.atlc-record-card {
  overflow: hidden;
}

.atlc-record-card__head h3 {
  min-width: 0;
}

.atlc-record-card__actions {
  gap: 8px;
}

.atlc-record-card__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.atlc-record-card__status--featured {
  color: #fff;
  background: var(--atlc-primary-dark);
}

.atlc-danger-zone {
  margin-top: 24px;
  border-color: #f1c9c9;
  background: #fff8f8;
}

.atlc-button-danger,
.atlc-portal-dashboard .atlc-button-danger {
  color: var(--atlc-danger);
  background: #fff;
  border-color: var(--atlc-danger);
}

.atlc-button-danger:hover,
.atlc-portal-dashboard .atlc-button-danger:hover {
  color: #fff;
  background: var(--atlc-danger);
  border-color: var(--atlc-danger);
}

/* Account page — Stitch "Cabo Modern" specification. */
.atlc-account-shell {
  --atlc-account-primary: #0b66c3;
  --atlc-account-primary-dark: #004e9a;
  --atlc-account-sand: #f9f6f0;
  --atlc-account-ink: #1a1c1e;
  --atlc-account-muted: #414752;
  --atlc-account-outline: #c1c6d4;
  background: #f9f9fc;
}

.atlc-account-shell .atlc-dashboard-docs-main {
  display: grid;
  gap: 28px;
}

.atlc-account-shell .atlc-account-title {
  margin: 0;
  color: var(--atlc-account-ink);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.atlc-account-shell .atlc-dashboard-docs-menu a.is-active,
.atlc-account-shell .atlc-dashboard-docs-menu a.is-active:hover {
  color: #fff;
  background: var(--atlc-account-primary);
  border-color: var(--atlc-account-primary);
}

.atlc-account-shell .atlc-account-form {
  display: grid;
  gap: 32px;
}

.atlc-account-photo-card,
.atlc-account-form-card {
  overflow: hidden;
  border: 1px solid rgba(193, 198, 212, 0.55);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 28, 30, 0.06);
}

.atlc-account-photo-card {
  padding: 22px;
}

.atlc-account-shell .atlc-account-photo {
  display: flex;
  align-items: center;
  gap: 22px;
}

.atlc-account-shell .atlc-account-photo__avatar {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border: 4px solid #eeeef0;
  background: #eeeef0;
}

.atlc-account-photo__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.atlc-account-shell .atlc-account-photo__note,
.atlc-account-photo__app-note {
  margin: 0;
  color: var(--atlc-account-muted);
  font-size: 15px;
  line-height: 1.5;
}

.atlc-account-photo__app-note {
  color: var(--atlc-account-primary-dark);
  font-weight: 700;
}

.atlc-account-form-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  padding: clamp(22px, 3vw, 32px);
}

.atlc-account-form-column {
  display: grid;
  gap: 21px;
  align-content: start;
  min-width: 0;
}

.atlc-account-field,
.atlc-account-display-note {
  margin: 0;
}

.atlc-account-shell .atlc-account-field label {
  margin-bottom: 7px;
  color: var(--atlc-account-muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.atlc-account-shell .atlc-account-field br {
  display: none;
}

.atlc-account-shell .atlc-account-field :where(input[type="text"], input[type="email"], input[type="password"], input[type="tel"]) {
  min-height: 48px;
  padding: 11px 15px;
  color: var(--atlc-account-ink);
  background: var(--atlc-account-sand);
  border-color: var(--atlc-account-outline);
  border-radius: 8px;
}

.atlc-account-shell .atlc-account-field :where(input[type="text"], input[type="email"], input[type="password"], input[type="tel"]):focus {
  background: var(--atlc-account-sand);
  border-color: var(--atlc-account-primary);
  box-shadow: 0 0 0 2px rgba(11, 102, 195, 0.14);
}

.atlc-account-shell .atlc-account-field input[readonly] {
  cursor: default;
  color: #5f6673;
  background: #eeeef0;
}

.atlc-account-display-name-field {
  position: relative;
}

.atlc-account-shell .atlc-account-display-name-field input {
  padding-right: 64px;
}

.atlc-account-shell .atlc-account-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: #727784;
  font-size: 12px;
  line-height: 1;
}

.atlc-account-shell .atlc-account-display-note {
  display: grid;
  gap: 2px;
  padding: 15px 17px;
  color: var(--atlc-account-muted);
  background: #f3f3f6;
  border-left: 4px solid var(--atlc-account-primary);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.45;
}

.atlc-account-shell .atlc-account-display-note strong {
  color: var(--atlc-account-ink);
}

.atlc-account-name-phone-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.atlc-account-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 20px clamp(22px, 3vw, 32px);
  background: #eeeef0;
}

.atlc-account-form-actions .atlc-account-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--atlc-account-muted);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.atlc-account-form-actions .atlc-account-back-btn:hover {
  color: var(--atlc-account-primary-dark);
  background: rgba(193, 198, 212, 0.25);
}

.atlc-account-shell .atlc-account-form-actions button[type="submit"] {
  min-width: 194px;
  min-height: 46px;
  color: #fff;
  background: var(--atlc-account-primary);
  border-color: var(--atlc-account-primary);
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(11, 102, 195, 0.18);
}

.atlc-account-shell .atlc-account-form-actions button[type="submit"]:hover {
  color: #fff;
  background: var(--atlc-account-primary-dark);
  border-color: var(--atlc-account-primary-dark);
}

.atlc-account-shell .atlc-danger-zone {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(186, 26, 26, 0.25);
  border-radius: 12px;
  background: #fff7f7;
  box-shadow: none;
}

.atlc-account-shell .atlc-danger-zone h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #ba1a1a;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.atlc-account-shell .atlc-danger-zone .atlc-note {
  max-width: 760px;
  margin: 0;
  color: var(--atlc-account-muted);
  font-size: 15px;
  line-height: 1.6;
}

.atlc-account-shell .atlc-danger-zone form {
  display: block;
  margin-top: 3px;
}

.atlc-account-shell .atlc-danger-zone .atlc-button-danger {
  min-width: 214px;
  min-height: 46px;
  color: #ba1a1a;
  background: transparent;
  border: 2px solid #ba1a1a;
  border-radius: 8px;
}

.atlc-account-shell .atlc-danger-zone .atlc-button-danger:hover {
  color: #fff;
  background: #ba1a1a;
  border-color: #ba1a1a;
}

/* Add/Edit Place and Add/Edit Event — shared Cabo Modern form language. */
:is(.atlc-place-form-modern, .atlc-event-form-modern) {
  --atlc-form-primary: #0b66c3;
  --atlc-form-primary-dark: #004e9a;
  --atlc-form-ink: #1a1c1e;
  --atlc-form-muted: #414752;
  --atlc-form-outline: #c1c6d4;
  --atlc-form-sand: #f9f6f0;
  background: #f9f9fc;
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) .atlc-dashboard-docs-menu a.is-active,
:is(.atlc-place-form-modern, .atlc-event-form-modern) .atlc-dashboard-docs-menu a.is-active:hover {
  color: var(--atlc-form-primary-dark);
  background: #e1f0ff;
  border-color: #e1f0ff;
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) .atlc-dashboard-docs-main {
  display: grid;
  gap: 5px;
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) .atlc-dashboard-docs-main > h2,
.atlc-event-form-modern .atlc-event-form-modern__title {
  margin: 0;
  color: var(--atlc-form-ink);
  font-size: clamp(32px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) .atlc-place-form-modern__intro {
  margin: -8px 0 8px;
  color: var(--atlc-form-muted);
  font-size: 14px;
  font-weight: 500;
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) :is(.atlc-form-section, .atlc-event-step) {
  padding: clamp(18px, 2.8vw, 28px);
  border: 1px solid rgba(193, 198, 212, 0.7);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 28, 30, 0.05);
}

.atlc-event-form-modern .atlc-event-step.atlc-is-hidden {
  display: none !important;
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) :is(.atlc-form-section, .atlc-event-step) h3,
.atlc-event-form-modern .atlc-event-screen1__header h2 {
  margin: 0 0 12px;
  color: var(--atlc-form-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) :where(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], input[type="search"], select, textarea) {
  background: var(--atlc-form-sand);
  border: 1px solid #ccc !important;
  border-radius: 12px !important;
  font-size: 14px;
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) :where(input, select, textarea):focus {
  background: var(--atlc-form-sand);
  border-color: var(--atlc-form-primary);
  box-shadow: 0 0 0 2px rgba(11, 102, 195, 0.14);
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) :where(button[type="submit"], .atlc-event-wizard__step-actions button:not(.atlc-button-secondary)) {
  color: #fff;
  background: var(--atlc-form-primary);
  border-color: var(--atlc-form-primary);
  border-radius: 8px;
}

:is(.atlc-place-form-modern, .atlc-event-form-modern) :where(button[type="submit"], .atlc-event-wizard__step-actions button:not(.atlc-button-secondary)):hover {
  color: #fff;
  background: var(--atlc-form-primary-dark);
  border-color: var(--atlc-form-primary-dark);
}

.atlc-event-form-modern .atlc-event-date-panel,
.atlc-event-form-modern .atlc-event-date-row,
.atlc-event-form-modern .atlc-featured-optin,
.atlc-event-form-modern .atlc-event-review-card {
  border-color: var(--atlc-form-outline);
  background: #f9f9fc;
}

.atlc-event-form-modern .atlc-event-wizard__draft-actions {
  margin: 0;
}

.atlc-event-form-modern label.atlc-inline-check.atlc-inline-check--compact {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  line-height: 1.35;
}

.atlc-event-form-modern label.atlc-inline-check.atlc-inline-check--compact input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
}

.atlc-event-form-modern label.atlc-inline-check.atlc-inline-check--compact span {
  display: block;
  margin: 0;
}

/* Add/Edit Event uses the same continuous form language as Add/Edit Place. */
.atlc-event-form-modern .atlc-event-step.atlc-is-hidden {
  display: grid !important;
}

.atlc-event-form-modern [data-atlc-event-prev],
.atlc-event-form-modern [data-atlc-event-next],
.atlc-event-form-modern .atlc-event-screen1__actions {
  display: none !important;
}

.atlc-event-form-modern .atlc-event-wizard__step-actions:not(:has([data-atlc-event-no-location])):not(:has([type="submit"])) {
  display: none;
}

.atlc-event-form-modern .atlc-event-wizard__actions-right:not(:has([type="submit"])) {
  display: none;
}

.atlc-event-form-modern [data-atlc-event-step="10"] {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.atlc-event-form-modern [data-atlc-event-step="10"] > .atlc-event-screen1__header,
.atlc-event-form-modern [data-atlc-event-step="10"] > .atlc-event-review-cards {
  display: none !important;
}

.atlc-event-form-modern .atlc-event-type-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 3px;
  align-items: center;
  min-height: 98px;
  padding: 16px;
  color: var(--atlc-text);
  background: #fff;
  border: 1px solid #c1c6d4;
  border-radius: 8px;
}

.atlc-event-form-modern .atlc-event-type-card:hover,
.atlc-event-form-modern .atlc-event-type-card:focus-within,
.atlc-event-form-modern .atlc-event-type-card:has(input:checked) {
  color: #0b4f9c;
  background: #e7f2ff;
  border-color: #0b66c3;
}

.atlc-event-form-modern .atlc-event-type-card__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 38px;
  height: 38px;
  color: #0b66c3;
  background: #e7f2ff;
  border-radius: 50%;
}

.atlc-event-form-modern .atlc-event-type-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atlc-event-form-modern .atlc-event-type-card__title,
.atlc-event-form-modern .atlc-event-type-card__desc {
  grid-column: 2;
  margin: 0;
}

.atlc-event-form-modern .atlc-event-date-mode {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 8px;
  width: min(100%, 320px);
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.atlc-event-form-modern .atlc-event-date-mode__btn,
.atlc-event-form-modern .atlc-event-date-mode__btn:focus {
  min-height: 44px;
  padding: 9px 14px;
  color: #0b66c3 !important;
  background: #fff !important;
  border: 1px solid #0b66c3 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
}

.atlc-event-form-modern .atlc-event-date-mode__btn:hover,
.atlc-event-form-modern .atlc-event-date-mode__btn:focus-visible,
.atlc-event-form-modern .atlc-event-date-mode__btn.is-active {
  color: #fff !important;
  background: #0b66c3 !important;
  border-color: #0b66c3 !important;
  border-radius: 8px !important;
  transform: none !important;
}

.atlc-event-form-modern .atlc-event-category-card:hover,
.atlc-event-form-modern .atlc-event-category-card:focus-within,
.atlc-event-form-modern .atlc-event-category-card:has(input:checked) {
  color: #0b4f9c;
  background: #e7f2ff;
  border-color: #0b66c3;
}

.atlc-event-form-modern :is(.atlc-tag-picker-alpha-btn, .atlc-tag-chip),
.atlc-event-form-modern :is(.atlc-tag-picker-alpha-btn, .atlc-tag-chip):focus {
  color: #0b66c3;
  background: #fff;
  border: 1px solid #0b66c3;
  border-radius: 9999px !important;
}

.atlc-event-form-modern :is(.atlc-tag-picker-alpha-btn, .atlc-tag-chip):hover,
.atlc-event-form-modern :is(.atlc-tag-picker-alpha-btn.is-active, .atlc-tag-chip.is-selected) {
  color: #fff;
  background: #0b66c3;
  border-color: #0b66c3;
  border-radius: 9999px !important;
}

/* Add/Edit Place component corrections. */
.atlc-place-form-modern :where(button, a.atlc-button-secondary) {
  border-radius: 8px !important;
}

.atlc-place-form-modern .atlc-choice-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 98px;
  padding: 16px;
  border-color: #c1c6d4;
  border-radius: 8px;
  background: #fff;
}

.atlc-place-form-modern .atlc-choice-card:hover {
  border-color: #0b66c3;
  border-radius: 8px;
  background: #f7fbff;
}

.atlc-place-form-modern .atlc-choice-card:has(input:checked) {
  color: #004e9a;
  border-color: #0b66c3;
  border-radius: 8px;
  background: #e1f0ff;
}

.atlc-place-form-modern .atlc-choice-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #004e9a;
  background: #e1f0ff;
  border-radius: 50%;
}

.atlc-place-form-modern .atlc-choice-card__icon svg {
  display: block;
  width: 21px;
  height: 21px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.atlc-place-form-modern .atlc-choice-card__body {
  gap: 5px;
}

.atlc-place-form-modern .atlc-choice-card__title {
  color: #1a1c1e;
}

.atlc-place-form-modern .atlc-tag-picker-search-row input[type="text"] {
  padding-right: 48px;
}

.atlc-place-tags-picker .atlc-tag-picker-clear,
.atlc-place-tags-picker .atlc-tag-picker-clear:hover,
.atlc-place-tags-picker .atlc-tag-picker-clear:focus {
  display: grid;
  place-items: center;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  min-height: 0;
  padding: 0;
  color: #004e9a;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
}

.atlc-place-tags-picker .atlc-tag-picker-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: visible;
  padding: 0;
}

.atlc-place-tags-picker :is(.atlc-tag-picker-alpha-btn, .atlc-tag-chip),
.atlc-place-tags-picker :is(.atlc-tag-picker-alpha-btn, .atlc-tag-chip):hover,
.atlc-place-tags-picker :is(.atlc-tag-picker-alpha-btn, .atlc-tag-chip):focus {
  min-height: 36px;
  padding: 8px 13px;
  color: #004e9a;
  background: #fff;
  border: 1px solid #0b66c3;
  border-radius: 9999px !important;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
}

.atlc-place-tags-picker :is(.atlc-tag-picker-alpha-btn, .atlc-tag-chip):hover,
.atlc-place-tags-picker :is(.atlc-tag-picker-alpha-btn.is-active, .atlc-tag-chip.is-selected),
.atlc-place-tags-picker :is(.atlc-tag-picker-alpha-btn.is-active, .atlc-tag-chip.is-selected):hover {
  color: #fff;
  background: #0b66c3;
  border-color: #0b66c3;
  border-radius: 9999px !important;
}

.atlc-place-form-modern .atlc-form-section--verification > .atlc-form-grid > p:first-child {
  grid-column: 1 / -1;
  width: 100%;
}

.atlc-place-form-modern .atlc-form-section--verification .atlc-verification {
  gap: 18px;
}

.atlc-place-form-modern .atlc-verification__segment {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 8px;
  width: min(100%, 320px);
  overflow: visible;
  border: 0;
  border-radius: 0;
}

.atlc-place-form-modern .atlc-verification__segment-option,
.atlc-place-form-modern .atlc-verification__segment-option span,
.atlc-place-form-modern .atlc-verification__segment-option:hover span,
.atlc-place-form-modern .atlc-verification__segment-option:has(input:checked) span {
  border-radius: 8px !important;
}

.atlc-place-form-modern .atlc-verification__segment-option span {
  min-height: 44px;
  font-size: 14px;
  color: #0b66c3 !important;
  background: #fff !important;
  border: 1px solid #0b66c3 !important;
  box-shadow: none !important;
}

.atlc-place-form-modern .atlc-verification__segment-option:hover span,
.atlc-place-form-modern .atlc-verification__segment-option:focus-within span,
.atlc-place-form-modern .atlc-verification__segment-option:has(input:checked) span,
.atlc-place-form-modern .atlc-verification__segment-option input:checked + span {
  color: #fff !important;
  background: #0b66c3 !important;
  border-color: #0b66c3 !important;
}

.atlc-place-form-modern .atlc-verification__now {
  gap: 18px;
}

.atlc-place-form-modern .atlc-verify-methods {
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: none;
  padding: 16px;
  border: 1px solid #c1c6d4;
  border-radius: 8px;
  background: #f9f9fc;
}

.atlc-place-form-modern .atlc-verify-method {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  padding: 14px;
  border-color: #c1c6d4;
  border-radius: 8px;
  background: #fff;
}

.atlc-place-form-modern .atlc-verify-method input {
  position: static;
  grid-row: 1 / span 2;
  width: 16px;
  height: 16px;
  opacity: 1;
  pointer-events: auto;
  accent-color: #0b66c3;
}

.atlc-place-form-modern .atlc-verify-method__title,
.atlc-place-form-modern .atlc-verify-method__desc {
  grid-column: 2;
}

.atlc-place-form-modern .atlc-verify-method:has(input:checked) {
  color: #004e9a;
  border-color: #0b66c3;
  background: #e1f0ff;
}

/* My Places and My Events — shared Cabo Modern records design. */
:is(.atlc-records-modern--places, .atlc-records-modern--events) {
  --atlc-places-primary: #0b66c3;
  --atlc-places-primary-dark: #004e9a;
  --atlc-places-ink: #1a1c1e;
  --atlc-places-muted: #414752;
  --atlc-places-outline: #c1c6d4;
  background: #f9f9fc;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-dashboard-docs-menu a.is-active,
:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-dashboard-docs-menu a.is-active:hover {
  color: var(--atlc-places-primary-dark);
  background: #e1f0ff;
  border-color: #e1f0ff;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-dashboard-docs-main {
  display: grid;
  gap: 28px;
}

.atlc-records-modern__heading-copy {
  display: grid;
  gap: 4px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__header {
  align-items: center;
  margin: 0;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__header h2 {
  margin: 0;
  color: var(--atlc-places-ink);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__summary {
  margin: 0;
  color: var(--atlc-places-muted);
  font-size: 15px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  background: var(--atlc-places-primary);
  border: 1px solid var(--atlc-places-primary);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(11, 102, 195, 0.18);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__cta:hover {
  color: #fff;
  background: var(--atlc-places-primary-dark);
  border-color: var(--atlc-places-primary-dark);
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__cta span {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__filter-card {
  display: grid;
  gap: 14px;
  padding: 15px;
  border: 1px solid rgba(193, 198, 212, 0.8);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(26, 28, 30, 0.05);
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) input.atlc-records-modern__search {
  min-height: 48px;
  padding: 11px 15px;
  background: #f3f3f6;
  border-color: var(--atlc-places-outline);
  border-radius: 8px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__toolbar button {
  min-height: 48px;
  padding: 0 20px;
  color: #fff;
  background: var(--atlc-places-primary-dark);
  border-color: var(--atlc-places-primary-dark);
  border-radius: 8px;
}

.atlc-records-modern__status-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.atlc-records-modern__status-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 15px;
  color: var(--atlc-places-muted);
  background: #fff;
  border: 1px solid var(--atlc-places-outline);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.atlc-records-modern__status-filter:hover {
  color: var(--atlc-places-primary-dark);
  border-color: var(--atlc-places-primary);
}

.atlc-records-modern__status-filter.is-active,
.atlc-records-modern__status-filter.is-active:hover {
  color: #fff;
  background: var(--atlc-places-primary-dark);
  border-color: var(--atlc-places-primary-dark);
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) :is(.atlc-record-card--place, .atlc-record-card--event) {
  overflow: hidden;
  border: 1px solid var(--atlc-places-outline);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) :is(.atlc-record-card--place, .atlc-record-card--event):hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(26, 28, 30, 0.08);
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__media {
  height: auto;
  aspect-ratio: 4 / 3;
  background: #eeeef0;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__media img {
  transition: transform 400ms ease;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) :is(.atlc-record-card--place, .atlc-record-card--event):hover .atlc-record-card__media img {
  transform: scale(1.035);
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__badges {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  gap: 5px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__status {
  padding: 7px 9px;
  color: #727784;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 7px;
  letter-spacing: 0.08em;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__status--publish {
  color: #23501e;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__status--featured {
  color: #fff;
  background: var(--atlc-places-primary-dark);
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 7px;
  padding: 15px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__category {
  color: var(--atlc-places-primary-dark);
  font-size: 12px;
  font-weight: 500;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__head h3 {
  margin: 0;
  color: var(--atlc-places-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__meta,
:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__likes {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--atlc-places-muted);
  font-size: 12px;
  line-height: 1.45;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__meta::before {
  content: "\25C9";
  color: var(--atlc-places-ink);
  font-size: 13px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__likes::before {
  content: "\2661";
  color: #e68a4b;
  font-size: 18px;
  line-height: 0.9;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__action {
  min-height: 40px;
  padding: 7px 8px;
  color: var(--atlc-places-muted);
  background: #eeeef0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__action--draft {
  color: var(--atlc-places-primary-dark);
  background: #e1f0ff;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__action--publish {
  color: #fff;
  background: var(--atlc-places-primary-dark);
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__action--archive {
  color: #93000a;
  background: #ffdad6;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__action:hover {
  color: var(--atlc-places-primary-dark);
  background: #dfe5ee;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__action--publish:hover {
  color: #fff;
  background: #003f7d;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-record-card__action--archive:hover {
  color: #fff;
  background: #ba1a1a;
}

.atlc-records-modern__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__pagination .atlc-records-modern__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 7px;
  color: var(--atlc-places-muted);
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--atlc-radius-pill);
  border-color: transparent;
  text-decoration: none;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__pagination .atlc-records-modern__page.is-active {
  color: #fff;
  background: var(--atlc-places-primary-dark);
  border-color: var(--atlc-places-primary-dark);
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__pagination .atlc-records-modern__page-arrow {
  border-color: var(--atlc-places-outline);
  font-size: 24px;
}

:is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__page-gap {
  color: #727784;
}

.atlc-record-card__action {
  min-height: 40px;
}

.atlc-record-card__action:focus-visible {
  outline-color: rgba(21, 88, 166, 0.35);
}

.atlc-cover-preview {
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.atlc-cover-preview--place {
  max-width: 420px;
  margin: 0 0 14px;
}

.atlc-cover-preview--event {
  max-width: 320px;
  border-radius: 12px;
}

.atlc-cover-preview--fill {
  height: 100%;
}

.atlc-visually-hidden {
  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;
}

.atlc-event-images {
  display: grid;
  gap: 28px;
}

.atlc-event-images__guidance {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid #bfd7f3;
  border-radius: var(--atlc-radius-md);
  color: #174f8f;
  background: #eff7ff;
}

.atlc-event-images__guidance span {
  color: var(--atlc-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.atlc-event-images__section {
  display: grid;
  gap: 14px;
}

.atlc-event-images__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.atlc-event-images__heading label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.atlc-event-images__count {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  color: #174f8f;
  background: #e7f1fd;
  font-size: 13px;
  font-weight: 700;
}

.atlc-event-cover-card {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(180px, 1fr);
  align-items: center;
  gap: 20px;
}

.atlc-event-cover-card img,
.atlc-event-gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: var(--atlc-listing-image-aspect, 4 / 5);
  object-fit: cover;
  border-radius: var(--atlc-radius-md);
  background: var(--atlc-surface-muted);
}

.atlc-event-cover-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.atlc-event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.atlc-event-gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--atlc-border);
  border-radius: var(--atlc-radius-md);
  background: var(--atlc-surface-muted);
}

.atlc-event-gallery-item img {
  border-radius: 0;
}

.atlc-event-gallery-item__actions {
  position: absolute;
  right: 7px;
  bottom: 7px;
  left: 7px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.atlc-event-gallery-item__actions button,
.atlc-event-gallery-item__actions button:hover,
.atlc-event-gallery-item__actions button:focus,
.atlc-event-gallery-item__actions button:focus-visible,
.atlc-event-gallery-item__actions button:active {
  display: grid;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50% !important;
  color: #fff;
  background: rgba(18, 29, 45, 0.82);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  transform: none !important;
}

.atlc-event-gallery-item__actions button:hover,
.atlc-event-gallery-item__actions button:focus-visible {
  border-color: rgba(255, 255, 255, 0.9);
  background: #1766b1;
}

.atlc-event-gallery-add {
  justify-self: start;
}

.atlc-event-images__status {
  min-height: 22px;
  margin: 0;
  color: var(--atlc-text-muted);
  font-size: 14px;
  font-weight: 600;
}

.atlc-event-images__status.is-success {
  color: #18734b;
}

.atlc-event-images__status.is-error {
  color: #b42318;
}

.atlc-event-images.is-uploading {
  opacity: 0.82;
}

.atlc-portal-dashboard table {
  width: 100%;
  border-collapse: collapse;
}

.atlc-portal-dashboard :where(.atlc-table-wrap, .atlc-responsive-table) {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Desktop: 1024px and wider. */
@media (min-width: 1024px) {
  .atlc-dashboard-docs-layout .atlc-dashboard-docs-grid,
  .atlc-dashboard-docs-layout.atlc-add-form-layout .atlc-dashboard-docs-grid,
  .atlc-dashboard-docs-layout--no-side .atlc-dashboard-docs-grid {
    grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  }
}

/* Tablet: 768px through 1023px. Navigation sits above content. */
@media (min-width: 768px) and (max-width: 1023px) {
  .atlc-portal-dashboard,
  .atlc-portal-dashboard.atlc-card {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin: 16px auto 32px !important;
    padding: 20px !important;
  }

  .atlc-dashboard-docs-layout .atlc-dashboard-docs-grid,
  .atlc-dashboard-docs-layout.atlc-add-form-layout .atlc-dashboard-docs-grid,
  .atlc-dashboard-docs-layout--no-side .atlc-dashboard-docs-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .atlc-dashboard-docs-layout .atlc-dashboard-docs-nav {
    position: static;
  }

  .atlc-dashboard-docs-layout .atlc-dashboard-docs-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .atlc-dashboard-docs-layout .atlc-dashboard-docs-widget {
    display: none;
  }

  .atlc-dashboard-workspace {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .atlc-dashboard-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atlc-records-modern__grid {
    grid-template-columns: 1fr;
  }

  :is(.atlc-records-modern--places, .atlc-records-modern--events) .atlc-records-modern__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: up to 767px. Compact scrollable navigation and one column. */
@media (max-width: 767px) {
  .atlc-portal-dashboard,
  .atlc-portal-dashboard.atlc-card {
    width: auto !important;
    max-width: 100% !important;
    margin: 8px 0 24px;
    padding: 12px !important;
    border-radius: 0;
    font-size: 15px;
    overflow-x: clip;
  }

  .atlc-dashboard-docs-layout .atlc-dashboard-docs-grid,
  .atlc-dashboard-docs-layout.atlc-add-form-layout .atlc-dashboard-docs-grid,
  .atlc-dashboard-docs-layout--no-side .atlc-dashboard-docs-grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .atlc-dashboard-docs-layout .atlc-dashboard-docs-nav {
    position: static;
    display: block;
    margin-bottom: 20px;
  }

  .atlc-dashboard-docs-layout .atlc-dashboard-docs-menu {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px;
    width: 100%;
    padding: 6px;
    overflow: visible;
  }

  .atlc-dashboard-docs-layout .atlc-dashboard-docs-menu a {
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    white-space: normal;
  }

  .atlc-dashboard-docs-layout .atlc-dashboard-docs-widget {
    display: none;
  }

  .atlc-dashboard-docs-main,
  .atlc-dashboard-workspace,
  .atlc-dashboard-primary,
  .atlc-dashboard-secondary,
  .atlc-dashboard-panels,
  .atlc-dashboard-stats {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .atlc-dashboard-stats {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px;
  }

  .atlc-dashboard-stat-card,
  .atlc-dashboard-stat-card:last-child:nth-child(odd) {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .atlc-form-grid,
  .atlc-form-section .atlc-form-grid,
  .atlc-dashboard-panels,
  .atlc-dashboard-workspace,
  .atlc-records-modern__grid {
    grid-template-columns: 1fr;
  }

  .atlc-place-map-coords {
    grid-template-columns: 1fr;
  }

  .atlc-form-grid-span {
    grid-column: 1;
  }

  .atlc-form-actions,
  .atlc-submission-footer__actions,
  .atlc-records-modern__header,
  .atlc-dashboard-header {
    align-items: stretch;
    flex-direction: column;
  }

  .atlc-form-actions :where(button, input[type="submit"], a),
  .atlc-submission-footer__actions button,
  .atlc-records-modern__cta {
    width: 100%;
  }

  .atlc-record-card__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .atlc-record-card__head h3,
  .atlc-record-card:not(.atlc-record-card--single) .atlc-record-card__head h3 {
    white-space: normal;
  }

  .atlc-dashboard-stat-card {
    padding: 12px 10px;
  }

  .atlc-dashboard-stat-card__label {
    font-size: 10px;
  }

  .atlc-dashboard-stat-card__value {
    font-size: 24px;
  }

  .atlc-dashboard-panel,
  .atlc-form-section,
  .atlc-event-review-card {
    padding: 14px;
  }

  .atlc-choice-cards,
  .atlc-verify-methods,
  .atlc-event-type-cards,
  .atlc-event-category-grid,
  .atlc-event-review-cards {
    grid-template-columns: 1fr;
  }

  .atlc-map-address-row,
  .atlc-event-map-address-row,
  .atlc-event-date-row__times,
  .atlc-event-wizard__step-actions,
  .atlc-event-wizard__actions-right,
  .atlc-account-photo {
    align-items: stretch;
    flex-direction: column;
  }

  .atlc-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .atlc-account-form-body,
  .atlc-account-name-phone-row {
    grid-template-columns: 1fr;
  }

  .atlc-account-form-body {
    gap: 22px;
    padding: 18px;
  }

  .atlc-account-shell .atlc-account-photo {
    align-items: center;
    flex-direction: row;
  }

  .atlc-account-photo-card {
    padding: 18px;
  }

  .atlc-account-shell .atlc-account-photo__avatar {
    flex-basis: 72px;
    width: 72px;
    height: 72px;
  }

  .atlc-account-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 10px;
    padding: 18px;
  }

  .atlc-account-form-actions .atlc-account-back-btn,
  .atlc-account-shell .atlc-account-form-actions button[type="submit"],
  .atlc-account-shell .atlc-danger-zone .atlc-button-danger {
    width: 100%;
    min-width: 0;
  }

  .atlc-account-shell .atlc-danger-zone h3 {
    font-size: 21px;
  }

  .atlc-event-cover-card {
    grid-template-columns: 1fr;
  }

  .atlc-event-cover-card img {
    max-width: 100%;
  }

  .atlc-event-cover-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .atlc-event-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .atlc-event-gallery-add {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atlc-portal-dashboard *,
  .atlc-portal-dashboard *::before,
  .atlc-portal-dashboard *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
