/* FIRMATO IDENTITY V1: isolated presentation additions */
.fid-payment-band{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:18px 10px;border-top:1px solid rgba(143,166,192,.24);margin-top:20px}.fid-payment-band span{color:inherit;font-size:12px;opacity:.8}.fid-payment-band img{height:55px;max-width:min(100%,230px);width:auto;object-fit:contain;vertical-align:middle}.fid-auth-methods{margin-top:20px;padding-top:16px;border-top:1px solid #d6e0ed}.fid-auth-methods .fid-id-title{font-weight:650;font-size:13px;margin:0 0 10px}.fid-method{display:flex;align-items:center;justify-content:center;gap:14px;border:1px solid #c9d5e4;border-radius:12px;padding:10px 14px;width:100%;background:#f7fafc;color:#4c5d70;min-height:62px;margin:10px 0;font:inherit;font-weight:650}.fid-method img{width:84px;max-height:45px;object-fit:contain}.fid-method[disabled]{cursor:not-allowed;opacity:.78}.fid-auth-methods small{display:block;color:#64748b;font-size:12px;line-height:1.5}.fid-admin{font-family:system-ui,sans-serif;max-width:1080px;margin:25px auto;padding:16px;color:#142c49}.fid-admin .fid-card{border:1px solid #d2deed;border-radius:15px;background:#fff;padding:22px;margin:15px 0;box-shadow:0 3px 18px #1b416009}.fid-admin .fid-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:15px}.fid-admin label{font-weight:600;display:block;margin:13px 0 7px}.fid-admin select,.fid-admin input{max-width:100%;padding:10px;border-radius:8px;border:1px solid #b5c8dc;width:100%}.fid-admin button{padding:12px 20px;border:none;border-radius:9px;background:#1759b1;color:white;cursor:pointer}.fid-admin code{word-break:break-all}.fid-admin .fid-muted{color:#617287}.fid-admin a{color:#1653a5}.fid-admin .fid-pill{font-size:12px;padding:4px 8px;border-radius:20px;background:#e8f0fb;display:inline-block}@media(max-width:650px){.fid-payment-band img{height:42px;max-width:155px}}
/* Investor-ready singular payment band: contained and responsive, no duplicate renderer. */
.site-footer>.fid-payment-band-single{margin:0 auto;padding:20px 16px;border-top:1px solid #e4ecf5;max-width:100%;}
.fid-payment-band-single img{height:48px;max-width:230px;object-fit:contain}
.fid-social-button{display:flex;gap:14px;align-items:center;justify-content:center;width:100%;box-sizing:border-box;border:1px solid #c8d8ed;border-radius:12px;background:#fff;padding:13px 18px;margin:9px 0;text-decoration:none;color:#12335e;font:600 14px system-ui,sans-serif;min-height:50px;transition:background .15s}
.fid-social-button:hover,.fid-social-button:focus-visible{background:#edf5ff;border-color:#7da8dc}
.fid-social-mark{display:inline-flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:6px;font:bold 19px system-ui}
.fid-social-google .fid-social-mark{color:#4285f4}.fid-social-microsoft .fid-social-mark{color:#0078d4}.fid-social-linkedin .fid-social-mark{background:#0a66c2;color:white;font-size:15px}
@media(max-width:650px){.fid-payment-band-single img{height:36px;max-width:160px}}

.fid-payment-band-single img{display:block;width:min(100%,880px);max-width:880px;height:auto;max-height:108px;object-fit:contain} @media(max-width:650px){.fid-payment-band-single img{width:100%;height:auto;max-height:none}}

/* V1.2 login visual methods: show all providers, enable only configured ones. */
.fid-social-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.fid-social-button{display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;box-sizing:border-box;border:1px solid #c8d8ed;border-radius:12px;background:#fff;padding:13px 16px;margin:0;text-decoration:none;color:#12335e;font:600 14px system-ui,sans-serif;min-height:54px;transition:background .15s,border-color .15s,transform .15s;}
.fid-social-button:hover,.fid-social-button:focus-visible{background:#edf5ff;border-color:#7da8dc;transform:translateY(-1px);}
.fid-social-button.is-disabled{background:#f7f9fc;color:#7a8aa1;border-color:#d8e0ea;cursor:default;pointer-events:none;transform:none;opacity:1;}
.fid-social-button.is-disabled:hover,.fid-social-button.is-disabled:focus-visible{background:#f7f9fc;border-color:#d8e0ea;}
.fid-social-mark{display:inline-flex;justify-content:center;align-items:center;width:34px;height:34px;border-radius:8px;font:800 15px/1 system-ui,sans-serif;flex:0 0 34px;letter-spacing:0;box-shadow:inset 0 0 0 1px rgba(16,42,79,.06);}
.fid-social-google .fid-social-mark{background:#fff;color:#4285f4;border:1px solid #d9e2ef;}
.fid-social-linkedin .fid-social-mark{background:#0a66c2;color:#fff;font-size:14px;}
.fid-social-microsoft .fid-social-mark{background:#e8f3ff;color:#0078d4;font-size:18px;}
.fid-social-spid .fid-social-mark{background:#0066cc;color:#fff;font-size:11px;letter-spacing:.04em;}
.fid-social-cie .fid-social-mark{background:#0f4a7a;color:#fff;font-size:12px;letter-spacing:.04em;}
.fid-auth-methods .fid-id-title{font-weight:700;font-size:13px;margin:0 0 12px;}
@media(max-width:720px){.fid-social-grid{grid-template-columns:1fr;}}

/* V1.3 Login — polished brands, neutral disabled states. */
.f54-auth-card{border-radius:20px!important;box-shadow:0 16px 45px rgba(14,42,83,.11)!important}
.fid-social-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important}
.fid-social-button{border-radius:11px!important;padding:11px 12px!important;gap:11px!important;min-height:52px!important;line-height:1.3!important;font-size:13px!important;box-shadow:0 2px 8px rgba(16,49,88,.03)}
.fid-social-mark{width:34px!important;min-width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:8px!important;display:grid!important;place-items:center!important;background:transparent!important;border:0!important;box-shadow:none!important}
.fid-social-mark img{width:30px!important;height:30px!important;object-fit:contain!important;display:block!important}
.fid-social-button.is-disabled{background:#f8faff!important;border:1px solid #dce5f0!important;color:#78869a!important;opacity:1!important;cursor:not-allowed!important;pointer-events:none!important}
.fid-social-button.is-disabled .fid-social-mark img{filter:grayscale(1)!important;opacity:.62!important}
.fid-social-button:not(.is-disabled){background:#fff!important;color:#17325d!important;border-color:#b9d0ed!important}
.fid-social-button:not(.is-disabled):hover,.fid-social-button:not(.is-disabled):focus-visible{background:#ecf4ff!important}
@media(max-width:680px){.fid-social-grid{grid-template-columns:1fr!important}}

/* Shared payment banner compact layout */
footer.site-footer .fid-payment-band-single{position:relative!important;width:calc(100% - 32px)!important;max-width:960px!important;height:auto!important;min-height:0!important;aspect-ratio:8/1!important;margin:8px auto!important;padding:0!important;overflow:hidden!important;background:transparent!important}
footer.site-footer .fid-payment-band-single img{position:absolute!important;left:0!important;top:50%!important;transform:translateY(-50%)!important;width:100%!important;max-width:none!important;height:auto!important;background:transparent!important}
footer.site-footer .mobile-footer,footer.site-footer .mobile-footer a{color:rgba(0,0,0,.8)!important;background:#fff!important;text-align:center}
/* Public mobile layout 20261108 */
:is(.f53-home,.f54-content,.f54-auth-page) img{max-width:100%;height:auto}
:is(.f53-hero-grid,.f54-hero-grid,.f54-auth-layout)>*{min-width:0}
.f54-auth-story img{display:block;width:100%!important;max-width:660px!important;height:auto!important;aspect-ratio:3/1;object-fit:cover;object-position:center;margin-inline:auto}
@media(max-width:767px){.shell{width:100%!important;max-width:100%!important;padding-inline:18px!important;box-sizing:border-box}.f53-hero-grid,.f54-hero-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}.f53-hero-copy,.f54-hero-grid>div{text-align:center}.f53-hero-copy h1,.f54-hero h1{font-size:clamp(1.8rem,7.5vw,2.65rem)!important;line-height:1.15!important;overflow-wrap:break-word}.f53-lead,.f54-lead{font-size:1rem!important;line-height:1.6!important}.f53-actions,.f54-actionbar,.f53-hero-qualities{justify-content:center;flex-wrap:wrap}.f53-art-wrap,.f54-hero-image{width:100%!important;max-width:100%!important;margin-inline:auto}.f54-hero-image{height:auto!important;object-fit:contain!important}.f53-feature-grid,.f54-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}.f54-auth-story img{width:100%!important;height:auto!important;aspect-ratio:3/1;object-fit:contain!important}.site-footer .footer-grid{gap:20px}.site-footer .mobile-footer{padding-inline:8px!important;font-size:clamp(10px,2.8vw,13px)!important}.site-footer .mobile-footer a{overflow-wrap:anywhere}.f54-content table{max-width:100%}.f54-content :is(pre,code){overflow-wrap:anywhere}}
@media(min-width:768px) and (max-width:1100px){.f53-feature-grid,.f54-brochure-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Approved European hero: shared public image presentation */
img[src*="firmato-world-signing-v5.3.webp"]{content:url("/public/assets/img/firmato-e-sign-european.png");object-fit:contain!important;height:auto!important;max-width:100%!important}
.f54-auth-story img[src*="firmato-e-sign-european.png"]{width:100%!important;height:auto!important;aspect-ratio:3/1;object-fit:contain!important;display:block;margin-inline:auto}
/* Firmato plan comparison: isolated from approved login and footer */
.firmato-plan-comparison{margin:48px 0 8px;color:#142b4b}.firmato-plan-comparison h2{font-size:clamp(24px,3vw,36px);line-height:1.2;margin:0 0 12px}.firmato-plan-comparison>p{max-width:760px;line-height:1.65}.firmato-compare-scroll{overflow-x:auto;border:1px solid #d8e2ed;border-radius:16px;background:#fff;isolation:isolate}.firmato-compare-scroll:focus-visible{outline:3px solid #1768c5;outline-offset:3px}.firmato-compare-table{width:100%;min-width:780px;border-collapse:separate;border-spacing:0;font-size:14px;line-height:1.5}.firmato-compare-table caption{text-align:start;padding:16px 20px;font-weight:700;background:#f3f7fb}.firmato-compare-table th,.firmato-compare-table td{padding:18px 16px;border-bottom:1px solid #e1e8f0;text-align:center;vertical-align:middle}.firmato-compare-table thead th{background:#122c50;color:#fff;min-width:145px}.firmato-compare-table th:first-child{position:sticky;inset-inline-start:0;text-align:start;min-width:215px;max-width:260px;z-index:1}.firmato-compare-table tbody th{background:#f6f9fc;color:#183350;font-weight:600}.firmato-compare-table thead th:first-child{z-index:2}.firmato-compare-table thead span,.firmato-compare-table strong,.firmato-compare-table small{display:block}.firmato-compare-table strong{font-size:23px;margin-top:8px;font-weight:750}.firmato-compare-table small{font-size:12px;margin-top:4px}.firmato-compare-table tbody tr:last-child>*{border-bottom:0}.firmato-compare-status{color:#4b5c71;font-size:13px}.firmato-compare-included{color:#08634e;font-weight:700}.firmato-compare-included>span{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e3f4ee;font-size:16px}.firmato-compare-hint{font-size:13px;color:#465d78}@media(max-width:640px){.firmato-plan-comparison{margin-top:32px}.firmato-compare-table th:first-child{min-width:145px;max-width:145px}.firmato-compare-table th,.firmato-compare-table td{padding:14px 12px}.firmato-compare-table{min-width:720px}}