:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.link-bio-public {
    --link-bio-top-gap: 40px;
    box-sizing: border-box;
    min-height: 100vh;
    margin: 0;
    background: var(--link-bio-page-background, #fff);
    color: var(--link-bio-page-text, #1b292c);
}

.link-bio-sheet {
    display: flex;
    flex-direction: column;
    width: min(calc(100% - 20px), 680px);
    min-height: calc(100vh - var(--link-bio-top-gap));
    min-height: calc(100dvh - var(--link-bio-top-gap));
    margin: var(--link-bio-top-gap) auto 0;
    border-radius: 24px 24px 0 0;
    background: var(--link-bio-page-background, #fff);
    box-shadow: 0 2px 16px rgba(18, 47, 56, .055);
}

.link-bio-public *, .link-bio-editor * { box-sizing: border-box; }
.link-bio-public a { color: inherit; }
.link-bio-public :focus-visible, .link-bio-editor :focus-visible {
    outline: 3px solid #123f59;
    outline-offset: 3px;
}
.link-bio-public :focus-visible { outline-color: var(--link-bio-on-background, #123f59); }
.link-bio-report-panel :focus-visible, .link-bio-report-dialog :focus-visible { outline-color: #123f59; }

.link-bio-page {
    width: min(100% - 32px, 680px);
    margin: 0 auto;
    padding: clamp(26px, 6vh, 56px) 0 72px;
    flex: 1;
}
.link-bio-topbar { --link-bio-topbar-item-height: 38px; display: flex; width: min(100% - 32px, 680px); align-items: center; justify-content: space-between; margin: 0 auto; padding-top: 22px; }
.link-bio-topbar-home, .link-bio-share, .link-bio-topbar-cta { height: var(--link-bio-topbar-item-height); }
.link-bio-topbar-home, .link-bio-share { display: inline-flex; width: 38px; flex: none; align-items: center; justify-content: center; border-radius: 10px; }
.link-bio-topbar-home { width: 48px; overflow: hidden; background: transparent; }
.link-bio-topbar-actions { display: flex; min-width: 0; flex: 1; height: var(--link-bio-topbar-item-height); align-items: center; justify-content: flex-end; gap: 8px; margin-left: 8px; }
.link-bio-topbar-links { display: flex; min-width: 0; max-width: 100%; align-items: center; justify-content: flex-start; gap: 12px; overflow-x: auto; scrollbar-width: thin; }
.link-bio-topbar-cta { display: inline-flex; min-width: 0; max-width: min(40vw, 180px); align-items: center; color: var(--link-bio-page-text, #20383f); font-size: 13px; font-weight: 650; line-height: 1.2; text-decoration: underline; text-underline-offset: 3px; }
.link-bio-topbar-links .link-bio-topbar-cta { flex: none; }
.link-bio-topbar-cta:hover { color: var(--link-bio-page-hover-text, var(--link-bio-page-text, #20383f)); }
.link-bio-topbar-cta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-bio-share:hover { background: transparent; color: var(--link-bio-icon-hover-color, #315b64); }
.link-bio-topbar-home img { display: block; width: 42px; height: 42px; max-width: none; flex: none; object-fit: contain; filter: contrast(200%); }
.link-bio-topbar-home--light-logo img { filter: invert(1) contrast(200%); }
.link-bio-share { appearance: none; border: 0; padding: 0; background: transparent; box-shadow: none; color: var(--link-bio-icon-color, #315b64); cursor: pointer; }
.link-bio-share[hidden], .link-bio-share-manual[hidden] { display: none; }
.link-bio-share-status { width: min(100% - 32px, 680px); margin: 8px auto 0; color: var(--link-bio-page-text, #344b50); font-size: 13px; text-align: right; }
.link-bio-share-status:empty { display: none; }
.link-bio-share-manual { width: min(100% - 32px, 680px); margin: 8px auto 0; border: 1px solid #dce5e6; border-radius: 8px; padding: 10px; background: #fff; }
.link-bio-share-manual label { display: grid; gap: 5px; color: #344b50; font-size: 13px; font-weight: 650; }
.link-bio-share-manual input { width: 100%; min-height: 36px; border: 1px solid #bac9cc; border-radius: 6px; padding: 6px 8px; color: #20383f; font: inherit; }

.link-bio-preview-label {
    width: fit-content;
    margin: 0 auto 28px;
    border-radius: 999px;
    padding: 8px 14px;
    background: #e1ecee;
    color: #234c55;
    font-size: 13px;
    font-weight: 650;
    text-align: center;
}

.link-bio-profile { text-align: center; }
.link-bio-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--link-bio-page-background, #fff);
    color: var(--link-bio-brand-accent, #315b64);
    font-size: 42px;
    font-weight: 700;
    border: 0;
    box-shadow: none;
}
.link-bio-avatar--fit {
    padding: 14px;
    object-fit: contain;
}
.link-bio-avatar-fallback {
    border: 2px solid var(--link-bio-on-background, #315b64);
    background: var(--link-bio-brand-accent, #315b64);
    color: var(--link-bio-on-brand, #ffffff);
    box-shadow: 0 6px 24px rgba(18, 47, 56, .11);
}
.link-bio-profile h1 {
    margin: 20px 0 0;
    font-size: clamp(25px, 6vw, 32px);
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.link-bio-bio {
    max-width: 44ch;
    margin: 12px auto 0;
    color: var(--link-bio-page-text, #526468);
    font-size: 16px;
    line-height: 1.55;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.link-bio-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 0;
}
.link-bio-socials a {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(32, 61, 68, .14);
    background: var(--link-bio-icon-background, #ffffff);
    color: var(--link-bio-icon-color, #315b64);
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.link-bio-socials a:hover { background: var(--link-bio-icon-hover-background, #ffffff); color: var(--link-bio-icon-hover-color, #315b64); transform: translateY(-2px); }
.link-bio-socials .footer-social-icon { display: inline-flex; width: 22px; height: 22px; }
.link-bio-socials svg { display: block; width: 100%; height: 100%; }
.link-bio-social-buttons { display: grid; gap: 14px; margin-top: 25px; }
.link-bio-links { display: grid; gap: 14px; margin-top: 30px; }
.link-bio-link {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(32, 61, 68, .18);
    border-radius: 10px;
    padding: 14px 20px;
    background: var(--link-bio-button-background, #fff);
    box-shadow: 0 4px 14px rgba(18, 47, 56, .045);
    color: var(--link-bio-button-text, #20383f);
    font-size: 16px;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.link-bio-public .link-bio-link { color: var(--link-bio-button-text, #20383f); }
.link-bio-link.has-icon {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 14px;
    justify-content: stretch;
    text-align: left;
}
.link-bio-button-icon { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 7px; padding: 5px; background: var(--link-bio-icon-background, #ffffff); color: var(--link-bio-icon-color, #315b64); }
.link-bio-link:hover .link-bio-button-icon { background: var(--link-bio-icon-hover-background, #ffffff); color: var(--link-bio-icon-hover-color, #315b64); }
.link-bio-button-icon--image { padding: 0; background: transparent; }
.link-bio-button-icon svg, .link-bio-button-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.link-bio-button-icon img { border-radius: 5px; }
.link-bio-link-text { min-width: 0; }
.link-bio-link:hover {
    border-color: #647b80;
    background: var(--link-bio-button-hover-background, var(--link-bio-button-background, #fff));
    color: var(--link-bio-button-hover-text, var(--link-bio-button-text, #20383f));
    box-shadow: 0 7px 20px rgba(18, 47, 56, .09);
    transform: translateY(-2px);
}
.link-bio-empty { margin: 36px 0; color: var(--link-bio-page-text, #526468); text-align: center; }
.link-bio-report { margin: 0; color: inherit; font-size: 12px; }
.link-bio-report summary { cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 3px; }
.link-bio-report summary::-webkit-details-marker { display: none; }
.link-bio-report summary::marker { content: ''; }
.link-bio-report > .link-bio-report-panel {
    position: absolute;
    z-index: 10;
    bottom: calc(100% + 12px);
    left: 50%;
    width: min(440px, calc(100vw - 32px));
    max-height: min(72vh, 580px);
    overflow: auto;
    transform: translateX(-50%);
    border: 1px solid #bac9cc;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(18, 47, 56, .16);
    color: #20383f;
    font-size: 13px;
    text-align: left;
}
.link-bio-report-panel p { margin: 0 0 12px; }
.link-bio-report-panel form { display: grid; gap: 12px; margin: 0; }
.link-bio-report-panel label { display: grid; gap: 5px; color: #344b50; font-weight: 650; }
.link-bio-report-panel select, .link-bio-report-panel textarea {
    width: 100%; min-height: 42px; border: 1px solid #bac9cc; border-radius: 8px;
    padding: 8px 10px; background: #fff; color: #1b292c; font: inherit;
}
.link-bio-report-panel button { justify-self: start; border: 1px solid #bac9cc; border-radius: 8px; padding: 9px 14px; background: #fff; color: #20383f; font: inherit; font-weight: 650; cursor: pointer; }
.link-bio-report-dialog { width: min(440px, calc(100vw - 32px)); max-height: min(80vh, 640px); overflow: auto; margin: auto; border: 1px solid #bac9cc; border-radius: 14px; padding: 18px; background: #fff; box-shadow: 0 24px 70px rgba(18, 47, 56, .25); color: #20383f; font: 13px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.link-bio-report-dialog::backdrop { background: rgba(16, 35, 41, .58); }
.link-bio-report-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.link-bio-report-dialog-header h2 { margin: 0; font-size: 19px; line-height: 1.25; }
.link-bio-report-close { min-width: 34px; min-height: 34px; border: 1px solid #bac9cc; border-radius: 8px; background: #fff; color: #20383f; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.link-bio-report-dialog .link-bio-report-panel { position: static; width: auto; max-height: none; overflow: visible; transform: none; border: 0; padding: 0; background: transparent; box-shadow: none; text-align: left; }
.link-bio-footer { position: relative; padding: 0 16px 24px; color: var(--link-bio-page-text, #596c70); font-size: 12px; text-align: center; }
.link-bio-made-with { margin: 0; }
.link-bio-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 5px 9px; margin-top: 9px; }
.link-bio-footer-entry { display: inline-flex; min-width: 0; max-width: 100%; align-items: baseline; gap: 9px; }
.link-bio-footer-entry a { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.link-bio-footer-separator { flex: none; font-size: 14px; line-height: 1; }
.link-bio-footer a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.link-bio-footer a:hover { color: var(--link-bio-page-hover-text, var(--link-bio-page-text, #20383f)); }

.link-bio-editor { max-width: 1000px; margin: 0 auto; padding: 22px 0 60px; }
.link-bio-editor-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.link-bio-editor-header h1 { margin: 0 0 8px; }
.link-bio-editor-header p { max-width: 70ch; margin: 0; color: #526468; }
.link-bio-editor-header-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.link-bio-analytics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.link-bio-analytics-stat { display: grid; gap: 4px; border: 1px solid #d9e2e3; border-radius: 12px; padding: 14px 16px; background: #fff; }
.link-bio-analytics-stat span { color: #526468; font-size: 13px; font-weight: 650; }
.link-bio-analytics-stat strong { color: #20383f; font-size: clamp(21px, 3vw, 28px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.link-bio-analytics > p { grid-column: 1 / -1; margin: 0; color: #607477; font-size: 12px; }
.link-bio-analytics-page, .link-bio-pages-list { display: grid; gap: 18px; }
.link-bio-analytics-page .link-bio-editor-header, .link-bio-pages-list .link-bio-editor-header, .link-bio-analytics-page .link-bio-analytics { margin-bottom: 0; }
.link-bio-analytics-table-scroll { max-width: 100%; overflow-x: auto; }
.link-bio-analytics-table { width: 100%; min-width: 32rem; border-collapse: collapse; text-align: left; }
.link-bio-analytics-table th, .link-bio-analytics-table td { padding: 10px 12px; border-bottom: 1px solid #e0e9ea; vertical-align: top; }
.link-bio-analytics-table th { font-weight: 700; }
.link-bio-analytics-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.link-bio-analytics-destination { max-width: 28rem; }
.link-bio-analytics-destination a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-bio-pages-url { overflow-wrap: anywhere; }
.link-bio-editor-form { display: grid; gap: 22px; }
.link-bio-editor-panel { min-width: 0; border: 1px solid #d9e2e3; border-radius: 14px; padding: 20px; background: #fff; }
.link-bio-editor-panel h2 { margin: 0 0 8px; font-size: 19px; }
.link-bio-heading-row { position: relative; display: flex; align-items: center; gap: 4px; margin-bottom: 14px; }
.link-bio-heading-row h2 { margin: 0; }
.link-bio-color-label-row { position: relative; display: flex; min-width: 0; align-items: center; gap: 4px; }
.link-bio-color-label-row > label { min-width: 0; font-size: 13px; font-weight: 700; }
.link-bio-color-label-row .link-bio-heading-info { flex: none; }
.link-bio-heading-info { margin: 0; }
.link-bio-heading-info > summary { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #526468; cursor: pointer; list-style: none; }
.link-bio-heading-info > summary::-webkit-details-marker { display: none; }
.link-bio-heading-info > summary:hover { background: #edf4f5; color: #20383f; }
.link-bio-heading-info > summary .portal-icon { width: 19px; height: 19px; }
.link-bio-heading-info > div { position: absolute; z-index: 10; top: calc(100% + 4px); left: 0; width: min(330px, calc(100vw - 3rem)); border: 1px solid #d9e2e3; border-radius: 8px; padding: 12px 14px; background: #fff; box-shadow: 0 10px 25px rgba(18, 47, 56, .16); color: #344b50; font-size: 13px; line-height: 1.5; }
.link-bio-heading-info p { margin: 0; }
.link-bio-heading-info p + p { margin-top: 8px; }
.link-bio-header-link-row { padding: 13px 0; border-top: 1px solid #e0e9ea; }
.link-bio-header-link-row h3 { margin: 0 0 9px; font-size: 14px; }
.link-bio-header-link-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 14px; }
.link-bio-editor-panel > p { margin: 0 0 18px; color: #526468; }
.link-bio-editor-fields { display: grid; gap: 16px; }
.link-bio-editor .field { display: grid; gap: 6px; }
.link-bio-editor [data-link-bio-icon-panel][hidden] { display: none; }
.link-bio-editor [data-link-bio-saved-image][hidden] { display: none; }
.link-bio-editor .field span { color: #344b50; font-size: 13px; font-weight: 700; }
.link-bio-colour-group { min-width: 0; margin: 16px 0 0; border: 1px solid #e0e9ea; border-radius: 10px; padding: 14px; }
.link-bio-colour-group legend { padding: 0 4px; color: #344b50; font-size: 14px; font-weight: 700; }
.link-bio-colour-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.link-bio-editor .link-bio-color-control { display: flex; min-width: 0; align-items: center; gap: 8px; }
.link-bio-color-control [data-link-bio-hex] { min-width: 0; width: min(100%, 155px); font: inherit; }
.link-bio-color-control [data-link-bio-swatch] { width: 48px; height: 42px; flex: none; min-height: 42px; padding: 3px; cursor: pointer; }
.link-bio-editor textarea { min-height: 94px; resize: vertical; }
.link-bio-editor input[type="color"] { width: 80px; min-height: 44px; padding: 4px; }
.link-bio-editor .field small, .link-bio-editor-help { color: #607477; font-size: 13px; }
.link-bio-profile-image { min-width: 0; margin: 0; border: 1px solid #e0e9ea; border-radius: 10px; padding: 12px 14px; }
.link-bio-profile-image legend { padding: 0 4px; color: #344b50; font-size: 13px; font-weight: 700; }
.link-bio-profile-image-options { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.link-bio-profile-image-options label { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.link-bio-profile-image-options input { width: auto; min-height: 0; }
.link-bio-profile-image-fit { min-width: 0; margin: 0; border: 1px solid #e0e9ea; border-radius: 10px; padding: 12px 14px; }
.link-bio-profile-image-fit legend { padding: 0 4px; color: #344b50; font-size: 13px; font-weight: 700; }
.link-bio-profile-image-fit .link-bio-editor-help { margin: 10px 0 0; }
.link-bio-profile-image-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; border: 1px solid #e3ebed; border-radius: 8px; padding: 12px; background: #f8fbfb; color: #526468; font-size: 13px; }
.link-bio-editor [data-link-bio-profile-image-panel][hidden] { display: none; }
.link-bio-profile-image-panel .field { flex: 1 1 300px; }
.link-bio-image-choice-preview { width: 56px; height: 56px; flex: none; border: 1px solid #bac9cc; border-radius: 50%; background: var(--link-bio-page-background, #fff); object-fit: cover; }
.link-bio-image-choice-preview--fit { padding: 9px; object-fit: contain; }
.link-bio-social-layout { min-width: 0; margin: 0 0 6px; border: 1px solid #e0e9ea; border-radius: 10px; padding: 12px 14px; }
.link-bio-social-layout legend { padding: 0 4px; color: #344b50; font-size: 13px; font-weight: 700; }
.link-bio-social-layout .link-bio-heading-row { margin-bottom: 8px; }
.link-bio-social-layout .link-bio-heading-row h3 { margin: 0; color: #344b50; font-size: 13px; font-weight: 700; }
.link-bio-layout-options { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.link-bio-layout-options label { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.link-bio-layout-options input { width: auto; min-height: 0; }
.link-bio-social-layout .link-bio-editor-help { margin: 10px 0 0; }
.link-bio-icon-limit { max-width: 360px; margin: 12px 0 0; }
.link-bio-icon-limit input { max-width: 120px; }
.link-bio-item-group { padding-top: 16px; }
.link-bio-item-group + .link-bio-item-group { margin-top: 22px; border-top: 1px solid #e2eaeb; }
.link-bio-item-group > h3 { margin: 0 0 8px; font-size: 16px; }
.link-bio-item-group .link-bio-heading-row { margin-bottom: 8px; }
.link-bio-item-group .link-bio-heading-row h3 { margin: 0; font-size: 16px; }
.link-bio-item-list { display: grid; gap: 12px; margin: 16px 0; }
.link-bio-item-row { min-width: 0; border: 1px solid #dce5e6; border-radius: 12px; background: #fbfdfd; }
.link-bio-item-summary { display: flex; min-height: 60px; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
.link-bio-item-summary::-webkit-details-marker { display: none; }
.link-bio-item-summary::marker { content: ''; }
.link-bio-item-summary-icon { display: inline-flex; width: 36px; height: 36px; flex: none; align-items: center; justify-content: center; border-radius: 9px; background: #e9f0f1; color: #315b64; }
.link-bio-item-summary-icon .footer-social-icon { display: inline-flex; width: 20px; height: 20px; }
.link-bio-item-summary-icon svg, .link-bio-item-summary-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.link-bio-item-summary-name { min-width: 0; flex: 1; color: #20383f; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.link-bio-item-summary-action { flex: none; color: #315b64; font-size: 13px; font-weight: 700; }
.link-bio-summary-close, .link-bio-item-row[open] .link-bio-summary-edit { display: none; }
.link-bio-item-row[open] .link-bio-summary-close { display: inline; }
.link-bio-item-summary-chevron { flex: none; color: #607477; transition: transform .15s ease; }
.link-bio-item-row[open] .link-bio-item-summary-chevron { transform: rotate(180deg); }
.link-bio-item-content { border-top: 1px solid #e2eaeb; padding: 14px 16px 16px; }
.link-bio-item-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-bottom: 12px; }
.link-bio-item-controls button { width: auto; min-height: 34px; padding: 5px 9px; font-size: 13px; }
.link-bio-item-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px; }
.link-bio-item-fields .wide { grid-column: 1 / -1; }
.link-bio-item-icon-choice { display: block; color: #344b50; font-size: 13px; font-weight: 600; }
.link-bio-item-icon-choice input { width: auto; min-height: 0; margin-right: 6px; }
.link-bio-item-icon-choice small { display: block; margin: 5px 0 0 22px; color: #607477; font-weight: 400; }
.link-bio-icon-note { margin: 0; }
.link-bio-saved-image { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; border: 1px solid #dce5e6; border-radius: 8px; padding: 10px 12px; color: #526468; font-size: 13px; }
.link-bio-saved-image label { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.link-bio-saved-image input[type="checkbox"] { width: auto; min-height: 0; }
.link-bio-item-visibility { display: inline-flex; align-items: center; gap: 8px; margin-top: 13px; font-size: 13px; font-weight: 600; }
.link-bio-item-visibility input { width: auto; min-height: 0; }
.link-bio-editor-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link-bio-editor-actions .button { min-width: 130px; }
.link-bio-editor-status { color: #32505a; font-size: 13px; }
.link-bio-editor-errors { border: 1px solid #c48383; border-radius: 10px; padding: 14px 18px; background: #fff5f5; color: #7c2424; }
.link-bio-editor-errors ul { margin: 8px 0 0; padding-left: 20px; }
.link-bio-admin-reports { display: grid; gap: 14px; }
.link-bio-admin-report { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; border: 1px solid #dce5e6; border-radius: 12px; padding: 18px; background: #fff; }
.link-bio-admin-report h2 { margin: 0 0 8px; font-size: 17px; }
.link-bio-admin-report p { margin: 5px 0; color: #526468; }
.link-bio-admin-report-details { max-width: 70ch; overflow-wrap: anywhere; white-space: pre-wrap; }
.link-bio-admin-action { align-self: start; max-width: 250px; }
.link-bio-admin-action summary { cursor: pointer; font-weight: 700; }
.link-bio-admin-action form { margin-top: 12px; }
@media (max-width: 640px) {
    .link-bio-public { --link-bio-top-gap: 0; background: var(--link-bio-page-background, #fff); }
    .link-bio-heading-info[open]::before {
        content: '';
        position: fixed;
        z-index: 999;
        inset: 0;
        background: rgba(18, 47, 56, .34);
    }
    .link-bio-heading-info > div {
        position: fixed;
        z-index: 1000;
        top: 50%;
        left: 50%;
        width: min(360px, calc(100vw - 32px));
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
        transform: translate(-50%, -50%);
        padding: 18px;
        box-shadow: 0 16px 48px rgba(18, 47, 56, .26);
    }
    .link-bio-sheet {
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .link-bio-page { width: min(100% - 28px, 680px); }
    .link-bio-editor-panel { padding: 16px; }
    .link-bio-analytics { gap: 8px; }
    .link-bio-analytics-stat { padding: 12px; }
    .link-bio-colour-grid { grid-template-columns: 1fr; }
    .link-bio-header-link-fields { grid-template-columns: 1fr; }
    .link-bio-item-fields { grid-template-columns: 1fr; }
    .link-bio-item-summary { flex-wrap: wrap; }
    .link-bio-item-fields .wide { grid-column: auto; }
    .link-bio-editor-actions .button { flex: 1 1 140px; }
}
@media (max-width: 440px) {
    .link-bio-analytics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
    .link-bio-link, .link-bio-socials a, .link-bio-item-summary-chevron { transition: none; }
}
