.qlt-theme-blue { --qlt-accent: #15366b; --qlt-soft: #e7eef9; --qlt-cover: #b7ccec; }
.qlt-theme-teal { --qlt-accent: #14666b; --qlt-soft: #e4f1f0; --qlt-cover: #b3d7d4; }
.qlt-theme-mono { --qlt-accent: #242424; --qlt-soft: #eeeeef; --qlt-cover: #cdced0; }
.qlt-theme-minimal { --qlt-accent: #172033; --qlt-soft: #f2f5f8; --qlt-cover: #dbe8f1; }
.qlt-theme-immersive { --qlt-accent: #258cff; --qlt-soft: #172230; --qlt-cover: #43536a; }
.qlt-appearance { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.qlt-appearance legend { float: none; width: auto; font-size: 19px; font-weight: 700; }
.qlt-appearance > p { font-size: 14px; color: #505866; }
.qlt-appearance-live { display: grid; grid-template-columns: minmax(220px,.8fr) minmax(280px,1.2fr); gap: 24px; align-items: stretch; }
.qlt-theme-options { display: grid; gap: 10px; align-content: start; }
.qlt-theme-choice { position: relative; display: grid !important; grid-template-columns: 38px minmax(0,1fr) 24px; align-items: center; gap: 12px !important; min-height: 66px; padding: 10px 12px; border: 2px solid #d9dee5; border-radius: 12px; background: #fff; cursor: pointer; font-size: 13px; }
.qlt-theme-choice:has(input:checked) { border-color: #172033; background: var(--qlt-soft); box-shadow: 0 0 0 3px #d4ff55; }
.qlt-theme-choice input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.qlt-theme-choice:focus-within { outline: 2px solid var(--qlt-accent); outline-offset: 3px; }
.qlt-theme-choice strong,.qlt-theme-choice small { display: block; }
.qlt-theme-choice small { margin-top: 3px; color: #626b78; font-weight: 400; }
.qlt-theme-swatch { width: 38px; height: 38px; padding: 5px; border-radius: 10px; background: var(--qlt-soft); }
.qlt-theme-swatch i { display: block; width: 100%; height: 100%; border-radius: 7px; background: linear-gradient(135deg,var(--qlt-cover) 0 48%,var(--qlt-accent) 49% 100%); }
.qlt-theme-check { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #b8c0cb; border-radius: 50%; color: transparent; }
.qlt-theme-choice:has(input:checked) .qlt-theme-check { border-color: #172033; background: #172033; color: #fff; }
.qlt-live-preview { min-width: 0; padding: 14px; border: 1px solid #d9dee5; border-radius: 18px; background: #f4f6f8; }
.qlt-live-preview__bar { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-size: 13px; color: #626b78; }
.qlt-live-preview__bar strong { color: #172033; }
.qlt-live-preview__phone { width: min(100%,260px); margin: auto; padding: 8px; border: 3px solid #172033; border-radius: 26px; background: #172033; box-shadow: 0 12px 28px #1720331f; }
.qlt-live-preview__screen { position: relative; min-height: 330px; padding: 0 18px 22px; overflow: hidden; border-radius: 18px; background: #fff; text-align: center; }
.qlt-live-preview__cover { display: block; height: 96px; margin: 0 -18px; background: linear-gradient(135deg,var(--qlt-soft),var(--qlt-cover)); }
.qlt-live-preview__avatar { display: block; width: 68px; height: 68px; margin: -36px auto 14px; border: 4px solid #fff; border-radius: 50%; background: #858b94; position: relative; }
.qlt-live-preview__name,.qlt-live-preview__handle,.qlt-live-preview__link { display: block; border-radius: 999px; }
.qlt-live-preview__name { width: 56%; height: 12px; margin: 0 auto 9px; background: #202633; }
.qlt-live-preview__handle { width: 38%; height: 7px; margin: 0 auto 24px; background: #c7ccd3; }
.qlt-live-preview__link { height: 34px; margin-top: 10px; border: 1px solid var(--qlt-accent); background: var(--qlt-soft); }
.qlt-live-preview__status { margin: 12px 0 0; text-align: center; font-size: 13px; color: #626b78; }
.qlt-live-preview.qlt-theme-minimal { background: linear-gradient(135deg,#ecfaf4,#f3f7fb); }
.qlt-live-preview.qlt-theme-minimal .qlt-live-preview__cover { height: 42px; background: transparent; }
.qlt-live-preview.qlt-theme-minimal .qlt-live-preview__avatar { width: 86px; height: 86px; margin-top: 0; }
.qlt-live-preview.qlt-theme-minimal .qlt-live-preview__link { background: #fff; border-color: #d5dbe5; }
.qlt-live-preview.qlt-theme-immersive { background: #111820; }
.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__screen { background: #10151c; }
.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__cover { height: 150px; background: linear-gradient(145deg,#53677e,#111820); }
.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__avatar { width: 50px; height: 50px; margin: -60px 0 18px 14px; border-color: #fff; }
.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__name,.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__handle { margin-left: 14px; margin-right: 0; background: #fff; }
.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__handle { background: #718096; }
.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__link { display: inline-block; width: calc(33.333% - 7px); height: 64px; margin: 18px 3px 0; border: 0; border-radius: 5px; background: linear-gradient(145deg,#314257,#172230); }
.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__bar,.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__bar strong,.qlt-live-preview.qlt-theme-immersive .qlt-live-preview__status { color: #fff; }
.qlt-designed-profile { margin: 0; padding: 36px 20px; background: #f4f5f7; color: #202633; font: 16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif; }
.qlt-designed-profile * { box-sizing: border-box; }
.qlt-designed-profile a { color: var(--qlt-accent); }
.qlt-designed-profile :focus-visible { outline: 3px solid var(--qlt-accent); outline-offset: 4px; }
.qlt-profile-shell { max-width: 1180px; margin: auto; background: #fff; border: 1px solid #e3e5e9; border-radius: 24px; box-shadow: 0 15px 50px #2026330a; overflow: hidden; }
.qlt-profile-topbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 32px; border-bottom: 1px solid #e8e9ed; }
.qlt-profile-brand { display: inline-flex; align-items: center; gap: 10px; color: #111; text-decoration: none; white-space: nowrap; }
.qlt-profile-brand__logo { display: block; flex: 0 0 auto; width: auto; height: 42px; object-fit: contain; }
.qlt-profile-brand__wordmark { display: block; font-size: 22px; font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.qlt-profile-topbar > div { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.qlt-profile-topbar .qlt-language-selector { margin: 0; gap: 4px; }
.qlt-profile-topbar .qlt-language-selector a { font-size: 13px; padding: 8px 12px; }
.qlt-profile-topbar button { background: #fff; color: var(--qlt-accent); border: 1px solid #d7dce4; padding: 10px 14px; border-radius: 8px; font: inherit; cursor: pointer; }
.qlt-profile-layout { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 40px; padding: 40px 32px; align-items: start; }
.qlt-profile-layout--empty { grid-template-columns: minmax(0,640px); justify-content: center; }
.qlt-identity { border: 1px solid #e4e6eb; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 24px #20263308; }
.qlt-profile-cover { height: 126px; background: radial-gradient(ellipse at 15% 0%,#ffffffb0,transparent 60%),linear-gradient(135deg,var(--qlt-soft),var(--qlt-cover)); }
.qlt-profile-cover img { display: none; }
.qlt-identity-content { text-align: center; padding: 0 28px 28px; overflow-wrap: anywhere; }
.qlt-identity .qlt-public-avatar { margin-top: -58px; width: 116px; height: 116px; position: relative; }
.qlt-identity-content > h1 { font-size: clamp(26px,3vw,36px); line-height: 1.18; margin: 20px 0 6px; }
.qlt-profile-handle { color: #657080; font-size: 14px; margin: 0 0 22px; }
.qlt-profile-biography summary { color: var(--qlt-accent); cursor: pointer; font-weight: 650; padding: 8px; }
.qlt-profile-biography .qlt-public-bio { text-align: left; }
.qlt-profile-biography.qlt-bio-align-left,.qlt-profile-biography.qlt-bio-align-left * { text-align: left !important; }
.qlt-profile-biography.qlt-bio-align-center,.qlt-profile-biography.qlt-bio-align-center * { text-align: center !important; }
.qlt-profile-biography.qlt-bio-align-right,.qlt-profile-biography.qlt-bio-align-right * { text-align: right !important; }
.qlt-profile-biography.qlt-bio-width-compact { width: min(100%,520px); }
.qlt-profile-biography.qlt-bio-width-normal { width: min(100%,760px); }
.qlt-profile-biography.qlt-bio-width-wide { width: min(100%,960px); }
.qlt-profile-biography.qlt-bio-align-center { margin-inline: auto; }
.qlt-profile-biography.qlt-bio-align-right { margin-left: auto; }
.qlt-profile-biography.qlt-bio-size-small { font-size: 14px; }
.qlt-profile-biography.qlt-bio-size-normal { font-size: 17px; }
.qlt-profile-biography.qlt-bio-size-large { font-size: 20px; }
.qlt-profile-biography p:empty { min-height: 1.5em; }
.qlt-profile-primary,.qlt-profile-secondary { display: block; border: 1px solid var(--qlt-accent); border-radius: 9px; padding: 12px 18px; margin-top: 14px; font-weight: 650; text-decoration: none; }
.qlt-designed-profile .qlt-profile-primary { background: var(--qlt-accent); color: white; }
.qlt-profile-link-section h2 { font-size: 23px; margin: 20px 0 24px; }
.qlt-profile-link-section h2:after { content: ''; display: block; width: 35px; height: 3px; background: var(--qlt-accent); margin-top: 12px; }
.qlt-designed-profile .qlt-public-links { gap: 18px; }
.qlt-designed-profile .qlt-public-link { justify-content: flex-start; text-align: left; gap: 18px; padding: 24px; min-height: 108px; border-radius: 14px; color: #202633; box-shadow: 0 5px 18px #20263308; }
.qlt-link-symbol { flex-shrink: 0; padding: 8px 15px; background: var(--qlt-soft); color: var(--qlt-accent); border-radius: 12px; font-size: 25px; }
.qlt-link-arrow { margin-left: auto; color: var(--qlt-accent); }
.qlt-designed-profile .qlt-public-link:hover { border-color: var(--qlt-accent); }
.qlt-profile-extra { grid-column: 1/-1; width: 100%; max-width: 720px; justify-self: center; margin: 0; }
.qlt-profile-extra .qlt-contact-card { margin: 0; border-radius: 14px; }
.qlt-designed-profile .qlt-contact-form button { background: var(--qlt-accent); color: #fff; }
.qlt-profile-footer { padding: 24px 32px 16px; border-top: 1px solid #e8e9ed; font-size: 14px; text-align: center; }
.qlt-profile-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; }
.qlt-profile-footer a { text-decoration: none; padding: 8px 2px; display: inline-block; }
.qlt-profile-footer a:hover { text-decoration: underline; }
.qlt-profile-footer .qlt-report-profile { color: #922344; }
.qlt-profile-footer p { border-top: 1px solid #e8e9ed; padding-top: 16px; margin-bottom: 0; }
@media(max-width:760px) {
 .qlt-designed-profile { padding: 12px; }
 .qlt-profile-shell { border-radius: 16px; }
 .qlt-profile-topbar { padding: 18px; gap: 10px; align-items: flex-start; }
 .qlt-profile-brand__logo { height: 38px; }
 .qlt-profile-brand__wordmark { font-size: 19px; }
 .qlt-profile-topbar > div { gap: 8px; }
 .qlt-profile-topbar button { font-size: 13px; }
 .qlt-profile-layout { grid-template-columns: minmax(0,1fr); gap: 24px; padding: 18px; }
 .qlt-designed-profile .qlt-public-link { min-height: 76px; padding: 16px; gap: 12px; }
 .qlt-profile-link-section h2 { margin-top: 0; font-size: 21px; }
 .qlt-profile-footer { padding: 18px; }
 .qlt-profile-footer nav { gap: 8px 20px; }
}
@media(max-width:760px) { .qlt-appearance-live { grid-template-columns: minmax(0,1fr); } .qlt-live-preview { order: -1; } }
@media(max-width:420px) { .qlt-theme-options { gap: 8px; } .qlt-theme-choice { padding: 9px; font-size: 13px; } .qlt-live-preview__screen { min-height: 300px; } }
@media(prefers-reduced-motion:reduce) { .qlt-designed-profile .qlt-public-link { transition: none; transform: none; } }

/* Minimal centered template: no cover, outer card or publication stream. */
body.qlt-designed-profile.qlt-theme-minimal {
 background: radial-gradient(ellipse at 0 0,#dff8ee 0,transparent 34%),radial-gradient(ellipse at 100% 0,#dceeff 0,transparent 34%),#f7f8fa;
 padding: 32px 20px;
}
.qlt-theme-minimal .qlt-profile-shell { max-width: 720px; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.qlt-theme-minimal .qlt-profile-topbar { flex-direction: column; padding: 0 0 28px; border: 0; gap: 14px; }
.qlt-theme-minimal .qlt-profile-topbar > div { justify-content: center; }
.qlt-theme-minimal .qlt-profile-brand__wordmark { font-weight: 900; }
.qlt-theme-minimal .qlt-profile-layout { grid-template-columns: minmax(0,1fr); padding: 0; gap: 28px; }
.qlt-theme-minimal .qlt-identity { border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.qlt-theme-minimal .qlt-profile-cover { display: none; }
.qlt-theme-minimal .qlt-identity-content { padding: 0 12px 8px; }
.qlt-theme-minimal .qlt-public-avatar { margin: 0; width: clamp(150px,32vw,260px); height: auto; aspect-ratio: 1; border: 6px solid #fff; box-shadow: none; }
.qlt-theme-minimal .qlt-identity-content > h1 { font-size: clamp(30px,6vw,48px); margin: 22px 0 10px; }
.qlt-theme-minimal .qlt-profile-handle { font-size: 20px; margin-bottom: 18px; }
.qlt-theme-minimal .qlt-profile-link-section > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.qlt-theme-minimal .qlt-public-links { margin: 0; gap: 14px; }
.qlt-theme-minimal .qlt-public-link { min-height: 70px; padding: 14px 22px; border-radius: 12px; border-color: #d5dbe5; background: #ffffffd9; box-shadow: none; font-weight: 500; }
.qlt-theme-minimal .qlt-link-symbol { background: transparent; padding: 0 8px 0 0; }
.qlt-theme-minimal .qlt-profile-footer { border: 0; padding: 26px 0 8px; }
.qlt-minimal-share { display: block; margin: 0 auto 20px; padding: 10px 26px; border: 1px solid #344054; border-radius: 8px; background: transparent; color: #172033; font: inherit; cursor: pointer; }
.qlt-minimal-share[hidden] { display: none; }

/* Immersive scene: image-led hero and visual content grid. */
body.qlt-designed-profile.qlt-theme-immersive { padding: 0; background: #090d12; color: #f6f8fb; }
.qlt-theme-immersive .qlt-profile-shell { max-width: none; border: 0; border-radius: 0; background: #0d1218; box-shadow: none; }
.qlt-theme-immersive .qlt-profile-topbar { position: absolute; z-index: 3; width: 100%; border: 0; color: #fff; background: linear-gradient(#07101bc7,transparent); }
.qlt-theme-immersive .qlt-profile-brand,.qlt-theme-immersive .qlt-profile-topbar a { color: #fff; }
.qlt-theme-immersive .qlt-profile-topbar button { border-color: #ffffff70; background: #0c1118a8; color: #fff; }
.qlt-theme-immersive .qlt-profile-layout { display: block; padding: 0; }
.qlt-theme-immersive .qlt-identity { position: relative; display: flex; align-items: flex-end; min-height: min(720px,82vh); border: 0; border-radius: 0; padding: clamp(150px,18vh,210px) clamp(24px,6vw,96px) clamp(48px,8vw,100px); box-shadow: none; }
.qlt-theme-immersive .qlt-profile-cover { position: absolute; inset: 0; height: auto; background: #111820; }
.qlt-theme-immersive .qlt-profile-cover:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#07101be8 0,#07101b7d 45%,#07101b26 75%),linear-gradient(0deg,#07101be8,transparent 55%); }
.qlt-theme-immersive .qlt-profile-cover img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.08); }
.qlt-theme-immersive .qlt-identity-content { position: relative; z-index: 2; width: min(760px,100%); padding: 0; text-align: left; color: #fff; }
.qlt-theme-immersive .qlt-identity-content.qlt-bio-width-compact { width: min(520px,100%); }
.qlt-theme-immersive .qlt-identity-content.qlt-bio-width-wide { width: min(960px,100%); }
.qlt-theme-immersive .qlt-profile-biography { width: 100%; line-height: 1.5; overflow-wrap: anywhere; }
.qlt-theme-immersive .qlt-profile-biography > * { max-width: 100%; margin-block: .8em; }
.qlt-theme-immersive .qlt-profile-biography :where(h1,h2,h3,h4,h5,h6,p,li,span,strong,em,a) { line-height: 1.35 !important; }
.qlt-theme-immersive .qlt-identity .qlt-public-avatar { width: 82px; height: 82px; margin: 0 0 20px; border: 3px solid #fff; }
.qlt-theme-immersive .qlt-identity-content > h1 { margin: 0 0 8px; font-size: clamp(42px,7vw,88px); line-height: 1.05; letter-spacing: -.045em; }
.qlt-theme-immersive .qlt-profile-handle { color: #d8dde5; font-size: 17px; }
.qlt-theme-immersive .qlt-identity-content > p:not(.qlt-profile-handle) { max-width: 560px; font-size: 18px; }
.qlt-theme-immersive .qlt-profile-biography summary { color: #fff; padding-left: 0; }
.qlt-theme-immersive .qlt-profile-primary,.qlt-theme-immersive .qlt-profile-secondary { display: inline-block; margin: 16px 10px 0 0; border-color: #fff; color: #fff; }
.qlt-theme-immersive .qlt-profile-primary { border-color: var(--qlt-accent); }
.qlt-theme-immersive .qlt-profile-link-section { padding: clamp(32px,6vw,84px); background: #0d1218; }
.qlt-theme-immersive .qlt-profile-link-section h2 { color: #fff; font-size: clamp(25px,4vw,42px); }
.qlt-theme-immersive .qlt-public-links { display: grid; grid-template-columns: 1.15fr .85fr 1.15fr; gap: 12px; }
.qlt-theme-immersive .qlt-public-link { min-height: 300px; align-items: flex-end; border: 0; border-radius: 4px; padding: 28px; background: linear-gradient(145deg,#324157,#111923); color: #fff; box-shadow: none; font-size: clamp(18px,2vw,28px); }
.qlt-theme-immersive .qlt-public-link--has-image { background-image: linear-gradient(180deg,rgba(5,10,16,.12),rgba(5,10,16,.88)),var(--qlt-link-background-image); background-position: center; background-repeat: no-repeat; background-size: cover; }
.qlt-theme-immersive .qlt-public-link:nth-child(3n+2):not(.qlt-public-link--has-image) { background: linear-gradient(160deg,#242a31,#080b0f); }
.qlt-theme-immersive .qlt-public-link:nth-child(3n):not(.qlt-public-link--has-image) { background: linear-gradient(145deg,#53677e,#172230); }
.qlt-theme-immersive .qlt-link-symbol { padding: 0; background: transparent; color: #fff; }
.qlt-theme-immersive .qlt-link-arrow { color: #fff; }
.qlt-theme-immersive .qlt-profile-extra { margin: 42px auto; color: #202633; }
.qlt-theme-immersive .qlt-profile-footer { border-color: #303944; background: #090d12; color: #aeb7c3; }
.qlt-theme-immersive .qlt-profile-footer a { color: #fff; }
@media(max-width:760px) {
 .qlt-theme-immersive .qlt-profile-topbar { padding: 18px; }
 .qlt-theme-immersive .qlt-identity { min-height: 680px; padding: 130px 22px 42px; }
 .qlt-theme-immersive .qlt-identity-content { width: 100%; }
 .qlt-theme-immersive .qlt-identity .qlt-public-avatar { width: 70px; height: 70px; }
 .qlt-theme-immersive .qlt-identity-content > h1 { font-size: clamp(38px,12vw,62px); }
 .qlt-theme-immersive .qlt-public-links { grid-template-columns: 1fr; }
 .qlt-theme-immersive .qlt-public-link { min-height: 210px; }
}
