/* Layouts for the public catalogue, business, support, account access and checkout. */
.fd-ui :is(.page, .mail-page, .dp-page, .arts, .faq-page) { padding-top: 56px; padding-bottom: 72px; }
.fd-ui :is(.intro, .mail-hero, .dp-hero, .faq-hero, .arts-head, .headline, .guide-hero) {
  text-align: left; background: none; border: 0; border-radius: 0; box-shadow: none;
  padding: 0 0 32px; margin: 0 0 32px; border-bottom: 1px solid var(--fd-border);
}
.fd-ui :is(.intro, .mail-hero, .dp-hero, .faq-hero, .arts-head, .headline, .guide-hero) h1 {
  margin: 0 0 20px; max-width: 23ch; font-weight: 550; background: none; -webkit-text-fill-color: currentColor;
}
.fd-ui :is(.intro, .mail-hero, .dp-hero, .faq-hero, .arts-head, .headline, .guide-hero) > p {
  margin: 0; max-width: 65ch; color: var(--fd-secondary); text-align: left; line-height: 1.75;
}
.fd-ui :is(.mail-hero, .faq-hero) > :is(.mail-kicker, .faq-kicker) { margin-bottom: 16px; color: var(--fd-link); }

/* Catalogue: consistent columns and specs aligned as rows instead of nested cards. */
.fd-ui.offers-page .page { max-width: var(--fd-container); padding-inline: var(--fd-gutter); }
.fd-ui.offers-page .hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); padding: 0 0 40px; gap: 48px; margin-bottom: 40px; border-bottom: 1px solid var(--fd-border); }
.fd-ui.offers-page .hero h1 { margin: 20px 0; font-weight: 550; }
.fd-ui.offers-list .hero { display: block; }
.fd-ui.offers-page .hero .badge { padding: 0; border: 0; background: none; border-radius: 0; color: var(--fd-link); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 550; }
.fd-ui.offers-page .hero-points { display: flex; flex-wrap: wrap; gap: 24px; }
.fd-ui.offers-page .hero-point { flex: 1 1 200px; padding: 12px 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.fd-ui.offers-page .hero-point-icon { width: 22px; height: 22px; background: none; border: 0; border-radius: 0; flex-shrink: 0; }
.fd-ui.offers-page .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fd-ui.offers-page .offer-card .card-body { padding: 24px; }
.fd-ui.offers-page .offer-card-title { font-size: 1.125rem; font-weight: 600; }
.fd-ui.offers-page .card-desc { font-size: .875rem; line-height: 1.75; }
.fd-ui.offers-page .offer-card-pill { box-shadow: none; backdrop-filter: none; }
.fd-ui.offers-page .offer-card-foot { align-items: flex-start; flex-wrap: wrap; }
.fd-ui.offers-page .offer-card-go { color: var(--fd-link); font-size: .8125rem; font-weight: 500; }
.fd-ui.offers-page .pack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.fd-ui.offers-page .pack-card { border-radius: 8px; }
.fd-ui.offers-page .pack-card.pack-reco { border-color: #5a8fdf; box-shadow: none; }
.fd-ui.offers-page .pack-body { padding: 24px; gap: 16px; }
.fd-ui.offers-page .pack-top { grid-template-columns: 1fr; gap: 16px; }
.fd-ui.offers-page .pack-head h3 { font-size: 1.125rem; }
.fd-ui.offers-page .pack-price { justify-self: start; font-weight: 550; white-space: normal; }
.fd-ui.offers-page .pack-price .price-line { flex-wrap: wrap; }
.fd-ui.offers-page .pack-price .new-price { color: var(--fd-text); text-shadow: none; font-weight: 550; }
.fd-ui.offers-page .pack-note { font-size: .8125rem; line-height: 1.7; min-height: 0; }
.fd-ui.offers-page .spec-row { gap: 0; border-top: 1px solid var(--fd-border); }
.fd-ui.offers-page .spec-chip { background: none; border: 0; border-bottom: 1px solid var(--fd-border); border-radius: 0; padding: 12px 0; min-height: 0; box-shadow: none; align-items: center; }
.fd-ui.offers-page .spec-icon { background: none; border: 0; border-radius: 0; width: 20px; height: 20px; flex-shrink: 0; }
.fd-ui.offers-page .spec-icon svg { width: 16px; height: 16px; fill: var(--fd-muted); }
.fd-ui.offers-page .spec-text { display: flex; flex: 1; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; min-width: 0; }
.fd-ui.offers-page .spec-label { font-size: .75rem; font-weight: 400; }
.fd-ui.offers-page .spec-value { font-size: .8125rem; font-weight: 550; text-align: right; overflow-wrap: anywhere; }
.fd-ui.offers-page .pack-actions { gap: 8px; padding-top: 8px; }
.fd-ui.offers-page .pack-actions .btn { width: 100%; margin: 0; }
.fd-ui.offers-page :is(.pack-flag, .discount-badge, .stock-badge, .discount-tag) { border-radius: 4px; padding: 5px 8px; font-weight: 550; font-size: .6875rem; box-shadow: none; background: #164b99; color: #fff; }
.fd-ui.offers-page .stock-badge { background: #48282d; color: var(--fd-danger); }
.fd-ui.offers-page .feature-chip { border: 0; border-radius: 0; padding: 4px 0; background: none; color: var(--fd-secondary); font-size: .8125rem; font-weight: 400; }
.fd-ui.offers-page .feature-chips { flex-direction: column; }
.fd-ui.offers-page .include-chip { background: none; border: 0; border-radius: 0; padding: 0; font-size: .8125rem; font-weight: 400; }
.fd-ui.offers-page .includes { gap: 16px 24px; }

/* VPS: compact comparable columns, separate price and resource groups. */
.fd-vps .intro { display: block; }
.fd-vps .intro h1 { max-width: 22ch; }
.fd-vps .intro > p { margin-top: 20px; }
.fd-vps .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fd-vps .plan { min-height: 0; overflow: hidden; }
.fd-vps .plan.is-featured { border-color: #5a8fdf; box-shadow: none; }
.fd-vps .plan-top { padding: 24px 20px; background: #192332; border-bottom: 1px solid var(--fd-border); }
.fd-vps .plan-name { font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.fd-vps .from { font-size: .6875rem; font-weight: 400; color: var(--fd-muted); margin-bottom: 8px; }
.fd-vps .price { color: #fff; font-size: 1.875rem; font-weight: 550; }
.fd-vps .period { color: var(--fd-muted); font-size: .75rem; font-weight: 400; }
.fd-vps .plan-cta { padding: 20px; border: 0; }
.fd-vps .specs { padding: 0 20px 20px; gap: 0; }
.fd-vps .s { padding: 10px 0; border-bottom: 1px solid var(--fd-border); gap: 8px; font-size: .8125rem; color: var(--fd-secondary); line-height: 1.5; }
.fd-vps .s:last-child { border: 0; }
.fd-vps .s strong { font-weight: 500; color: var(--fd-text); }
/* The script prints "v" / "+" as markers: draw real glyphs instead. */
.fd-vps .s .v {
  flex: none; width: 14px; height: 14px; margin-top: 3px; overflow: hidden; font-size: 0; color: var(--fd-muted);
  background: currentColor; -webkit-mask: var(--fd-ico-check) center / contain no-repeat; mask: var(--fd-ico-check) center / contain no-repeat;
}
.fd-vps .plan-gift, .fd-vps .plan-gift strong { color: var(--fd-text); font-weight: 500; }
.fd-vps .plan-gift .v { color: var(--fd-link); -webkit-mask-image: var(--fd-ico-plus); mask-image: var(--fd-ico-plus); }
.fd-vps .plan:not(.is-featured) .plan-cta .btn { background: #202b39; border-color: var(--fd-border-strong); }
.fd-vps .plan:not(.is-featured) .plan-cta .btn:hover { background: var(--fd-surface-hover); border-color: #6c819b; }
.fd-vps .vps-footnote { max-width: 100ch; margin-top: 24px; font-size: .75rem; line-height: 1.7; color: var(--fd-muted); }
.fd-vps .plan--loading { min-height: 240px; }

/* Friday Pro: strong typography, functional service preview, fewer frames. */
.fd-pro .wrap { padding-top: 0; }
.fd-pro .hero { grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 64px 0; }
.fd-pro .hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 550; line-height: 1.15; letter-spacing: -.03em; margin: 0 0 24px; }
.fd-pro .hero .mark { color: var(--fd-link); }
.fd-pro .hero .lead { font-size: 1rem; }
.fd-pro .hero-checks { gap: 16px; color: var(--fd-secondary); font-size: .75rem; }
.fd-pro .board { background: var(--fd-surface); padding: 24px; border: 1px solid var(--fd-border-strong); border-radius: 8px; box-shadow: none; }
.fd-pro .board-title { font-size: .875rem; font-weight: 550; }
.fd-pro .board-pill { border: 0; border-radius: 0; padding: 0; color: var(--fd-muted); font-size: .6875rem; font-weight: 400; }
.fd-pro .svc { border: 0; border-bottom: 1px solid var(--fd-border); border-radius: 0; background: none; padding: 16px 0; margin: 0; }
.fd-pro .svc strong { font-size: .8125rem; font-weight: 500; }
.fd-pro .svc .ms { color: var(--fd-muted); }
.fd-pro .svc .dot { width: 5px; height: 5px; box-shadow: none; }
.fd-pro .uptime-head { gap: 12px; font-size: .6875rem; }
.fd-pro .board-foot { font-size: .75rem; color: var(--fd-secondary); }
.fd-pro .trust { border: 0; border-block: 1px solid var(--fd-border); border-radius: 0; background: none; margin-bottom: var(--fd-section); }
.fd-pro .trust div { font-size: .75rem; padding: 20px 16px; }
.fd-pro .trust div:first-child { padding-left: 0; }
.fd-pro section { margin-bottom: var(--fd-section); }
.fd-pro .hero { margin-bottom: 0; }
.fd-pro .tabs { background: none; border: 0; border-bottom: 1px solid var(--fd-border); border-radius: 0; padding: 0; gap: 4px; }
.fd-pro .tabs button { padding: 10px 16px; min-height: 44px; border-radius: 0; border-bottom: 2px solid transparent; color: var(--fd-muted); font-size: .875rem; font-weight: 500; }
.fd-pro .tabs button[aria-selected="true"] { background: none; border-bottom-color: var(--fd-link); color: #fff; }
.fd-pro .plan { padding: 28px; border-radius: 8px; }
.fd-pro .plan.reco { border-color: #5a8fdf; box-shadow: none; }
.fd-pro .plan .flag { background: #174b98; border-radius: 4px; font-weight: 550; font-size: .625rem; letter-spacing: .06em; padding: 5px 8px; left: 28px; }
.fd-pro .plan .price { font-size: 2.25rem; font-weight: 550; }
.fd-pro .plan .price small { font-size: .8125rem; font-weight: 400; }
.fd-pro .plan ul { gap: 0; }
.fd-pro .plan li { padding: 9px 0; border-bottom: 1px solid var(--fd-border); font-size: .8125rem; }
.fd-pro .plan li:last-child { border: 0; }
.fd-pro .plan:not(.reco) .btn { background: #202b39; color: #fff; border-color: var(--fd-border-strong); }
.fd-pro .plan:not(.reco) .btn:hover { background: var(--fd-surface-hover); border-color: #6c819b; }
.fd-pro .sup { border: 0; border-block: 1px solid var(--fd-border); border-radius: 0; background: none; padding: 40px 0; gap: 56px; }
.fd-pro .step { border: 0; border-bottom: 1px solid var(--fd-border); border-radius: 0; background: none; padding: 16px 0; }
.fd-pro .step .num { border-radius: 0; background: none; color: var(--fd-link); font-weight: 400; justify-content: start; width: 24px; }
.fd-pro .step strong { font-size: .875rem; font-weight: 550; margin-bottom: 4px; }
.fd-pro .step span { font-size: .8125rem; }
.fd-pro .perks { gap: 32px; }
.fd-pro .perk { padding: 24px 0 0; border: 0; border-top: 1px solid var(--fd-border); border-radius: 0; background: none; }
.fd-pro .perk h3 { font-size: 1rem; }
.fd-pro .perk p { font-size: .875rem; line-height: 1.75; }
.fd-pro .faq summary { font-size: .875rem; font-weight: 500; }
.fd-pro .faq details p { font-size: .875rem; line-height: 1.75; }
.fd-pro .final { text-align: left; padding: 40px; border-left: 3px solid var(--fd-accent); }
.fd-pro .final .lead { margin-left: 0; }
.fd-pro .final .hero-actions { justify-content: flex-start; }

/* Messaging: benefits are an editorial list; plans keep comparable dimensions. */
.fd-mail .mail-page { gap: 32px; }
.fd-mail .mail-hero { padding: 0 0 36px; margin-bottom: 0; }
.fd-mail .mail-hero h1 { max-width: 19ch; }
.fd-mail .mail-section-title { font-size: 1.375rem; text-align: left; margin: 8px 0; }
.fd-mail .mail-section-sub { text-align: left; font-size: .875rem; color: var(--fd-secondary); margin: 0; }
.fd-mail .mail-advantages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.fd-mail .mail-adv-card { border: 0; border-top: 1px solid var(--fd-border); border-radius: 0; box-shadow: none; background: none; padding: 24px 0; }
.fd-mail .mail-adv-card:hover { transform: none; box-shadow: none; }
.fd-mail .mail-adv-ico { display: block; width: 24px; height: 24px; padding: 0; background: none; border: 0; color: var(--fd-link); border-radius: 0; box-shadow: none; font-size: 1.2rem; margin-bottom: 16px; }
.fd-ui :is(.mail-adv-ico, .dp-feature-icon) svg { display: block; width: 24px; height: 24px; }
.fd-mail .mail-adv-card h3 { font-size: 1rem; }
.fd-mail .mail-adv-card p { color: var(--fd-secondary); font-size: .8125rem; line-height: 1.75; }
.fd-mail .mail-pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fd-mail .mail-price-card { position: relative; overflow: visible; text-align: left; padding: 28px; display: flex; flex-direction: column; align-items: stretch; }
.fd-mail .mail-price-card.reco { border-color: #5a8fdf; transform: none; box-shadow: none; }
.fd-mail .mail-price-card.reco::before { display: none; }
.fd-mail .mail-price-card.reco .mail-price-cta a { background: var(--fd-accent); border-color: var(--fd-accent); box-shadow: none; }
.fd-mail .mail-price-card.reco .mail-price-cta a:hover { background: var(--fd-accent-hover); border-color: var(--fd-accent-hover); }
.fd-mail .mail-price-card h3 { font-size: 1.125rem; margin-bottom: 24px; }
.fd-mail .mail-price-tag { top: -11px; left: 28px; right: auto; padding: 3px 8px; border: 0; border-radius: 4px; font-size: .6875rem; line-height: 1.5; font-weight: 550; letter-spacing: 0; background: #174b98; color: #fff; box-shadow: none; }
.fd-mail .mail-space { color: var(--fd-secondary); font-size: .875rem; margin: 0 0 12px; }
.fd-mail .mail-price { font-size: 2.25rem; font-weight: 550; color: #fff; margin-bottom: 24px; }
.fd-mail .mail-price span { color: var(--fd-muted); font-size: .8125rem; font-weight: 400; letter-spacing: 0; }
.fd-mail .mail-price-cta { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--fd-border); }
.fd-mail .mail-price-cta a { width: 100%; }
.fd-mail .mail-price-card:not(.reco) .mail-price-cta a { background: #202b39; border-color: var(--fd-border-strong); }
.fd-mail .mail-price-card:not(.reco) .mail-price-cta a:hover { background: var(--fd-surface-hover); border-color: #6c819b; }
.fd-mail .mail-actions { justify-content: flex-start; border-top: 1px solid var(--fd-border); padding-top: 28px; }

/* Domains: give the search form a clear, permanent label and a stable result area. */
.fd-domain .dp-hero { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.fd-domain .dp-hero h1 { max-width: 18ch; }
.fd-domain .dp-hero .dp-lead { margin: 0 0 28px; }
.fd-domain #cd-form { max-width: 760px; }
.fd-domain .dp-search-wrap { max-width: none; margin: 8px 0 20px; gap: 12px; }
.fd-domain .dp-input { height: 44px; font-weight: 400; }
.fd-domain .dp-chips { justify-content: flex-start; gap: 8px; }
/* The page forces a centred 4-column grid with !important; a left-aligned wrap needs the same weight. */
.fd-domain #dp-tld-chips { display: flex !important; flex-wrap: wrap; justify-content: flex-start; max-width: 760px; margin-inline: 0; }
.fd-domain .dp-chip { background: none; border: 1px solid var(--fd-border); border-radius: 4px; padding: 6px 10px; font-size: .75rem; font-weight: 500; box-shadow: none; }
.fd-domain .dp-hero > .dp-price-note { text-align: left; font-size: .75rem; margin-top: 14px; color: var(--fd-muted); }
.fd-domain .dp-features { gap: 32px; margin-top: 56px; }
.fd-domain .dp-feature-card { background: none; border: 0; border-top: 1px solid var(--fd-border); border-radius: 0; padding: 24px 0; box-shadow: none; }
.fd-domain .dp-feature-icon { display: block; width: 24px; height: 24px; background: none; border: 0; border-radius: 0; color: var(--fd-link); margin: 0 0 20px; font-size: 1.25rem; }
.fd-domain .dp-feature-card h3 { font-size: 1rem; }
.fd-domain .dp-feature-card p { font-size: .875rem; line-height: 1.75; color: var(--fd-secondary); }
.fd-domain :is(.dp-result, .dp-row, .dp-selected) { border-radius: 8px; box-shadow: none; }

/* Support: a label column with questions in a separate reading column. */
.fd-faq .faq-page { display: block; }
.fd-faq .faq-hero { border-bottom: 0; margin-bottom: 8px; }
.fd-faq .faq-item summary::after { right: 4px; color: var(--fd-muted); font-size: 1.125rem; font-weight: 400; }
.fd-faq .faq-item[open] summary::after { content: "\2212"; }
.fd-faq .faq-item:last-child { border-bottom: 0; }
.fd-faq .faq-group { display: grid; grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr); gap: 0 64px; border: 0; border-top: 1px solid var(--fd-border); border-radius: 0; background: none; padding: 32px 0; box-shadow: none; }
.fd-faq .faq-group h2 { grid-column: 1; grid-row: 1 / span 20; font-size: 1.125rem; line-height: 1.4; margin: 12px 0; color: var(--fd-text); }
.fd-faq .faq-item { grid-column: 2; border: 0; border-bottom: 1px solid var(--fd-border); border-radius: 0; background: none; }
.fd-faq .faq-item + .faq-item { margin: 0; }
.fd-faq .faq-item summary { min-height: 48px; padding: 16px 28px 16px 0; font-size: .875rem; font-weight: 500; }
.fd-faq .faq-answer { padding: 0 24px 20px 0; font-size: .875rem; line-height: 1.75; color: var(--fd-secondary); }
.fd-faq .faq-contact { margin-top: 24px; background: var(--fd-bg-alt); border: 1px solid var(--fd-border); border-radius: 8px; box-shadow: none; }

/* Guides and legal content: comfortable measure and native text semantics. */
.fd-articles .arts-tools { margin: 0 0 24px; gap: 16px; }
.fd-articles .arts-search { border-radius: 6px; background: #101720; padding: 0 12px; }
.fd-articles .arts-search input { border: 0; background: none; box-shadow: none; }
.fd-articles .arts-chip { min-height: 40px; border: 1px solid var(--fd-border); border-radius: 6px; padding: 8px 12px; color: var(--fd-secondary); font-weight: 500; font-size: .8125rem; }
.fd-articles .arts-chip.is-active { border-color: #5a8fdf; background: #183254; color: #fff; }
.fd-articles .arts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.fd-articles .art-card { padding: 28px 0; background: none; border: 0; border-top: 1px solid var(--fd-border); border-radius: 0; box-shadow: none; }
.fd-articles .art-card h2 { font-size: 1.2rem; line-height: 1.4; }
.fd-articles .art-card p { font-size: .875rem; line-height: 1.75; color: var(--fd-secondary); }
.fd-articles :is(.art-tag, .art-date) { font-size: .6875rem; background: none; border: 0; border-radius: 0; padding: 0; color: var(--fd-muted); }
.fd-ui.fd-legal main, .fd-ui .guide-page { max-width: 900px; margin: 0 auto; padding: 56px var(--fd-gutter) 80px; background: none; border: 0; box-shadow: none; border-radius: 0; }
.fd-ui.fd-legal main h1 { max-width: 25ch; margin: 0 0 32px; text-align: left; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.fd-ui.fd-legal main section, .fd-ui .guide-block { background: none; border: 0; border-top: 1px solid var(--fd-border); border-radius: 0; box-shadow: none; padding: 28px 0; margin: 0; }
.fd-ui.fd-legal main h2, .fd-ui .guide-block h2 { font-size: 1.375rem; margin: 0 0 20px; }
.fd-ui.fd-legal main :is(p, li), .fd-ui .guide-block :is(p, li) { color: var(--fd-secondary); line-height: 1.85; font-size: .9375rem; text-align: left; }
.fd-ui.fd-legal main :is(ul, ol), .fd-ui .guide-block :is(ul, ol) { padding-left: 24px; list-style: revert; }
.fd-ui.fd-legal main a, .fd-ui .guide-page a { color: var(--fd-link); text-decoration: underline; text-underline-offset: 3px; }
.fd-ui.fd-legal .toc { padding: 20px 24px; border: 0; border-left: 2px solid var(--fd-accent); border-radius: 0; background: var(--fd-bg-alt); }
.fd-ui.fd-legal :is(pre, code), .fd-ui .guide-page :is(pre, code) { max-width: 100%; overflow-wrap: anywhere; }
.fd-ui.fd-legal pre, .fd-ui .guide-page pre { overflow-x: auto; padding: 20px; border: 1px solid var(--fd-border); background: #090f17; }
.fd-history .page { gap: 32px; }
.fd-history .headline { margin-bottom: 0; }
.fd-history .team-grid { gap: 24px; }
.fd-history .team-card { background: none; border: 0; border-top: 1px solid var(--fd-border); border-radius: 0; box-shadow: none; padding: 24px 0; transform: none; }
.fd-history .team-card:hover { transform: none; box-shadow: none; }
.fd-history .avatar { border-radius: 8px; box-shadow: none; border: 1px solid var(--fd-border); }
.fd-history .timeline { gap: 0; padding: 0; }
.fd-history .timeline-line, .fd-history .timeline-item > .dot { display: none; }
.fd-history .timeline-item { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 40px; border-top: 1px solid var(--fd-border); padding: 28px 0; }
.fd-history .timeline-badge, .fd-history .timeline-item:nth-child(even) .timeline-badge { grid-column: 1; text-align: left; padding: 0; justify-self: start; }
.fd-history .badge-box { background: none; border: 0; border-radius: 0; box-shadow: none; color: var(--fd-link); font-size: .8125rem; padding: 0; }
.fd-history .timeline-card, .fd-history .timeline-item:nth-child(even) .timeline-card { grid-column: 2; grid-row: 1; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; }
.fd-history .timeline-card h3 { font-size: 1.125rem; }
.fd-history .timeline-card p { color: var(--fd-secondary); font-size: .875rem; line-height: 1.75; }

/* Authentication stays compact, with exactly the existing IDs and form behavior. */
body.fd-ui.fd-auth { display: flex; min-height: 100svh; align-items: center; justify-content: center; padding: 40px 20px; }
.fd-ui.fd-auth .login-container { width: 100%; max-width: 460px; padding: 36px; background: var(--fd-bg-alt); border: 1px solid var(--fd-border); border-top: 2px solid var(--fd-accent); border-radius: 10px; box-shadow: none; text-align: left; }
.fd-ui.fd-auth .logo { justify-content: flex-start; margin: 0 0 16px; }
.fd-ui.fd-auth .logo img { filter: none; width: 32px; }
.fd-ui.fd-auth .logo h1 { margin: 0; font-size: 1.6rem; font-weight: 600; }
.fd-ui.fd-auth h2 { margin: 28px 0 12px; font-size: 1.4rem; }
.fd-ui.fd-auth .subtitle { color: var(--fd-secondary); font-size: .875rem; margin-bottom: 28px; }
.fd-ui.fd-auth :is(.btn-back, .forgot, .register a) { color: var(--fd-link); font-size: .8125rem; font-weight: 500; }
.fd-ui.fd-auth :is(.btn-back, .forgot, .register a):hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.fd-ui.fd-auth .btn-back { display: inline-flex; align-items: center; min-height: 32px; margin: 0; padding: 0; background: none; border: 0; border-radius: 4px; transform: none; }
.fd-ui.fd-auth .btn-back:hover { background: none; transform: none; }
.fd-ui.fd-auth .subtitle, .fd-ui.fd-auth .register { font-weight: 400; }
.fd-ui.fd-auth .forgot { float: none; }
.fd-ui.fd-auth .oauth-separator::before, .fd-ui.fd-auth .oauth-separator::after { background: var(--fd-border); }
.fd-ui.fd-auth .login-container label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; font-size: .8125rem; color: var(--fd-secondary); }
.fd-ui.fd-auth .login-container input:not([type=checkbox]):not([type=hidden]) { width: 100%; min-height: 44px; }
.fd-ui.fd-auth .login-container .checkbox-container { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 16px 0; font-size: .8125rem; }
.fd-ui.fd-auth .checkbox-container label { margin: 0; }
.fd-ui.fd-auth .login-container .toggle-password-btn { width: 40px; height: 40px; min-height: 0; padding: 8px; background: transparent; border: 0; border-radius: 4px; box-shadow: none; color: var(--fd-muted); }
.fd-ui.fd-auth :is(.btn-primary, .btn-discord) { width: 100%; min-height: 44px; }
.fd-ui.fd-auth .btn-discord { margin-top: 0; }
.fd-ui.fd-auth .oauth-separator { margin: 24px 0; color: var(--fd-muted); font-size: .75rem; }
.fd-ui.fd-auth .register { font-size: .8125rem; line-height: 1.65; color: var(--fd-secondary); margin-top: 24px; }
.fd-ui.fd-auth hr { border: 0; border-top: 1px solid var(--fd-border); margin: 24px 0 0; }
.fd-ui.fd-auth .login-box > hr:last-child { display: none; }
.fd-ui.fd-auth .btn-pro-link {
  display: flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 16px; padding: 9px 16px;
  border: 1px solid var(--fd-border); border-radius: var(--fd-radius); color: var(--fd-secondary);
  font-size: .8125rem; font-weight: 500; transition: border-color var(--fd-transition), color var(--fd-transition);
}
.fd-ui.fd-auth .btn-pro-link:hover { border-color: var(--fd-border-strong); color: #fff; }

/* Transaction screens: visual changes only; ordering and payment scripts stay intact. */
.fd-checkout :is(.cmd-page, .vps-shell, .pay-shell, .payment-page) { width: 100%; max-width: 1200px; padding: 48px var(--fd-gutter) 72px; margin-inline: auto; }
.fd-checkout :is(.order-card, .pay-card, .panel, .method-card, .commande-summary) { border: 1px solid var(--fd-border); border-radius: 8px; background: var(--fd-surface); box-shadow: none; }
.fd-checkout :is(.cmd-btn, .order-btn, .pay-btn) { min-height: 40px; border: 1px solid var(--fd-border-strong); border-radius: 6px; padding: 9px 16px; font: 550 .875rem/1.4 "Inter", sans-serif; box-shadow: none; transform: none; color: #fff; background: #202b39; }
.fd-checkout .pay-summary-row { gap: 8px; }
.fd-checkout .pay-summary-row > strong { flex: none; white-space: nowrap; }
.fd-checkout :is(.cta-strong, .order-btn-main) { background: var(--fd-accent); border-color: var(--fd-accent); }
.fd-checkout :is(.pay-btn-main, .pay-btn-stripe) { color: #fff; background: var(--fd-accent); border-color: var(--fd-accent); }
.fd-checkout :is(.order-btn-soft, .pay-btn-credit) { color: var(--fd-text); background: #202b39; border-color: var(--fd-border-strong); }
.fd-checkout :is(.order-btn-danger, .btn-red) { color: #ffd3db; background: #321c22; border-color: #73414a; }
.fd-checkout :is(.cmd-btn, .order-btn, .pay-btn) { transition: color var(--fd-transition), background-color var(--fd-transition), border-color var(--fd-transition); }
.fd-checkout .order-btn-main:hover:not(:disabled), .fd-checkout :is(.pay-btn-main, .pay-btn-stripe):hover:not(:disabled), .fd-checkout .cta-strong:hover:not(:disabled) { color: #fff; background: var(--fd-accent-hover); border-color: var(--fd-accent-hover); }
.fd-checkout :is(.order-btn-soft, .pay-btn-credit):hover:not(:disabled) { color: #fff; background: var(--fd-surface-hover); border-color: var(--fd-border-strong); }
.fd-checkout :is(.order-btn-danger, .btn-red):hover:not(:disabled) { color: #fff; background: #8e2938; border-color: #a63d4b; }
.fd-checkout .payment-hero { text-align: left; }
.fd-checkout .payment-hero h1 { max-width: 24ch; }
.fd-checkout .payment-hero p { margin-left: 0; max-width: 65ch; color: var(--fd-secondary); }
.fd-checkout .payment-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; }
.fd-checkout .payment-layout > * { min-width: 0; }
.fd-checkout .quick-amounts button { border-radius: 6px; min-height: 40px; font-size: .875rem; box-shadow: none; }
.fd-checkout :is(.vps-modal-card, .cmd-created-card) { max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: var(--fd-surface); border-radius: 10px; border-color: var(--fd-border-strong); box-shadow: var(--shadow-lg); }
.fd-error main.hero { min-height: calc(100svh - 200px); max-width: 800px; padding: 80px var(--fd-gutter); margin: 0 auto; align-items: flex-start; text-align: left; }
.fd-error main.hero h1 { margin-bottom: 24px; }
@media (max-width: 1000px) {
  .fd-vps .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-ui.offers-page .grid, .fd-ui.offers-page .pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fd-pro .hero { gap: 32px; }
  .fd-pro .plan { padding: 24px; }
  .fd-mail .mail-advantages { grid-template-columns: 1fr 1fr; }
  .fd-faq .faq-group { gap: 0 32px; }
}
@media (max-width: 760px) {
  .fd-checkout :is(.cmd-btn, .order-btn, .pay-btn) { min-height: 44px; }
  .fd-ui :is(.page, .mail-page, .dp-page, .arts, .faq-page) { padding-top: 40px; padding-bottom: 56px; }
  .fd-ui.offers-page .hero { grid-template-columns: 1fr; gap: 24px; }
  .fd-pro .hero { grid-template-columns: 1fr; padding: 48px 0; }
  .fd-pro .board { max-width: 560px; }
  .fd-pro .trust { grid-template-columns: 1fr 1fr; }
  .fd-pro .plans, .fd-pro .sup, .fd-pro .perks, .fd-pro .faq { grid-template-columns: 1fr; }
  .fd-pro .sup { gap: 24px; }
  .fd-pro .final { padding: 28px; }
  .fd-mail .mail-pricing { grid-template-columns: 1fr; gap: 28px; }
  .fd-faq .faq-group { display: block; padding: 24px 0; }
  .fd-faq .faq-group h2 { margin: 0 0 16px; }
  .fd-history .timeline-item { grid-template-columns: 130px minmax(0, 1fr); gap: 24px; }
  .fd-checkout .payment-layout { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .fd-ui.offers-page .grid, .fd-ui.offers-page .pack-grid, .fd-vps .plans, .fd-articles .arts-grid { grid-template-columns: 1fr; }
  .fd-vps .intro { grid-template-columns: 1fr; }
  .fd-pro .hero-checks { display: grid; gap: 10px; }
  .fd-pro .trust div { font-size: .6875rem; padding: 16px 8px; }
  .fd-pro .trust .ico { width: 18px; height: 18px; }
  .fd-pro .board { padding: 20px; }
  .fd-pro .svc { gap: 10px; }
  .fd-pro .svc strong { overflow-wrap: anywhere; }
  .fd-mail .mail-advantages, .fd-domain .dp-features { grid-template-columns: 1fr; }
  .fd-domain .dp-search-wrap { grid-template-columns: 1fr; }
  .fd-domain .dp-search-wrap button { width: 100%; }
  .fd-history .timeline-item { grid-template-columns: 1fr; gap: 12px; }
  .fd-history .timeline-card, .fd-history .timeline-item:nth-child(even) .timeline-card { grid-column: 1; grid-row: 2; }
  .fd-ui.fd-auth .login-container { padding: 28px 22px; }
  body.fd-ui.fd-auth { padding: 24px 16px; }
}

/* Offer art is a small product mark next to the category label, never a banner.
   The per-offer accent colours arrive as inline styles from the catalogue data, so the
   four !important declarations below are the only way to keep the grid on one palette. */
.fd-ui.offers-page :is(.card-cover, .pack-cover)::before { display: none; }
.fd-ui.offers-list .offer-card { border-color: var(--fd-border) !important; }
.fd-ui.offers-list .offer-card:hover { border-color: var(--fd-border-strong) !important; }
.fd-ui.offers-list .offer-card .card-cover {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: auto; padding: 24px 24px 0; overflow: visible; background: none; border: 0;
}
.fd-ui.offers-list .offer-card .card-cover img {
  flex: none; width: 44px; height: 44px; object-fit: cover; filter: none;
  border: 1px solid var(--fd-border); border-radius: 8px;
}
.fd-ui.offers-list .offer-card-pill {
  position: static; padding: 0; border: 0; border-radius: 0;
  background: none !important; color: var(--fd-muted) !important;
  font-size: .6875rem; font-weight: 550; letter-spacing: .08em; text-transform: uppercase;
}
.fd-ui.offers-list .offer-card .card-body { padding-top: 20px; }
.fd-ui.offers-list .hero-point .spec-value { font-size: .875rem; text-align: left; }
.fd-ui.offers-list .hero-point .spec-label { font-size: .8125rem; line-height: 1.6; }

/* Plan pages: the hero stays typographic and the plan cards start directly with their name.
   Status labels sit on the top border so they never push or cover the plan title. */
.fd-ui.offers-detail .hero { grid-template-columns: 1fr; }
.fd-ui.offers-detail .hero > div:last-child { display: none; }
.fd-ui.offers-page .pack-card { overflow: visible; }
.fd-ui.offers-page .pack-cover { height: 0; overflow: visible; background: none; }
.fd-ui.offers-page .pack-cover img { display: none; }
.fd-ui.offers-page .pack-custom .pack-cover { display: none !important; }
.fd-ui.offers-page :is(.pack-flag, .discount-badge, .stock-badge) { top: -11px; padding: 3px 8px; line-height: 1.5; }
.fd-ui.offers-page .pack-flag { left: 24px; right: auto; }
.fd-ui.offers-page :is(.discount-badge, .stock-badge) { left: auto; right: 24px; }
.fd-ui.offers-page .out-of-stock .discount-badge { right: 112px; }
.fd-ui.offers-page .pack-gift { margin: 0; color: var(--fd-text); font-size: .8125rem; font-weight: 500; }
.fd-ui.offers-page .pack-slots { margin: 0; color: var(--fd-warning); font-size: .75rem; font-weight: 500; }
.fd-ui.offers-page .pack-custom { border-style: dashed; border-color: var(--fd-border-strong) !important; background: none !important; }
.fd-ui.offers-page .pack-custom .discount-tag { padding: 0; background: none; color: var(--fd-secondary); font-size: .8125rem; font-weight: 500; }
.fd-ui.offers-page :is(.pack-grid:has(.pack-reco) .pack-card:not(.pack-reco), .pack-custom) .pack-actions .btn-primary { background: #202b39; border-color: var(--fd-border-strong); }
.fd-ui.offers-page :is(.pack-grid:has(.pack-reco) .pack-card:not(.pack-reco), .pack-custom) .pack-actions .btn-primary:hover { background: var(--fd-surface-hover); border-color: #6c819b; }
.fd-ui.offers-page .pack-card.out-of-stock { opacity: 1; filter: none; }
.fd-ui.offers-page .pack-card.out-of-stock .pack-body > :not(.pack-actions) { opacity: .6; }
.fd-ui.offers-page .stock-note { padding: 10px 12px; border: 1px solid #5c3138; border-radius: 6px; background: #2a1a1e; color: #f0c2c2; font-size: .8125rem; line-height: 1.6; }
.fd-ui.offers-page .packs-stock-summary { margin: 0 0 24px; padding: 12px 16px; border: 1px solid #5d4a26; border-radius: 6px; background: #2a2317; color: #f1d9a8; font-size: .8125rem; line-height: 1.6; }

/* Standalone public email journeys share the same typography and controls. */
body.fd-ui.feedback-page { padding: 40px 20px; }
.fd-ui.feedback-page main { max-width: 640px; margin: 0 auto; padding: 32px; border: 1px solid var(--fd-border); border-radius: 10px; background: var(--fd-bg-alt); }
.fd-ui.feedback-page .feedback-brand { font-size: 1.25rem; font-weight: 600; margin-bottom: 24px; color: var(--fd-text); }
.fd-ui.feedback-page .feedback-brand img { width: 36px; height: 36px; }
.fd-ui.feedback-page h1 { margin: 0 0 16px; font-size: clamp(1.7rem, 4vw, 2.2rem); letter-spacing: -.035em; }
.fd-ui.feedback-page p { color: var(--fd-secondary); font-size: .875rem; }
.fd-ui.feedback-page legend { font-size: .875rem; color: var(--fd-secondary); }
.fd-ui.feedback-page button { min-height: 44px; font-size: .875rem; font-weight: 550; }
.fd-ui.feedback-page .feedback-rating label { background: var(--fd-surface); border-color: var(--fd-border-strong); border-radius: 6px; }
.fd-ui.feedback-page .feedback-rating label:has(input:checked) { background: var(--fd-accent); border-color: var(--fd-link); box-shadow: none; color: #fff; }
body.fd-ui.fd-message-page { min-height: 100svh; padding: 24px; }
.fd-ui.fd-message-page .card { max-width: 520px; padding: 32px; text-align: left; background: var(--fd-bg-alt); }
.fd-ui.fd-message-page h1 { font-size: 1.5rem; margin: 0 0 20px; }
.fd-ui.fd-message-page p { font-size: .875rem; color: var(--fd-secondary); }
.fd-ui.fd-message-page .muted { font-size: .8125rem; color: var(--fd-muted); }
@media (max-width: 540px) {
  .fd-ui.feedback-page main { padding: 24px 20px; }
  body.fd-ui.feedback-page { padding: 24px 16px; }
  .fd-ui.fd-message-page .card { padding: 24px; }
}
