.fix-share {
    --fs-paper: #f9f8f3;
    --fs-soft: #eeeade;
    --fs-card: #fffefa;
    --fs-ink: #25332a;
    --fs-muted: #4e574d;
    --fs-line: #d1c9b9;
    --fs-control: #877e6f;
    --fs-accent: #77562d;
    --fs-action: #273b30;
    --fs-action-ink: #fffefa;
    --fs-error: #902e27;
    --surface: var(--fs-card);
    --text: var(--fs-ink);
    background: var(--fs-paper);
    color: var(--fs-ink);
    font: 500 1rem/1.6 Manrope, Arial, sans-serif;
}

html[data-theme="dark"] .fix-share {
    --fs-paper: #1b241e;
    --fs-soft: #252e25;
    --fs-card: #202d25;
    --fs-ink: #f3f1e8;
    --fs-muted: #c9ccbf;
    --fs-line: #566054;
    --fs-control: #91a195;
    --fs-accent: #e6c78f;
    --fs-action: #e3c38d;
    --fs-action-ink: #202920;
    --fs-error: #ffc1b9;
}

.portal-header.imlu-nav-v2-header :is(.imlu-nav-v2-primary, .imlu-nav-v2-actions) a {
    font: 700 .84rem/1.25 Manrope, Arial, sans-serif;
    letter-spacing: normal;
    text-transform: none;
}

