/* FR Business Cards 1.3.3. Futurating theme tokens, no enclosing card or shadows. */
body.single-fr_business_card { margin: 0; background: var(--background,#fff); color: var(--foreground,#1a1a1a); font-family: var(--font-body,'Manrope',system-ui,sans-serif); }
.frbc-page, .frbc-page *, .frbc-page *::before, .frbc-page *::after { box-sizing: border-box; }
.frbc-page { width: 100%; max-width: 1120px; min-height: 100vh; margin: 0 auto; padding: 24px 32px 20px; color: var(--foreground,#1a1a1a); font-size: 16px; line-height: 1.6; }
.frbc-page :is(h1,h2) { color: var(--foreground,#1a1a1a); font-family: var(--font-heading,'Nata Sans',system-ui,sans-serif); font-weight: 700; overflow-wrap: anywhere; }
.frbc-page a { text-decoration: none; }
.frbc-page :is(a,button):focus-visible { outline: 2px solid var(--accent,#3f7cdf); outline-offset: 3px; }
.frbc-page .frbc-icon { display: block; width: 20px; height: 20px; flex: 0 0 20px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.frbc-brand-icon { display: block; width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; }
/* Language control is anchored to the card's opening block, never to the viewport. */
.frbc-page .frbc-languages { position: absolute; top: 0; right: 0; z-index: 1; display: flex; gap: 2px; width: max-content; max-width: 100%; margin: 0; padding: 4px; border-radius: var(--radius-xl,12px); background: var(--secondary,#f8f8f8); }
.frbc-page .frbc-languages .fr-section-tabs__item { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 8px 12px; border-radius: var(--radius,8px); color: var(--foreground,#1a1a1a); font-size: 13px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.frbc-page .frbc-languages .fr-section-tabs__item.is-active { background: var(--background,#fff); }
.frbc-layout { position: relative; display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: 64px; align-items: start; padding-top: 64px; }
.frbc-person, .frbc-details { min-width: 0; }
.frbc-photo { width: 144px; height: 144px; margin: 0 0 24px; border-radius: 24px; overflow: hidden; background: var(--secondary,#f8f8f8); color: var(--muted-foreground,#888); }
.frbc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frbc-photo > span { height: 100%; display: grid; place-items: center; }
.frbc-photo .frbc-icon { width: 64px; height: 64px; }
.frbc-person h1 { margin: 0 0 12px; font-size: clamp(26px,3vw,36px); line-height: 1.2; letter-spacing: -.02em; }
.frbc-position { margin: 0 0 24px; color: var(--foreground,#1a1a1a); font-size: 16px; line-height: 1.6; }
.frbc-contacts { display: grid; gap: 8px; margin: 0 0 12px; }
.frbc-contacts:empty { display: none; }
.frbc-contact { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 0; color: var(--foreground,#1a1a1a); }
.frbc-contact > span { min-width: 0; }
.frbc-contact > .frbc-icon { color: var(--accent,#3f7cdf); }
.frbc-contact__label { display: block; font-size: 13px; color: var(--muted-foreground,#888); }
.frbc-contact__value { display: block; overflow-wrap: anywhere; font-weight: 500; }
.frbc-contact:hover .frbc-contact__value { color: var(--accent-hover,#2e5fbf); }
.frbc-page .frbc-socials-label { margin: 18px 0 8px; color: var(--muted-foreground,#888); font-size: 13px; font-weight: 600; line-height: 1.5; }
.frbc-socials { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 16px; }
.frbc-socials > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; color: var(--foreground,#1a1a1a); font-size: 14px; }
.frbc-socials > a:hover { color: var(--accent-hover,#2e5fbf); }
.frbc-page .fr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; max-width: 100%; padding: 12px 18px; border: 1px solid var(--border,#e5e5e5); border-radius: var(--radius-xl,12px); box-shadow: none; font: inherit; font-size: 15px; font-weight: 500; line-height: 1.45; text-align: center; white-space: normal; transition: background-color .18s ease,color .18s ease; }
.frbc-page .fr-btn > span { min-width: 0; overflow-wrap: anywhere; }
.frbc-page .fr-btn--primary { color: #fff; background: var(--accent,#3f7cdf); border-color: var(--accent,#3f7cdf); }
.frbc-page .fr-btn--primary:hover { background: var(--accent-hover,#2e5fbf); border-color: var(--accent-hover,#2e5fbf); }
.frbc-page .fr-btn--secondary { color: var(--foreground,#1a1a1a); background: var(--background,#fff); }
.frbc-page .fr-btn--secondary:hover { background: var(--secondary,#f8f8f8); }
.frbc-page .frbc-save { width: 100%; margin-top: 8px; }
.frbc-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; color: var(--accent-hover,#2e5fbf); font-weight: 500; font-size: 15px; line-height: 1.5; }
.frbc-text-link > span { min-width: 0; overflow-wrap: anywhere; }
.frbc-text-link:hover > span { text-decoration: underline; text-underline-offset: 3px; }
.frbc-profile { margin-top: 16px; }
.frbc-section { padding: 32px 0; border-top: 1px solid var(--border,#e5e5e5); }
.frbc-section:first-child { padding-top: 0; border-top: 0; }
.frbc-section:last-child { padding-bottom: 0; }
.frbc-section h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.35; letter-spacing: -.01em; }
.frbc-section p { margin: 0 0 16px; font-size: 15px; color: var(--foreground,#1a1a1a); line-height: 1.7; overflow-wrap: anywhere; }
.frbc-platform-actions { display: grid; gap: 10px; margin: 24px 0 8px; }
.frbc-platform-actions .fr-btn { width: 100%; justify-content: flex-start; text-align: left; }
.frbc-platform-actions .fr-btn > span { flex: 1; }
.frbc-marketplaces { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.frbc-marketplaces .fr-btn { flex: 1 1 190px; font-size: 14px; }
.frbc-marketplaces .frbc-brand-icon { width: 32px; height: 32px; flex-basis: 32px; }
.frbc-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 20px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border,#e5e5e5); font-size: 13px; }
.frbc-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--foreground,#1a1a1a); }
.frbc-footer a:hover { text-decoration: underline; }
@media (max-width: 900px) {
 .frbc-layout { gap: 36px; }
 .frbc-page { padding-inline: 24px; }
}
@media (max-width: 640px) {
 .frbc-page { padding: 16px 20px 20px; }
 .frbc-page .frbc-languages { padding: 3px; }
 .frbc-page .frbc-languages .fr-section-tabs__item { min-width: 38px; min-height: 36px; padding: 7px 8px; }
 .frbc-layout { grid-template-columns: minmax(0,1fr); gap: 36px; padding-top: 56px; }
 .frbc-person { display: flex; flex-direction: column; align-items: stretch; }
 .frbc-photo { width: 124px; height: 124px; margin: 0 auto 20px; border-radius: 50%; }
 .frbc-photo > span { color: var(--accent,#3f7cdf); background: var(--accent-light,#e9f2ff); }
 .frbc-photo .frbc-icon { width: 60px; height: 60px; }
 .frbc-person h1 { font-size: 29px; line-height: 1.22; text-align: center; margin-bottom: 8px; }
 .frbc-position { max-width: 440px; margin: 0 auto 22px; font-size: 15px; text-align: center; color: var(--muted-foreground,#888); }
 .frbc-contacts { gap: 10px; width: 100%; margin: 0 0 14px; }
 .frbc-contact { min-height: 66px; padding: 10px 14px; border-radius: var(--radius-xl,12px); background: var(--secondary,#f8f8f8); }
 .frbc-contact__label { font-size: 12px; }
 .frbc-contact__value { font-size: 15px; }
 .frbc-person .frbc-socials-label { text-align: center; }
 .frbc-person .frbc-socials { display: flex; justify-content: center; gap: 8px; width: 100%; margin: 0 0 20px; }
 .frbc-details .frbc-socials { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; width: 100%; margin: 0 0 20px; }
 .frbc-person .frbc-socials > a, .frbc-details .frbc-socials > a { min-width: 0; width: 100%; min-height: 72px; max-width: none; padding: 12px 6px 10px; flex-direction: column; justify-content: center; gap: 8px; border-radius: var(--radius-xl,12px); background: var(--secondary,#f8f8f8); font-size: 12px; line-height: 1.25; text-align: center; overflow-wrap: anywhere; }
 .frbc-person .frbc-socials > a { flex: 0 1 108px; }
 .frbc-person .frbc-socials .frbc-brand-icon, .frbc-details .frbc-socials .frbc-brand-icon { width: 26px; height: 26px; flex-basis: 26px; }
 .frbc-page .frbc-save { margin-top: 0; min-height: 52px; }
 .frbc-profile { align-self: center; margin-top: 12px; }
 .frbc-details { padding-top: 30px; border-top: 1px solid var(--border,#e5e5e5); }
 .frbc-section { padding: 30px 0; }
 .frbc-section h2 { font-size: 22px; }
 .frbc-platform-actions { gap: 10px; margin-top: 22px; }
 .frbc-platform-actions .fr-btn { min-height: 52px; }
 .frbc-details .frbc-socials > a { padding: 12px 4px; }
 .frbc-marketplaces { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .frbc-marketplaces .fr-btn { display: flex; flex-direction: column; min-height: 102px; padding: 14px 8px; gap: 8px; font-size: 13px; line-height: 1.35; }
 .frbc-marketplaces .frbc-brand-icon { width: 32px; height: 32px; flex-basis: 32px; }
 .frbc-footer { justify-content: center; margin-top: 24px; }
}
@media (max-width: 380px) {
 .frbc-page { padding-inline: 16px; }
 .frbc-person h1 { font-size: 27px; }
 .frbc-person .frbc-socials > a, .frbc-details .frbc-socials > a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .frbc-page .fr-btn { transition: none; } }
