/* FOGL040 – Globális, reszponzív bérkalkulátor a fejlécből. */
.fogl040-calc-trigger,
.fogl040-calc-fab {
    appearance: none;
    border: 1px solid #cfe0f2;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7fd 100%);
    color: #155eaa;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(23, 77, 133, 0.10);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.fogl040-calc-trigger:hover,
.fogl040-calc-fab:hover,
.fogl040-calc-trigger:focus,
.fogl040-calc-fab:focus {
    text-decoration: none;
    outline: none;
    border-color: #8dbbee;
    background: linear-gradient(180deg, #ffffff 0%, #eaf3ff 100%);
    box-shadow: 0 14px 28px rgba(23, 77, 133, 0.16);
    transform: translateY(-1px);
}
.fogl040-calc-trigger .glyphicon,
.fogl040-calc-fab .glyphicon {
    font-size: 16px;
}
.fogl040-calc-trigger { flex: 0 0 auto; }
.fogl040-calc-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1090;
    border-radius: 999px;
    padding: 0 18px;
}
.fogl040-calc-fab[hidden] { display: none !important; }

.fogl040-calc-overlay {
    position: fixed;
    inset: 0;
    z-index: 1180;
    background: rgba(15, 39, 67, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}
.fogl040-calc-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.fogl040-calc-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(96vw, 470px);
    height: 100%;
    background: #ffffff;
    color: #1d4168;
    box-shadow: -20px 0 56px rgba(18, 44, 72, 0.25);
    transform: translateX(108%);
    transition: transform .24s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
}
.fogl040-calc-overlay.is-open .fogl040-calc-panel { transform: translateX(0); }

.fogl040-calc-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 22px 14px;
    border-bottom: 1px solid #e4edf7;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.fogl040-calc-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, #eef5ff 0%, #deecff 100%);
    color: #1368bf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex: 0 0 auto;
}
.fogl040-calc-titlebox { min-width: 0; flex: 1 1 auto; }
.fogl040-calc-title {
    display: block;
    font-size: 30px;
    line-height: 1.08;
    font-weight: 800;
    color: #183b62;
}
.fogl040-calc-subtitle {
    display: block;
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.35;
    color: #6983a2;
}
.fogl040-calc-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #547091;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background .18s ease, color .18s ease;
}
.fogl040-calc-close:hover,
.fogl040-calc-close:focus { background: #eef5fe; color: #1c5f9d; outline: none; }

.fogl040-calc-scroll {
    flex: 1 1 auto;
    overflow: auto;
    padding: 18px 22px 22px;
    background: #ffffff;
}
.fogl040-calc-mode {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #eff4fa;
    border: 1px solid #dce8f3;
    border-radius: 14px;
    padding: 4px;
    margin-bottom: 18px;
}
.fogl040-calc-mode button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #304d6e;
    border-radius: 10px;
    height: 42px;
    font-size: 15px;
    font-weight: 700;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.fogl040-calc-mode button.is-active {
    background: linear-gradient(180deg, #2b84ff 0%, #1f73ec 100%);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(31, 115, 236, 0.24);
}

.fogl040-calc-grid {
    display: grid;
    gap: 14px;
}
.fogl040-calc-field label,
.fogl040-calc-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #27496e;
    margin-bottom: 7px;
}
.fogl040-calc-field small,
.fogl040-calc-help {
    display: block;
    color: #6d84a0;
    font-size: 12px;
    line-height: 1.45;
}
.fogl040-calc-help { margin-top: 7px; }
.fogl040-calc-input-wrap { position: relative; }
.fogl040-calc-input-wrap .fogl040-calc-suffix {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #6b84a1;
    font-size: 14px;
    font-weight: 700;
    pointer-events: none;
}
.fogl040-calc-input,
.fogl040-calc-select {
    width: 100%;
    height: 50px;
    border: 1px solid #d7e4f1;
    border-radius: 14px;
    background: #ffffff;
    padding: 0 14px;
    font-size: 18px;
    font-weight: 700;
    color: #173b63;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.fogl040-calc-input.has-suffix { padding-right: 44px; }
.fogl040-calc-select { font-size: 15px; font-weight: 600; }
.fogl040-calc-input:focus,
.fogl040-calc-select:focus {
    outline: none;
    border-color: #87b9ee;
    box-shadow: 0 0 0 3px rgba(48, 130, 230, 0.12);
}

.fogl040-calc-switch {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 14px;
    border: 1px solid #deebf7;
    border-radius: 14px;
    background: #f8fbff;
}
.fogl040-calc-switch input { margin-top: 2px; }
.fogl040-calc-switch strong {
    display: block;
    color: #24496f;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}
.fogl040-calc-switch span {
    display: block;
    margin-top: 3px;
    color: #6d84a0;
    font-size: 12px;
    line-height: 1.45;
}

.fogl040-calc-result {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 18px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #eef6ff 0%, #e2efff 100%);
    margin-top: 6px;
    margin-bottom: 16px;
}
.fogl040-calc-result-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.72);
    color: #1970cb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex: 0 0 auto;
}
.fogl040-calc-result-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #24496f;
}
.fogl040-calc-result-value {
    display: block;
    margin-top: 4px;
    font-size: 27px;
    line-height: 1.12;
    font-weight: 800;
    color: #146ac5;
}

