﻿/* Keep the footer after the content and at the bottom of short profile pages. */
.seel-page:has(> .sp-footer) { display: flex; flex-direction: column; }
.seel-page:has(> .sp-footer) > .sp-body { width: 100%; margin-block: 0; }
.seel-page > .sp-footer { width: 100%; margin-top: auto; flex-shrink: 0; }
.sp-account-watermark { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-size: 12px; line-height: 1.4; }
.sp-footer-cta + .sp-account-watermark { margin-top: 12px; }
.sp-account-watermark :is(button,a) { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 2px; border: 0; border-radius: 4px; background: none; color: inherit; font: inherit; text-decoration: none; cursor: pointer; }
.sp-account-watermark :is(button,a):hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sp-account-watermark button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sp-account-dialog { box-sizing: border-box; width: min(480px,calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 24px; border: 0; border-radius: 24px; background: #fff; color: #242225; font: 14px/1.5 "Schibsted Grotesk",system-ui,sans-serif; text-align: left; box-shadow: 0 20px 70px #1b171642; overflow: auto; }
.sp-account-dialog::backdrop { background: #202321b3; }
.sp-account-heading { position: relative; min-height: 36px; display: flex; align-items: center; justify-content: center; padding-inline: 32px; }
.sp-account-heading h2 { margin: 0; font: inherit; font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.sp-account-close { position: absolute; top: 0; right: -4px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #eeeff2; cursor: pointer; }
.sp-account-close img { width: 18px; height: 18px; }
.sp-account-profile { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; text-align: center; }
.sp-account-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #eeeff2; }
.sp-account-name { font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.sp-account-handle { color: #656b78; overflow-wrap: anywhere; }
.sp-account-intro { margin: 0; color: #656b78; font-size: 12px; max-width: 45ch; }
.sp-account-facts { border-top: 1px solid #e7e8ed; margin-top: 20px; padding-top: 16px; }
.sp-account-fact { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.sp-account-fact img { width: 18px; height: 18px; flex: none; }
.sp-account-membership,.sp-account-section { margin: 20px 0 0; }
.sp-account-section h3 { margin: 0 0 6px; font: inherit; font-weight: 650; }
.sp-account-section p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.sp-account-section ul { margin: 0; padding-left: 20px; }
.sp-account-dialog button:focus-visible { outline: 2px solid #7049f7; outline-offset: 3px; }
@media(max-width:600px) { .sp-account-dialog { padding: 20px; border-radius: 24px; } .sp-account-heading h2 { font-size: 18px; } .sp-account-avatar { width: 80px; height: 80px; } }
/* The editor canvas uses a minimum height rather than a fixed height. */
.canvas-wrap { display: flex; flex-direction: column; }
.canvas-wrap > .seel-page { flex: 1 0 auto; width: 100%; min-width: 0; }
