/* FEBRY.OPS V508 — Invoice Studio PUBLIC landing only. Authenticated member visuals remain V507. */
body .iv-v508{display:none}
html.fo-guest-v504 body .iv-v508{display:block}
html.fo-guest-v504 body.fp-invoice-detail .fp-hero,
html.fo-guest-v504 body.fp-invoice-detail .fp-section.fp-split{display:none!important}
html.fo-guest-v504 body.fp-invoice-detail .fp-main>.fa-frame{min-width:0;max-width:1190px}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508{--iv-bg:#101b14;--iv-border:#314336;--iv-muted:#b8c9ba;--iv-text:#f5f9f3;--iv-accent:#b6ff40;--iv-paper:#090d0b;color:var(--iv-text);box-sizing:border-box}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508 *,html.fo-guest-v504 body.fp-invoice-detail .iv-v508 *:before,html.fo-guest-v504 body.fp-invoice-detail .iv-v508 *:after{box-sizing:border-box}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(19px,4vw,57px);align-items:center;padding:clamp(28px,4.8vw,68px) 0 38px;border-bottom:1px solid var(--iv-border)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-kicker{font:800 10px/1.5 ui-monospace,monospace;letter-spacing:.11em;color:var(--iv-accent);display:flex;align-items:center;flex-wrap:wrap;gap:9px}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-kicker span{font-size:9px;border:1px solid #638232;border-radius:5px;padding:2px 8px}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero h1{font:850 clamp(36px,4.2vw,62px)/1.07 system-ui,sans-serif;letter-spacing:-.055em;margin:17px 0 18px;max-width:660px;color:var(--iv-text)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero h1 em{font-style:normal;color:var(--iv-accent)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-lead{font:400 14px/1.75 system-ui,sans-serif;color:var(--iv-muted);max-width:540px;margin:0}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-actions{display:flex;gap:9px;flex-wrap:wrap;margin:24px 0 21px}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-actions a{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:42px;padding:11px 15px;text-decoration:none;border-radius:9px;font:800 12px/1.3 system-ui,sans-serif;white-space:normal}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-primary{background:#b6ff40;color:#090d0b!important;border:1px solid #b6ff40}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-secondary{border:1px solid #4b5d4d;background:transparent;color:var(--iv-text)!important}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-highlights{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:11px;color:var(--iv-muted)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-highlights b{color:var(--iv-accent);font:800 9px ui-monospace,monospace;margin-right:5px}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero-figure{min-width:0;margin:0;border:1px solid var(--iv-border);background:var(--iv-bg);border-radius:12px;overflow:hidden}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero-figure img{display:block;max-width:100%;width:100%;height:auto;aspect-ratio:1440/830;object-fit:cover;object-position:center}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero-figure figcaption{border-top:1px solid var(--iv-border);display:flex;gap:6px 16px;justify-content:space-between;flex-wrap:wrap;padding:10px 12px;font:11px/1.5 system-ui,sans-serif;color:var(--iv-muted)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero-figure figcaption strong{color:var(--iv-text)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-benefits,html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery,html.fo-guest-v504 body.fp-invoice-detail .iv-v508-flow{padding:35px 0 38px;border-bottom:1px solid var(--iv-border)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-section-head{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(180px,.7fr);gap:12px 28px;align-items:end;margin:0 0 17px}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-eyebrow{display:block;color:var(--iv-accent);font:800 10px/1.3 ui-monospace,monospace;letter-spacing:.08em;margin-bottom:8px}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-section-head h2{font:850 clamp(23px,2.6vw,34px)/1.17 system-ui,sans-serif;letter-spacing:-.035em;margin:0;color:var(--iv-text)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-section-head p{font:12px/1.65 system-ui,sans-serif;color:var(--iv-muted);margin:0}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table-wrap{width:100%;border:1px solid var(--iv-border);border-radius:10px;overflow:hidden;background:var(--iv-bg)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table{border-collapse:collapse;width:100%;font:12px/1.55 system-ui,sans-serif;color:var(--iv-text)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table th{text-align:left;padding:11px 14px;background:#1c2b1d;font-size:10px;letter-spacing:.025em;color:var(--iv-accent)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table td{border-top:1px solid var(--iv-border);padding:12px 14px;vertical-align:top}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table td:first-child{font-weight:650;width:34%}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table td:nth-child(2){font-weight:750;color:var(--iv-accent);width:29%}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table td:last-child{color:var(--iv-muted)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-tabs button{cursor:pointer;min-height:38px;padding:8px 13px;background:transparent;color:var(--iv-text);border:1px solid var(--iv-border);border-radius:8px;font:800 11px system-ui,sans-serif}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-tabs button[aria-pressed="true"]{background:#b6ff40;color:#090d0b;border-color:#b6ff40}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-frame{border:1px solid var(--iv-border);border-radius:12px;overflow:hidden;background:var(--iv-bg);margin:0}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-image{height:min(66vw,570px);min-height:230px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:9px;background:#0b110e}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-frame figcaption{border-top:1px solid var(--iv-border);padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;font:11px/1.5 system-ui,sans-serif;color:var(--iv-muted)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-frame figcaption a{color:var(--iv-accent);font-weight:800;text-decoration:none}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0;padding:0}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-steps li{min-width:0;border:1px solid var(--iv-border);border-radius:9px;background:var(--iv-bg);padding:15px 13px}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-steps li>span{display:inline-flex;min-height:26px;min-width:26px;align-items:center;justify-content:center;margin-bottom:12px;border:1px solid #527740;border-radius:6px;color:var(--iv-accent);font:850 11px ui-monospace,monospace}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-steps strong{display:block;font:800 13px/1.3 system-ui,sans-serif;margin:0 0 5px;color:var(--iv-text)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-steps p{margin:0;font:11px/1.55 system-ui,sans-serif;color:var(--iv-muted)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-note{border-left:2px solid #b6ff40;padding:5px 12px;margin:17px 0 0;color:var(--iv-muted);font:11px/1.6 system-ui,sans-serif}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508-note strong{color:var(--iv-text)}
html.fo-guest-v504 body.fp-invoice-detail .iv-v508 :is(a,button):focus-visible{outline:2px solid #b6ff40;outline-offset:3px}
@media(max-width:900px){html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero{grid-template-columns:1fr;gap:21px;padding-top:26px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero-figure{max-width:780px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){html.fo-guest-v504 body.fp-invoice-detail .iv-v508-hero h1{font-size:clamp(29px,8.2vw,40px)}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-lead{font-size:12px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-actions a{min-height:39px;font-size:11px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-section-head{display:block}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-section-head p{margin-top:7px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table,html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table tbody,html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table tr,html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table td{display:block;width:100%!important}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table thead{display:none}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table tr{border-bottom:1px solid var(--iv-border);padding:11px 13px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table tr:last-child{border-bottom:0}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table td{border:0;padding:3px 0;font-size:11px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table td:first-child:before{content:'MASALAH';display:block;font:800 9px ui-monospace,monospace;color:var(--iv-accent);margin-bottom:3px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-table td:nth-child(2){margin:5px 0}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-image{height:235px;min-height:200px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-gallery-frame figcaption a{flex:1 0 auto}}
@media(max-width:390px){html.fo-guest-v504 body.fp-invoice-detail .iv-v508-steps{grid-template-columns:1fr}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-steps li{padding:11px 12px}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-steps li>span{float:left;margin:0 12px 0 0}html.fo-guest-v504 body.fp-invoice-detail .iv-v508-highlights{font-size:10px;gap:5px 8px}}
/* Hide Text keeps useful core explanation and CTAs. */
html.fo-guest-v504.ms-public-minimal body.fp-invoice-detail .iv-v508-section-head>p,html.fo-guest-v504.ms-public-minimal body.fp-invoice-detail .iv-v508-note{display:none}
/* Light mode: retain readability without changing the existing theme implementation. */
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body.fp-invoice-detail .iv-v508{--iv-bg:#f5f8f3;--iv-border:#d7e0d8;--iv-muted:#516354;--iv-text:#142017;--iv-accent:#416e14;--iv-paper:#fff}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body.fp-invoice-detail .iv-v508-table th{background:#e8f0e5}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body.fp-invoice-detail .iv-v508-gallery-image{background:#edf2ec}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body.fp-invoice-detail .iv-v508-primary{background:#142017;color:#f5f9f3!important;border-color:#142017}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body.fp-invoice-detail .iv-v508-gallery-tabs button[aria-pressed="true"]{background:#142017;border-color:#142017;color:#f5f9f3}