.fogl040-calc-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.fogl040-calc-summary-row,
.fogl040-calc-metric,
.fogl040-calc-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #26496f;
}
.fogl040-calc-summary-row {
    font-size: 15px;
    font-weight: 700;
    padding: 0 2px;
}
.fogl040-calc-summary-row strong { color: #173b63; font-size: 25px; line-height: 1.1; }
.fogl040-calc-summary-row span { color: #5f7c9c; }

.fogl040-calc-details {
    border: 1px solid #e2ecf6;
    border-radius: 16px;
    padding: 14px 16px;
    background: #fbfdff;
}
.fogl040-calc-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.fogl040-calc-detail {
    font-size: 14px;
    line-height: 1.35;
}
.fogl040-calc-detail strong { font-size: 14px; font-weight: 700; color: #163a60; }
.fogl040-calc-divider {
    height: 1px;
    background: #e2edf6;
    margin: 12px 0;
}
.fogl040-calc-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e5edf7;
    background: #f8fbff;
    color: #5f7b99;
    font-size: 12px;
    line-height: 1.5;
}
.fogl040-calc-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}
.fogl040-calc-btn {
    appearance: none;
    border-radius: 14px;
    height: 52px;
    border: 1px solid #d5e2f0;
    font-size: 15px;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.fogl040-calc-btn:hover,
.fogl040-calc-btn:focus { outline: none; transform: translateY(-1px); }
.fogl040-calc-btn-primary {
    color: #ffffff;
    border-color: #1f74ec;
    background: linear-gradient(180deg, #2b84ff 0%, #1f73ec 100%);
    box-shadow: 0 12px 26px rgba(31, 115, 236, 0.22);
}
.fogl040-calc-btn-secondary {
    color: #24496f;
    background: #ffffff;
}
.fogl040-calc-btn-secondary:hover,
.fogl040-calc-btn-secondary:focus { background: #f4f8fd; }

body.fogl040-calc-open { overflow: hidden; }
body.fogl040-calc-open .fogl040-calc-fab { opacity: 0; pointer-events: none; }

@media (max-width: 1260px) {
    .fogl040-calc-trigger { padding: 0 12px; font-size: 13px; }
}
@media (max-width: 1080px) {
    .fogl040-calc-trigger .fogl040-calc-trigger-text { display: none; }
    .fogl040-calc-trigger { width: 44px; padding: 0; border-radius: 12px; }
}
@media (max-width: 860px) {
    .fogl040-calc-panel {
        width: 100%;
        max-width: none;
        top: auto;
        bottom: 0;
        height: min(94vh, 860px);
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        border-bottom-left-radius: 0;
        transform: translateY(105%);
    }
    .fogl040-calc-overlay.is-open .fogl040-calc-panel { transform: translateY(0); }
    .fogl040-calc-header {
        position: relative;
        padding-top: 28px;
    }
    .fogl040-calc-header::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 56px;
        height: 5px;
        border-radius: 999px;
        background: #d7e3ef;
    }
}
@media (max-width: 640px) {
    .fogl040-calc-fab { bottom: 14px; right: 14px; height: 50px; }
    .fogl040-calc-fab .fogl040-calc-trigger-text { display: none; }
    .fogl040-calc-fab { width: 56px; padding: 0; }
    .fogl040-calc-header { padding-left: 16px; padding-right: 16px; }
    .fogl040-calc-scroll { padding: 14px 16px 18px; }
    .fogl040-calc-title { font-size: 26px; }
    .fogl040-calc-result-value { font-size: 24px; }
    .fogl040-calc-summary-row strong { font-size: 22px; }
    .fogl040-calc-actions { grid-template-columns: 1fr; }
}

/* FOGL040/08 – alacsonyabb panel: az alapadatok és az eredmény azonnal
   áttekinthetők, a részletek összecsukhatók, a műveletek mindig láthatók. */
.fogl040-calc-panel {
    top: 12px;
    right: 12px;
    height: min(720px, calc(100vh - 24px));
    height: min(720px, calc(100dvh - 24px));
    width: min(96vw, 438px);
    border-radius: 22px;
}
.fogl040-calc-header { align-items: center; padding: 13px 17px 11px; gap: 10px; }
.fogl040-calc-icon { width: 40px; height: 40px; border-radius: 12px; }
.fogl040-calc-icon svg { width: 23px; height: 23px; }
.fogl040-calc-title { font-size: 23px; }
.fogl040-calc-subtitle { margin-top: 2px; font-size: 12px; }
.fogl040-calc-close { width: 34px; height: 34px; font-size: 22px; }
.fogl040-calc-scroll { min-height: 0; padding: 13px 18px 12px; overscroll-behavior: contain; }
.fogl040-calc-mode { margin-bottom: 12px; padding: 3px; border-radius: 11px; }
.fogl040-calc-mode button { height: 34px; font-size: 13px; border-radius: 9px; }
.fogl040-calc-grid { gap: 11px; }
.fogl040-calc-field label { font-size: 12px; margin-bottom: 5px; }
.fogl040-calc-input,.fogl040-calc-select { height: 42px; border-radius: 10px; }
.fogl040-calc-input { font-size: 16px; }
.fogl040-calc-select { font-size: 14px; }
.fogl040-calc-switch { padding: 9px 11px; gap: 9px; border-radius: 11px; margin-bottom: 0; }
.fogl040-calc-switch input { margin-top: 3px; }
.fogl040-calc-switch strong { font-size: 12px; }
.fogl040-calc-switch span span { font-size: 11px; margin-top: 2px; line-height: 1.25; }
.fogl040-calc-result { padding: 12px 13px; margin: 12px 0; gap: 11px; border-radius: 13px; }
.fogl040-calc-result-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 20px; }
.fogl040-calc-result-label { font-size: 12px; }
.fogl040-calc-result-value { font-size: 25px; margin-top: 2px; }
.fogl040-calc-summary { gap: 8px; margin: 0 0 12px; }
.fogl040-calc-summary-row { font-size: 12px; gap: 9px; }
.fogl040-calc-summary-row strong { font-size: 17px; white-space: nowrap; }
.fogl040-calc-details { padding: 0; margin: 0; border-radius: 12px; overflow: hidden; }
.fogl040-calc-details .fogl040-calc-section-title {
    list-style: none; cursor: pointer; user-select: none;
    padding: 11px 13px; margin: 0; font-size: 13px;
    color: #2b587e; display: flex; align-items: center;
}
.fogl040-calc-details .fogl040-calc-section-title::-webkit-details-marker { display: none; }
.fogl040-calc-details .fogl040-calc-section-title:focus-visible { outline: 2px solid #83b8ed; outline-offset: -2px; }
.fogl040-calc-details-chevron { margin-left: auto; font-size: 19px; transition: transform .16s ease; }
.fogl040-calc-details[open] .fogl040-calc-details-chevron { transform: rotate(180deg); }
.fogl040-calc-details-grid { padding: 10px 13px 0; gap: 8px; }
.fogl040-calc-detail, .fogl040-calc-detail strong { font-size: 12px; }
.fogl040-calc-note { margin: 10px 13px 13px; padding: 10px; font-size: 11px; }
.fogl040-calc-footer {
    flex: 0 0 auto;
    padding: 9px 18px 13px;
    border-top: 1px solid #e3edf7;
    background: #fff;
    box-shadow: 0 -5px 16px rgba(26, 65, 111, 0.045);
}
.fogl040-calc-actions { margin: 0; gap: 9px; }
.fogl040-calc-btn { height: 43px; border-radius: 11px; font-size: 13px; }
.fogl040-calc-field[hidden] { display:none !important; }

/* FOGL040/08 – valódi kalkulátor piktogram az összes elérési ponton. */
.fogl040-calc-trigger svg, .fogl040-calc-fab svg { width: 19px; height: 19px; flex: 0 0 auto; }
.fogl040-calc-trigger { height: 39px; padding: 0 12px; }
.fogl040-calc-fab { height: 52px; min-width: 52px; }

/* Bejelentkezési oldalon az űrlaptól független, önálló bemutató-gomb. */
.f018-page > .fogl040-public-trigger {
    appearance: none;
    position: absolute;
    top: 22px;
    right: 3%;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px 10px 10px;
    min-height: 57px;
    border: 1px solid #c5dbf4;
    border-radius: 16px;
    background: rgba(255,255,255,.97);
    color: #1a4b82;
    box-shadow: 0 12px 30px rgba(37,92,159,.14);
    text-align: left;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.f018-page > .fogl040-public-trigger:hover,
.f018-page > .fogl040-public-trigger:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 15px 34px rgba(37,92,159,.2);
    border-color: #84b6e9;
    outline: 0;
}
.fogl040-public-icon { background: #e4f0ff; color:#1672d0; width:38px; height:38px; border-radius:11px; display:grid; place-items:center; flex:0 0 auto; }
.fogl040-public-icon svg { width:23px; height:23px; }
.fogl040-public-copy { display:flex; flex-direction:column; gap:3px; min-width:0; }
.fogl040-public-copy strong { font-size:14px; line-height:1.1; font-weight:800; color:#154e8d; }
.fogl040-public-copy small { font-size:11px; line-height:1.2; font-weight:500; color:#657f9d; }
.fogl040-public-arrow { font-size:20px; color:#2080da; margin-left:6px; }

/* Külön, egyérintéses mobil gyorsgomb minden belső nézetben. */
.fogl040-calc-fab { display:none; }
.fogl040-calc-fab--fallback { display:flex; }
@media (max-width: 860px) {
    .fogl040-calc-panel {
        top:auto;
        right:0;
        bottom:0;
        width:100%;
        height:min(690px, 96vh);
        height:min(690px, 96dvh);
        max-height:100vh;
        max-height:100dvh;
        border-radius:22px 22px 0 0;
        transform: translateY(105%);
    }
    .fogl040-calc-overlay.is-open .fogl040-calc-panel { transform: translateY(0); }
    .fogl040-calc-header { padding-top:22px; }
    .fogl040-calc-footer { padding-bottom:calc(11px + env(safe-area-inset-bottom, 0px)); }
    .fogl040-calc-fab {
        display: flex;
        position: fixed;
        width: 56px;
        height: 56px;
        right: 15px;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
        z-index: 1100;
        padding: 0;
        border-radius: 17px;
        background: linear-gradient(145deg, #318afa, #166dd5);
        border-color: #2b7edc;
        color: #fff;
        box-shadow: 0 12px 28px rgba(12, 96, 197, .32);
    }
    .fogl040-calc-fab svg { width: 23px; height: 23px; }
    .fogl040-calc-fab .fogl040-calc-trigger-text { display:none; }
    .fogl040-calc-fab:hover, .fogl040-calc-fab:focus { background: #2179e9; color:#fff; }
    .f018-page > .fogl040-public-trigger {
        position: relative;
        top: auto;
        right: auto;
        order: 0;
        width: min(100%, 634px);
        max-width: 634px;
        align-self: center;
        justify-content: flex-start;
        margin: 0 0 1px;
    }
}
@media (max-width:640px) {
    .fogl040-calc-header { padding: 22px 14px 10px; }
    .fogl040-calc-scroll { padding: 10px 14px 10px; }
    .fogl040-calc-footer { padding-left: 14px; padding-right: 14px; }
    .fogl040-calc-actions { grid-template-columns: 1fr 1fr; }
    .fogl040-calc-btn { height: 44px; }
    .fogl040-calc-title { font-size: 21px; }
    .fogl040-calc-result-value { font-size: 23px; }
    .fogl040-calc-summary-row strong { font-size: 16px; }
    .f018-page > .fogl040-public-trigger { min-height:52px; padding:7px 11px 7px 8px; border-radius:13px; }
    .fogl040-public-icon { width:35px; height:35px; }
}
@media (max-height: 600px) {
    .fogl040-calc-scroll { padding-top: 9px; }
    .fogl040-calc-header { padding-top:9px; padding-bottom:8px; }
    .fogl040-calc-result { padding:9px 12px; margin:9px 0; }
    .fogl040-calc-mode { margin-bottom:9px; }
    .fogl040-calc-grid { gap:8px; }
}
@media (prefers-reduced-motion: reduce) {
    .fogl040-calc-panel, .fogl040-calc-overlay { transition:none; }
}

/* FOGL040/09 – Egységes, minden eszközön lebegő gyorselérés. */
.fogl040-calc-fab,
.fogl040-calc-fab--fallback {
    appearance: none;
    position: fixed;
    top: auto;
    left: auto;
    right: 23px;
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    z-index: 1100;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 58px;
    min-width: 58px;
    height: 58px;
    padding: 0;
    border: 1px solid #2c7cd8;
    border-radius: 17px;
    background: linear-gradient(150deg, #318cfa, #1168cc);
    color: #fff;
    box-shadow: 0 14px 32px rgba(21, 91, 179, .29);
}
.fogl040-calc-fab .fogl040-calc-trigger-text { display: none !important; }
.fogl040-calc-fab svg { width: 25px; height: 25px; }
.fogl040-calc-fab:hover,
.fogl040-calc-fab:focus-visible {
    background: linear-gradient(150deg, #247deb, #095dbb);
    color: #fff;
    border-color: #1769c6;
    outline: 3px solid rgba(88,159,241,.25);
}
.fogl040-calc-fab::after {
    content: 'Bérkalkulátor';
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    padding: 8px 12px;
    background: #193f6c;
    color: #fff;
    border-radius: 9px;
    box-shadow: 0 6px 18px rgba(11,47,87,.17);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease;
    pointer-events: none;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 700;
}
.fogl040-calc-fab:hover::after,
.fogl040-calc-fab:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
body.fogl040-calc-open .fogl040-calc-fab { opacity: 0; visibility: hidden; pointer-events: none; }

/* A nyilvános nyitóoldali elérést rögzített, jobbra lent
   megjelenő, feliratos gyorsgombként tesszük egyértelművé. */
.f018-page > .fogl040-public-trigger,
.f018-page > .fogl040-public-trigger:hover,
.f018-page > .fogl040-public-trigger:focus-visible {
    position: fixed;
    top: auto;
    left: auto;
    right: 23px;
    bottom: calc(23px + env(safe-area-inset-bottom, 0px));
    z-index: 1100;
    order: initial;
    width: auto;
    max-width: calc(100vw - 40px);
    margin: 0;
    padding: 11px 16px 11px 11px;
    border: 1px solid #9dc7f5;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(20, 92, 176, .25);
    color: #164978;
}
.f018-page > .fogl040-public-trigger .fogl040-public-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(150deg, #318cfa, #1168cc);
    color: #fff;
}
.f018-page > .fogl040-public-trigger .fogl040-public-copy strong { font-size: 15px; }
.f018-page > .fogl040-public-trigger .fogl040-public-copy small { font-size: 11px; }
body.fogl040-calc-open .fogl040-public-trigger { visibility: hidden; pointer-events: none; }

@media(max-width: 860px) {
    .fogl040-calc-fab,
    .fogl040-calc-fab--fallback {
        display: inline-flex !important;
        width: 56px;
        min-width: 56px;
        height: 56px;
        right: 14px;
        bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    }
    .f018-page > .fogl040-public-trigger,
    .f018-page > .fogl040-public-trigger:hover,
    .f018-page > .fogl040-public-trigger:focus-visible {
        position: fixed;
        top: auto;
        left: auto;
        right: 12px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        width: auto;
        max-width: calc(100vw - 24px);
        min-height: 54px;
        padding: 7px 12px 7px 8px;
        margin: 0;
    }
}
@media(max-width: 420px) {
    .f018-page > .fogl040-public-trigger .fogl040-public-copy small { font-size: 10px; }
    .fogl040-calc-fab::after { display: none; }
}
