/* Shared guest presentation. The editor adds only editing controls and sample data. */
.portal-view {
  --pv-surface: var(--design-surface, var(--surface, #fff));
  --pv-text: var(--design-text, var(--text-primary, #203135));
  --pv-muted: var(--design-muted, var(--text-muted, #59686c));
  --pv-accent: var(--design-accent, var(--ensana-green, #006f8d));
  --pv-accent-text: var(--design-accent-text, var(--accent-text, #fff));
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.portal-view .portal-shell { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.portal-view .portal-container { padding: 0; }
.portal-view .portal-layout, .portal-view .studio-preview-content { align-items: center; }
.portal-view .portal-view-card, .portal-studio .portal-view .portal-view-card {
  box-sizing: border-box; width: 100%; max-width: 600px; padding: 28px;
  color: var(--pv-text); background: var(--pv-surface); border: 1px solid #00000008;
  border-radius: 16px; box-shadow: 0 10px 30px #0000000a; font-size: 14px; line-height: 1.5;
}
.portal-view .header { margin: 0; text-align: center; }
.portal-view .logo-container { justify-content: center; margin: 0 0 16px; }
.portal-view .portal-logo-frame { min-height: 0; max-width: 180px; }
.portal-view .portal-logo, .portal-view .studio-brand-logo { display: block; max-width: 180px; max-height: 70px; width: auto; height: auto; object-fit: contain; }
.portal-view .hotel-name, .portal-studio .portal-view .portal-view-card > h3 {
  margin: 0; color: var(--pv-text); font-family: inherit; font-size: 28px;
  font-weight: 700; line-height: 1.2; letter-spacing: -.04em; text-align: center; overflow-wrap: anywhere;
}
.portal-view .subtitle, .portal-studio .portal-view .portal-view-card > .studio-document-subtitle {
  margin: 10px 0 22px; color: var(--pv-muted); font-size: 14px; line-height: 1.65; text-align: center;
}
.portal-view .connection-table, .portal-view .studio-plans {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(min(160px,100%),1fr));
  gap: 10px; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: visible; background: transparent;
}
.portal-view .speed-option, .portal-view .studio-plan {
  display: flex; flex-direction: column; justify-content: flex-start; gap: 7px; min-height: 0;
  padding: 16px 14px 12px; border: 1px solid color-mix(in srgb,var(--pv-muted) 24%,var(--pv-surface));
  border-radius: 10px; background: var(--pv-surface); box-shadow: none; text-align: left;
}
.portal-view .portal-plan-premium, .portal-view .studio-plan-premium { border-color: var(--pv-accent); }
.portal-view .speed-option.active { box-shadow: none; }
.portal-view .portal-plan-icon, .portal-view .studio-plan-icon { color: var(--pv-accent); font-size: 28px; line-height: 1.1; }
.portal-view .speed-title, .portal-view .studio-plan > strong { color: var(--pv-text); font: inherit; font-size: 18px; font-weight: 700; text-transform: none; letter-spacing: 0; }
.portal-view .speed-value, .portal-studio .portal-view .studio-plan > .studio-document-muted { margin: 0; color: var(--pv-muted); font: inherit; font-size: 13px; line-height: 1.5; }
.portal-view .speed-desc, .portal-studio .portal-view .studio-plan > span:not(.studio-document-muted) { margin: 0; color: var(--pv-text); font-size: 13px; line-height: 1.5; }
.portal-view .speed-option form { margin-top: auto; padding-top: 3px; }
.portal-view .speed-option .btn, .portal-view .studio-plan .studio-document-button {
  display: block; width: 100%; min-height: 0; margin: auto 0 0; padding: 10px 7px;
  border: 1px solid var(--pv-accent); border-radius: 7px; color: var(--pv-accent-text); background: var(--pv-accent);
  font: inherit; font-size: 13px; font-weight: 650; line-height: 1.5; text-align: center; white-space: normal; overflow-wrap: anywhere;
}
.portal-view .speed-option .btn-secondary, .portal-view .studio-plan .is-secondary { color: var(--pv-accent); background: transparent; }
.portal-view .access-code-section { margin-top: 16px; }
.portal-view .access-code-section .btn, .portal-view .console-design-sections > li > .studio-document-button {
  min-height: 0; margin: 0; padding: 10px 12px; color: var(--pv-accent); background: transparent;
  border: 0; font: inherit; font-size: 14px; font-weight: 650; text-align: center; line-height: 1.5;
}
.portal-view .legal-links, .portal-view .studio-document-legal { color: var(--pv-muted); font-size: 12px; line-height: 1.7; text-align: center; }
.portal-view .legal-links a { color: var(--pv-accent); }
.portal-view .language-switcher { gap: 6px; padding: 6px; border-radius: 7px; }
.portal-view .language-flag { width: 36px; height: 34px; border-radius: 5px; }
.portal-view .language-flag .language-flag-image { width: 24px; height: 16px; }
@media(max-width:520px) {
  .portal-view .portal-view-card, .portal-studio .portal-view .portal-view-card { padding: 22px 18px; }
}
/* The editor's mobile selector uses the same card padding as a phone viewport. */
.portal-view[data-device=mobile] .portal-view-card { padding: 22px 18px; }

.portal-view[data-background-mode=photo] { background: linear-gradient(145deg,#143e4999,#ffffff30),var(--design-photo,var(--portal-photo,none)) center/cover; }
.portal-view[data-background-mode=gradient] { background: linear-gradient(145deg,var(--design-background,var(--page-bg)),var(--design-background-end,var(--page-bg-end))); }
