/* FEBRY.OPS V507 — Catatan Kost guest-only marketing enhancement.
   Never changes signed-in member / owner / resident pages.
   All selectors scoped to confirmed guest and the existing public landing. */
html.fo-guest-v504 body .ck-public .ck-v507-intro,
html.fo-guest-v504 body .ck-public .ck-v507-detail{display:block}
body .ck-public .ck-v507-intro,body .ck-public .ck-v507-detail{display:none}
html.fo-guest-v504 body .ck-public .ck-intro,
html.fo-guest-v504 body .ck-public .ck-feature-section,
html.fo-guest-v504 body .ck-public .ck-steps{display:none!important}
/* Legacy guest font/language control already lives inside Beranda panel. */
html.fo-guest-v504 body .ck-global-header .fa-guest .fo-guest-settings,
html.fo-guest-v504 body .fo-v505-servicebar .fo-prefs-toggle{display:none!important}
html.fo-guest-v504 body .ck-public{--k-panel:#101b13;--k-line:#314736;--k-muted:#b6c6b6;--k-bright:#f5f9f3;--k-accent:#b6ff40;--k-dark:#090d0b;max-width:1180px;min-width:0}
html.fo-guest-v504 body .ck-public *,html.fo-guest-v504 body .ck-public *::before,html.fo-guest-v504 body .ck-public *::after{box-sizing:border-box}
html.fo-guest-v504 body .ck-public .ck-entry{grid-template-columns:minmax(0,1.12fr) minmax(290px,.88fr);gap:clamp(20px,4vw,50px);align-items:center;min-height:0;padding:clamp(26px,4.5vw,58px) 0 30px}
html.fo-guest-v504 body .ck-v507-intro{min-width:0}
html.fo-guest-v504 body .ck-v507-intro .ck-v507-kicker{display:flex;align-items:center;gap:9px;margin:0 0 14px;color:var(--k-accent);font:800 10px/1.5 ui-monospace,monospace;letter-spacing:.11em}
html.fo-guest-v504 body .ck-v507-kicker::before{content:'';width:7px;height:7px;flex:0 0 7px;background:var(--k-accent);border-radius:50%}
html.fo-guest-v504 body .ck-v507-intro h1{margin:0 0 14px;max-width:740px;color:var(--k-bright);font-size:clamp(32px,4.8vw,58px);line-height:1.09;letter-spacing:-.052em;text-wrap:balance}
html.fo-guest-v504 body .ck-v507-intro h1 span{color:var(--k-accent)}
html.fo-guest-v504 body .ck-v507-intro .ck-v507-lead{color:var(--k-muted);font-size:14px;line-height:1.75;max-width:580px;margin:0 0 18px}
html.fo-guest-v504 body .ck-v507-cta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:16px}
html.fo-guest-v504 body .ck-v507-cta a{display:inline-flex;justify-content:center;align-items:center;min-height:39px;border-radius:9px;padding:9px 14px;text-decoration:none;font-size:12px;font-weight:800;line-height:1.4;border:1px solid #48634a}
html.fo-guest-v504 body .ck-v507-cta .ck-v507-main{background:var(--k-accent);border-color:var(--k-accent);color:var(--k-dark)!important;-webkit-text-fill-color:var(--k-dark)!important}
html.fo-guest-v504 body .ck-v507-cta .ck-v507-alt{color:var(--k-bright)!important;background:#131e16}
html.fo-guest-v504 body .ck-v507-pills{display:flex;flex-wrap:wrap;gap:7px}
html.fo-guest-v504 body .ck-v507-pills span{color:var(--k-muted);font-size:11px;line-height:1.4;padding:6px 9px;border:1px solid var(--k-line);border-radius:7px}
html.fo-guest-v504 body .ck-public .ck-login-panel{padding:18px;border-color:#3c563e;box-shadow:none;max-width:100%;background:var(--k-panel)}
html.fo-guest-v504 body .ck-login-panel h2{font-size:21px;margin-bottom:6px}
html.fo-guest-v504 body .ck-login-panel .field{margin:12px 0}
html.fo-guest-v504 body .ck-v507-detail{min-width:0}
html.fo-guest-v504 body .ck-v507-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:13px}
html.fo-guest-v504 body .ck-v507-label{display:block;color:var(--k-accent);font:800 10px/1.4 ui-monospace,monospace;letter-spacing:.09em;margin-bottom:6px}
html.fo-guest-v504 body .ck-v507-head h2,html.fo-guest-v504 body .ck-v507-how h2{font-size:clamp(20px,2.2vw,27px);letter-spacing:-.035em;line-height:1.2;margin:0;color:var(--k-bright)}
html.fo-guest-v504 body .ck-v507-head>p{font-size:11.5px;line-height:1.6;color:var(--k-muted);max-width:330px;margin:0}
html.fo-guest-v504 body .ck-v507-problems{border-top:1px solid var(--k-line);padding:22px 0 24px}
html.fo-guest-v504 body .ck-v507-table-wrap{border:1px solid var(--k-line);border-radius:11px;background:#0d1610;overflow:hidden}
html.fo-guest-v504 body .ck-v507-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:12px;color:var(--k-bright)}
html.fo-guest-v504 body .ck-v507-table th{background:#15251a;padding:10px 13px;font-size:10px;text-transform:uppercase;letter-spacing:.055em;color:var(--k-accent);border-bottom:1px solid var(--k-line)}
html.fo-guest-v504 body .ck-v507-table td{padding:11px 13px;vertical-align:top;border-bottom:1px solid var(--k-line);line-height:1.58;overflow-wrap:break-word}
html.fo-guest-v504 body .ck-v507-table tr:last-child td{border-bottom:0}
html.fo-guest-v504 body .ck-v507-table th:nth-child(1){width:34%}html.fo-guest-v504 body .ck-v507-table th:nth-child(2){width:25%}
html.fo-guest-v504 body .ck-v507-table td:nth-child(2){color:var(--k-accent);font-weight:750}
html.fo-guest-v504 body .ck-v507-gallery{padding:24px 0;border-top:1px solid var(--k-line)}
html.fo-guest-v504 body .ck-v507-preview-controls{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
html.fo-guest-v504 body .ck-v507-preview-controls button{font:750 11px/1.3 system-ui,sans-serif;padding:8px 12px;min-height:35px;background:#131f16;border:1px solid var(--k-line);border-radius:7px;color:var(--k-bright);cursor:pointer}
html.fo-guest-v504 body .ck-v507-preview-controls button[aria-pressed="true"]{background:var(--k-accent);color:var(--k-dark);border-color:var(--k-accent)}
html.fo-guest-v504 body .ck-v507-preview-frame{margin:0;padding:10px;border:1px solid var(--k-line);background:#0b130d;border-radius:12px;overflow:hidden}
html.fo-guest-v504 body .ck-v507-preview-frame img{display:block;width:100%;height:auto;aspect-ratio:1250/710;object-fit:contain;object-position:top center;border-radius:6px;background:#090d0b}
html.fo-guest-v504 body .ck-v507-preview-frame figcaption{font-size:11px;color:var(--k-muted);padding:9px 2px 2px;line-height:1.55}
html.fo-guest-v504 body .ck-v507-how{padding:23px 0;border-top:1px solid var(--k-line)}
html.fo-guest-v504 body .ck-v507-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;list-style:none;margin:16px 0 0;padding:0}
html.fo-guest-v504 body .ck-v507-flow li{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--k-line);border-radius:10px;padding:13px;background:var(--k-panel);min-width:0}
html.fo-guest-v504 body .ck-v507-flow li>span{color:var(--k-accent);font:800 14px/1.3 ui-monospace,monospace}
html.fo-guest-v504 body .ck-v507-flow strong{font-size:12px;color:var(--k-bright)}
html.fo-guest-v504 body .ck-v507-flow p{font-size:11px;line-height:1.6;margin:5px 0 0;color:var(--k-muted)}
html.fo-guest-v504 body .ck-v507-limits{padding:11px 13px;border:1px solid var(--k-line);background:#101b13;border-radius:8px;margin:0 0 22px;font-size:11px;color:var(--k-muted);line-height:1.6}
html.fo-guest-v504 body .ck-v507-limits strong{color:var(--k-bright)}
html.fo-guest-v504 body .ck-v507-detail :is(a,button):focus-visible,html.fo-guest-v504 body .ck-v507-intro a:focus-visible{outline:2px solid var(--k-accent);outline-offset:2px}
@media(max-width:870px){html.fo-guest-v504 body .ck-public .ck-entry{grid-template-columns:1fr!important;gap:17px!important;align-items:stretch!important;padding:25px 0!important}html.fo-guest-v504 body .ck-login-panel{max-width:620px!important;justify-self:stretch!important}}
@media(max-width:650px){html.fo-guest-v504 body .ck-v507-intro h1{font-size:clamp(30px,8vw,40px)!important}html.fo-guest-v504 body .ck-v507-intro .ck-v507-lead{font-size:12.5px}html.fo-guest-v504 body .ck-v507-head{display:block}html.fo-guest-v504 body .ck-v507-head>p{margin-top:8px}html.fo-guest-v504 body .ck-v507-flow{grid-template-columns:1fr;gap:8px}html.fo-guest-v504 body .ck-v507-table,html.fo-guest-v504 body .ck-v507-table tbody,html.fo-guest-v504 body .ck-v507-table tr,html.fo-guest-v504 body .ck-v507-table td{display:block;width:100%!important}html.fo-guest-v504 body .ck-v507-table thead{display:none}html.fo-guest-v504 body .ck-v507-table tr{padding:10px 12px;border-bottom:1px solid var(--k-line)}html.fo-guest-v504 body .ck-v507-table tr:last-child{border:0}html.fo-guest-v504 body .ck-v507-table td{padding:3px 0;border:0;font-size:11.5px}html.fo-guest-v504 body .ck-v507-table td:nth-child(1)::before{content:'MASALAH';display:block;color:var(--k-accent);font:800 9px ui-monospace,monospace;margin-bottom:3px}html.fo-guest-v504 body .ck-v507-table td:nth-child(3){color:var(--k-muted)}html.fo-guest-v504 body .ck-v507-preview-frame{padding:6px}html.fo-guest-v504 body .ck-v507-cta a{flex:1 1 auto}}
/* Hide Text: leave product identity and login usable; hide explanatory details only. */
html.fo-guest-v504.ms-public-minimal body .ck-v507-head>p,
html.fo-guest-v504.ms-public-minimal body .ck-v507-limits{display:none!important}
/* Explicit guest-only light theme adaptation. */
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-public{--k-panel:#f5f8f3;--k-line:#d5ded5;--k-muted:#526454;--k-bright:#132119;--k-accent:#386918;--k-dark:#fff}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-v507-intro .ck-v507-cta .ck-v507-main{background:#142017;border-color:#142017;color:#f5f9f3!important;-webkit-text-fill-color:#f5f9f3!important}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-v507-cta .ck-v507-alt{color:#142017!important;background:#fff}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-v507-table-wrap{background:#fff}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-v507-table th{background:#eaf2e5}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-v507-preview-controls button{background:#fff;color:#142017}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-v507-preview-controls button[aria-pressed="true"]{background:#142017;color:#f5f9f3}
html.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-v507-preview-frame{background:#fff}

/* Actual screenshot thumbnails can be enlarged and panned on narrow screens. */
html.fo-guest-v504 body .ck-v507-enlarge{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:8px 12px;min-height:34px;border:1px solid var(--k-line);border-radius:7px;background:var(--k-panel);color:var(--k-bright);font-size:11px;font-weight:750;cursor:pointer}
html.fo-guest-v504 body .ck-v507-lightbox{width:min(94vw,1170px);height:auto;max-height:92dvh;padding:0;margin:auto;border:1px solid #49614c;border-radius:12px;background:#0d1510;color:#f5f9f3;box-shadow:0 24px 90px #000b}
html.fo-guest-v504 body .ck-v507-lightbox::backdrop{background:#000c}
html.fo-guest-v504 body .ck-v507-lightbox-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid #304433}
html.fo-guest-v504 body .ck-v507-lightbox-bar strong{font:800 11px system-ui,sans-serif;color:#b6ff40}
html.fo-guest-v504 body .ck-v507-lightbox-bar button{font:750 11px system-ui,sans-serif;padding:7px 10px;border:1px solid #45644a;border-radius:6px;color:#f5f9f3;background:#152019;cursor:pointer}
html.fo-guest-v504 body .ck-v507-lightbox-scroll{overflow:auto;max-height:calc(92dvh - 65px)}
html.fo-guest-v504 body .ck-v507-lightbox-scroll img{display:block;width:max(100%,900px);height:auto;max-width:none}
/* Restore product accent where global V491 light text lock targets h1/span. */
:root.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-public .ck-v507-intro h1 span,
:root.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-public .ck-v507-label,
:root.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-public .ck-v507-kicker,
:root.fo-guest-v504:is([data-theme="light"],[data-fo-theme="light"]) body .ck-public .ck-v507-flow li>span{color:#386918!important;-webkit-text-fill-color:#386918!important}