.fix-share :focus-visible { outline: 2px solid var(--fs-accent); outline-offset: 3px; }
.fix-share section[id] { scroll-margin-top: .5rem; }
.fs-wrap { width: min(100% - 64px, 1220px); margin-inline: auto; }
.fs-narrow { max-width: 820px; }
.fs-hero { padding-block: clamp(44px, 6.2vw, 92px); background: var(--fs-soft); }
.fs-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; gap: clamp(24px, 7vw, 105px); }
.fix-share h1, .fix-share h2 { font-family: "DM Sans", Manrope, Arial, sans-serif; font-weight: 800; letter-spacing: -.045em; }
.fs-hero h1 { max-width: 16ch; margin: 0; font-size: clamp(2.4rem, 4.6vw, 4.5rem); line-height: 1.04; }
.fs-intro { margin: 1.1rem 0 0; color: var(--fs-muted); font-size: clamp(1.05rem, 2vw, 1.32rem); }
.fs-rules { margin: 1.4rem 0; padding-inline-start: 1.35rem; }
.fs-rules li { margin-block: .48rem; padding-inline-start: .35rem; }
.fs-rules li::marker, .fs-steps li::marker { color: var(--fs-accent); font-weight: 800; }
.fs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.1rem; margin-top: 1.7rem; }
.fix-share .fs-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.05rem;
    border: 1px solid transparent;
    background: var(--fs-action);
    color: var(--fs-action-ink);
    font: 800 .9rem/1.3 Manrope, Arial, sans-serif;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.fix-share .fs-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.fix-share .fs-text-link { color: var(--fs-accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.fs-legal { border-inline-start: 3px solid var(--fs-accent); margin: 1.25rem 0 0; padding-inline-start: .85rem; color: var(--fs-muted); font-size: .88rem; }

.fs-example { padding: clamp(20px, 4vw, 40px); border: 1px solid var(--fs-line); background: var(--fs-card); }
.fs-example h2 { margin: 0 0 .9rem; font-size: clamp(1.32rem, 3vw, 1.82rem); }
.fs-example dl { margin: 0; }
.fs-example dl:not(.fs-split) > div { display: flex; justify-content: space-between; gap: 8px; padding-block: .6rem; border-bottom: 1px solid var(--fs-line); }
.fs-example dd { margin: 0; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fs-example .fs-example-total { font-weight: 800; }
.fs-example .fs-split { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.1rem; }
.fs-split div { padding: .65rem .75rem; background: var(--fs-soft); }
.fs-split dt { font-size: .82rem; }
.fs-split dd { font-size: clamp(1rem, 2.2vw, 1.32rem); }
.fs-example p { margin: .8rem 0 .65rem; color: var(--fs-muted); font-size: .82rem; }

.fs-section { padding-block: clamp(42px, 6vw, 78px); }
.fs-section h2 { max-width: 28ch; margin: 0 0 1.3rem; font-size: clamp(1.75rem, 3.4vw, 2.65rem); line-height: 1.16; }
.fs-section-shaded { background: var(--fs-soft); }
.fs-process-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); align-items: start; gap: clamp(22px, 5vw, 70px); }
.fs-steps { margin: 0; padding-inline-start: 1.4rem; }
.fs-steps li { margin-bottom: 1.05rem; padding: 0 0 .85rem .35rem; border-bottom: 1px solid var(--fs-line); }
.fs-steps h3 { margin: 0 0 .2rem; font-size: 1.06rem; }
.fs-steps p { margin: 0; color: var(--fs-muted); }
.fs-process-image { margin: 0; }
.fs-process-image img { display: block; width: 100%; height: auto; }
.fs-process-image figcaption { margin-top: .45rem; font-size: max(13px,.8rem); }
.fs-pinnex { display: grid; grid-template-columns: minmax(0, min(23%, 186px)) minmax(0, 1fr); align-items: center; gap: clamp(22px, 5vw, 72px); }
.fs-pinnex img { display: block; width: 100%; height: auto; padding: 1rem; background: #fffefa; }
.fs-pinnex p { max-width: 69ch; margin-top: 0; }
.fs-faq { border-top: 1px solid var(--fs-line); }
.fs-faq details { border-bottom: 1px solid var(--fs-line); }
.fs-faq summary, .fs-form .form-extra > summary { padding: .8rem .2rem; cursor: pointer; font-weight: 800; }
.fs-faq summary::marker, .fs-form .form-extra > summary::marker { color: var(--fs-accent); }
.fs-faq p { margin: 0 0 1rem 1.25rem; color: var(--fs-muted); }

.fix-share .fs-calculator { padding: 0; border: 0; margin: 0; background: transparent; color: var(--fs-ink); }
.fs-calculator .imlu-profitability { margin: 0; padding: clamp(16px, 3.2vw, 30px); border: 1px solid var(--fs-line); border-radius: 0; background: var(--fs-card); }
.fs-calculator .imlu-profitability input:not([type="checkbox"]) { max-width: 100%; border-color: var(--fs-control); }
.fs-calculator .imlu-project-result { background: var(--fs-soft); }
.fs-calculator .imlu-profitability :focus-visible { outline-color: var(--fs-accent); }

@media (min-width: 700px) {
    .fs-calculator .imlu-profitability fieldset {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(11rem, .72fr);
        align-items: center;
        gap: .62rem 1.4rem;
    }
    .fs-calculator .imlu-profitability fieldset label { margin: 0; }
    .fs-calculator .imlu-profitability fieldset .imlu-project-check { grid-column: 1 / -1; margin-top: .55rem; }
}

.fs-enquiry { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 84px); }
.fs-enquiry-copy p { max-width: 40ch; }
.fs-form { min-width: 0; padding: clamp(16px, 3.2vw, 32px); border: 1px solid var(--fs-line); background: var(--fs-card); }
.fs-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .85rem; }
.fs-form .field { min-width: 0; margin-bottom: .8rem; }
.fs-form .field label { display: block; margin-bottom: .25rem; font-size: .91rem; font-weight: 750; }
.fs-form .field input, .fs-form .field textarea, .fs-form .field select {
    width: 100%;
    min-height: 44px;
    max-width: 100%;
    padding: .5rem .66rem;
    border: 1px solid var(--fs-control);
    background: var(--fs-paper);
    color: var(--fs-ink);
    font: inherit;
}
.fs-form .form-extra { border-block: 1px solid var(--fs-line); margin-bottom: 1rem; }
.fs-field-hint { margin: .4rem 0 .8rem; color: var(--fs-muted); font-size: .85rem; overflow-wrap: anywhere; }
.fs-form .form-feedback { margin: .55rem 0 0; }
.fs-form .form-feedback.error, .fs-form .photo-selection.error { color: var(--fs-error); }

@media (max-width: 800px) {
    .fs-wrap { width: calc(100% - 36px); }
    .fs-hero-grid, .fs-process-layout, .fs-enquiry { grid-template-columns: 1fr; }
    .fs-hero h1 { max-width: 19ch; }
}

@media (max-width: 440px) {
    .fs-pinnex { grid-template-columns: 1fr; gap: 1rem; }
    .fs-pinnex img { max-width: 152px; }
    .fs-field-row { grid-template-columns: 1fr; }
    .fs-actions { align-items: flex-start; flex-direction: column; }
}
