/*
Theme Name: Factoring Workspace
Description: Tema portal Factoring Manager dengan tampilan tabel, aksen baby blue, dan siluet keuangan tipis.
Version: 1.0.6
Author: Factoring Manager
Requires at least: 6.6
Tested up to: 7.1.2
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: factoring-workspace
Tags: one-column, full-width-template, custom-logo
*/
:root{--fw-blue:#0866ef;--fw-ink:#172947;--fw-muted:#7588a2;--fw-line:#dbe6f3}*{box-sizing:border-box}body{margin:0;background:#f8fbff;color:var(--fw-ink);font:14px/1.5 Arial,Helvetica,sans-serif}body:before{content:"";position:fixed;inset:90px 0 0;pointer-events:none;z-index:-1;background:url("assets/finance-silhouette.svg") center top/cover no-repeat;opacity:.64}a{color:var(--fw-blue)}button,input,select{font:inherit}.fw-skip{position:fixed;left:16px;top:-100px;background:#fff;padding:12px;z-index:100000}.fw-skip:focus{top:12px}.fw-fallback{max-width:780px;margin:80px auto;background:#fff;border:1px solid var(--fw-line);border-radius:14px;padding:32px}.fw-fallback h1{margin:0 0 16px}.fw-content{max-width:1100px;margin:40px auto;padding:24px;background:white;border-radius:12px}.fw-content h1{font-size:30px}.fw-main{min-height:100vh}.fw-login-brand{display:flex;align-items:center;gap:14px;padding:24px 36px;border-bottom:1px solid var(--fw-line);background:#fff;font-size:24px;font-weight:700}.fw-login-brand small{font-size:24px;font-weight:400;color:#536b89}.fw-footer{padding:24px 36px;color:var(--fw-muted);display:flex;justify-content:space-between;font-size:12px}.fw-logo{width:48px;height:48px;border-radius:12px;background:#eaf3ff;display:inline-flex;align-items:center;justify-content:center;color:var(--fw-blue);border:1px solid #daeaff}.fw-logo svg{width:26px;height:26px}.fw-login-brand .custom-logo-link img{max-height:48px;width:auto}.fw-login-box{max-width:620px;margin:80px auto;padding:32px;background:#fff;border:1px solid var(--fw-line);border-radius:14px}@media(max-width:600px){.fw-login-brand{padding:18px}.fw-login-box{margin:36px 16px;padding:24px}.fw-footer{padding:20px 18px}.fw-content{margin:24px 16px;padding:20px}}

/* Time-aware short sky header. The rest of the page is a flat solid color. */
:root{--fw-body:#edf4fa;--fw-sky-top:#b9dfff;--fw-sky-bottom:#e4f2fc;--fw-outside:#172947;--fw-outside-muted:#576e8a;--fw-sky-height:195px}
html[data-sky="day"]{--fw-body:#e5f1fa;--fw-sky-top:#83c8f6;--fw-sky-bottom:#d8edfb}
html[data-sky="evening"]{--fw-body:#f5e9e5;--fw-sky-top:#d2b7dc;--fw-sky-bottom:#f6d7be;--fw-outside:#3c3045;--fw-outside-muted:#735f75}
html[data-sky="night"]{--fw-body:#17263a;--fw-sky-top:#101e38;--fw-sky-bottom:#2d405e;--fw-outside:#edf4ff;--fw-outside-muted:#c1cee0}
body.factoring-workspace{background:var(--fw-body);transition:background-color 4s ease;color:var(--fw-outside)}body.factoring-workspace:before{display:none}.fw-main{position:relative;z-index:1}.fw-sky{position:absolute;top:0;left:0;width:100%;height:var(--fw-sky-height);overflow:hidden;pointer-events:none;background:linear-gradient(var(--fw-sky-top),var(--fw-sky-bottom));transition:background 4s ease;z-index:0}
.fw-clouds{position:absolute;inset:0 -1200px 0 0;background:url("assets/sky-clouds.svg") left center/1200px 220px repeat-x;animation:fw-cloud-drift 140s linear infinite;opacity:.65}.fw-clouds-back{transform:scale(1.3);animation-duration:210s;opacity:.35}.fw-clouds-front{animation-delay:-65s}html[data-sky="night"] .fw-clouds{opacity:.09}
.fw-orb{position:absolute;right:12%;top:100px;width:42px;height:42px;border-radius:50%;background:#fff4c8;opacity:.7;box-shadow:0 0 28px #fff1bd55;transition:background 4s,box-shadow 4s}html[data-sky="evening"] .fw-orb{top:135px;background:#ffe7bc}html[data-sky="night"] .fw-orb{background:transparent;box-shadow:inset -10px -4px 0 0 #eaf1ff;opacity:.9}.fw-stars{position:absolute;inset:0;background-image:radial-gradient(circle at 12% 22%,#fff 0 1px,transparent 2px),radial-gradient(circle at 37% 48%,#fff 0 1px,transparent 2px),radial-gradient(circle at 65% 18%,#fff 0 1px,transparent 2px),radial-gradient(circle at 80% 65%,#fff 0 1px,transparent 2px);background-size:420px 180px;opacity:0;transition:opacity 4s}html[data-sky="night"] .fw-stars{opacity:.6;animation:fw-star-glow 8s ease-in-out infinite alternate}
#fm-app.fm-theme-root{background:transparent}.fm-masthead,.fw-login-brand{background:#ffffffd9;backdrop-filter:blur(6px)}#fm-app.fm-theme-root .fm-header h1,#fm-app.fm-theme-root .fm-scope{color:var(--fw-outside)}#fm-app.fm-theme-root .fm-context,#fm-app.fm-theme-root .fm-footer,#fm-app.fm-theme-root .fm-footnote,.fm-page-footer,.fw-footer{color:var(--fw-outside-muted)}#fm-app.fm-theme-root .fm-tabs button{color:var(--fw-outside)}#fm-app.fm-theme-root .fm-tabs button.is-active{color:#0866ef;background:#e4f1ff}#fm-app.fm-theme-root .fm-toolbar,#fm-app.fm-theme-root .fm-bulk{color:#172947}.fw-login-box,.fw-fallback,.fw-content{color:#172947}.fw-main .fw-login-brand{color:#172947}
@keyframes fw-cloud-drift{from{background-position:0 center}to{background-position:1200px center}}@keyframes fw-star-glow{from{opacity:.35}to{opacity:.65}}@media(prefers-reduced-motion:reduce){.fw-clouds,.fw-stars{animation:none!important}body.factoring-workspace,.fw-orb,.fw-stars{transition:none!important}}@media(max-width:760px){:root{--fw-sky-height:225px}.fw-orb{right:8%;width:30px;height:30px;top:150px}}

/* Approved invoice identity and compact transparent masthead. */
.fm-masthead,.fw-login-brand{position:relative;min-height:68px;padding:10px 38px;background:rgba(255,255,255,.12);backdrop-filter:none;border-bottom:0;box-shadow:0 5px 14px #16385b18;z-index:2}
.fm-brand{gap:12px;font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:28px;letter-spacing:-1px;font-weight:600}.fm-brand-icon{width:44px;height:44px;background:none;border:0;border-radius:0}.fm-brand-icon img{width:44px;height:44px;max-width:44px;max-height:44px}.fm-wordmark strong,.fw-wordmark strong{color:#102e57;font-weight:800}.fm-wordmark>span,.fw-wordmark small{color:#0866ef;font-weight:500;font-size:inherit}.fw-wordmark{font-family:"Trebuchet MS",Arial,Helvetica,sans-serif;font-size:28px;letter-spacing:-1px;white-space:nowrap}.fw-login-brand{gap:12px}.fw-login-brand .fw-logo{width:44px;height:44px;border:0;background:none}.fw-logo img{width:44px;height:44px}.fm-workspace{padding-top:24px}#fm-app.fm-theme-root .fm-header{margin-bottom:24px}.fw-sky{box-shadow:0 5px 15px #18385e12}
html[data-sky="night"] .fm-wordmark strong,html[data-sky="night"] .fw-wordmark strong{color:#f2f7ff}html[data-sky="night"] .fm-wordmark>span,html[data-sky="night"] .fw-wordmark small{color:#8fc6ff}html[data-sky="night"] .fm-logout,html[data-sky="night"] .fm-role-label,html[data-sky="night"] #fm-app.fm-theme-root #fm-access{color:#dfedff}
@media(min-width:1600px){.fm-masthead,.fw-login-brand{padding-left:50px;padding-right:50px}}@media(max-width:760px){.fm-masthead,.fw-login-brand{min-height:64px;padding:10px 18px;gap:10px}.fm-brand,.fw-wordmark{font-size:23px;letter-spacing:-.7px}.fm-brand-icon,.fm-brand-icon img{width:36px;height:36px;max-width:36px;max-height:36px}.fm-workspace{padding-top:22px}}@media(max-width:420px){.fm-masthead{flex-wrap:wrap}.fm-brand{font-size:22px}#fm-app.fm-theme-root .fm-header-actions{gap:10px;width:100%;justify-content:flex-end}.fm-avatar{width:30px;height:30px}}
/* Public landing page */
.fw-landing-nav{min-height:68px;padding:12px max(24px,calc((100vw - 1480px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;background:#ffffff1f;box-shadow:0 5px 14px #16385b18}.fw-landing-brand{display:flex;align-items:center;gap:12px;text-decoration:none;white-space:nowrap}.fw-landing-brand img{width:42px;height:42px;object-fit:contain}.fw-landing-nav nav{display:flex;align-items:center;gap:30px}.fw-landing-nav nav a{color:var(--fw-outside);text-decoration:none;font-size:14px}.fw-landing-nav nav .fw-login-link{background:#0866ef;color:#fff;border-radius:8px;padding:11px 28px;box-shadow:0 4px 14px #0866ef22}.fw-landing{max-width:1530px;padding:32px 24px 0;margin:auto}.fw-hero{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:34px;align-items:start;margin-bottom:26px}.fw-hero-content{position:relative;min-height:355px;display:flex;align-items:center;gap:0}.fw-hero-copy{flex:1;min-width:0;position:relative;z-index:1}.fw-eyebrow{font-size:12px;font-weight:700;letter-spacing:2.8px;color:var(--fw-outside-muted);margin:0 0 16px}.fw-hero h1{font-size:clamp(32px,3vw,49px);line-height:1.12;letter-spacing:-1.4px;margin:0 0 20px;max-width:550px;font-weight:800;color:var(--fw-outside)}.fw-intro{font-size:17px;line-height:1.65;color:var(--fw-outside-muted);max-width:530px;margin:0 0 23px}.fw-benefits{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:0;padding:0}.fw-benefits li{border:1px solid #a9c8ed;border-radius:30px;padding:9px 13px;font-size:12px;color:var(--fw-outside);background:#ffffff30}.fw-hero-art{width:34%;height:auto;max-width:330px;min-width:210px;flex:none;object-fit:contain}.fw-login-card{background:white;color:#172947;border:1px solid #dbe6f3;border-radius:14px;box-shadow:0 12px 40px #3165990b;padding:27px 28px;scroll-margin-top:20px}.fw-login-card h2{font-size:25px;letter-spacing:-.5px;margin:0 0 6px;line-height:1.2}.fw-login-card>p{color:#536c8b;margin:0 0 18px;font-size:13px}.fw-login-card form p{margin:14px 0;position:relative}.fw-login-card label{display:block;font-weight:600;font-size:13px;margin-bottom:7px}.fw-login-card input[type=text],.fw-login-card input[type=password]{font:inherit;font-size:15px;color:#172947;width:100%;border:1px solid #cfdef0;border-radius:7px;padding:11px 13px;min-height:43px;background:#fff;box-sizing:border-box}.fw-login-card .login-password input{padding-right:83px}.fw-login-card .login-remember label{font-size:12px;font-weight:400;display:flex;gap:8px;align-items:center}.fw-login-card input[type=checkbox]{width:16px;height:16px;accent-color:#0866ef}.fw-login-card .login-submit input{width:100%;background:#0866ef;color:#fff;min-height:44px;border:0;border-radius:7px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.fw-login-card .fw-password-toggle{position:absolute;right:9px;bottom:10px;border:0;background:transparent;color:#0866ef;font:inherit;font-size:11px;padding:4px;cursor:pointer}.fw-lost-password{display:block;text-align:right;font-size:12px;margin-top:5px}.fw-login-card .fw-login-note{margin:18px 0 0;text-align:center;line-height:1.8;font-size:11px}.fw-login-note span{color:#7891af}.fw-features>h2,.fw-info-panel h2{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin:0 0 16px}.fw-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.fw-feature-card{display:flex;align-items:flex-start;gap:14px;background:#fff;border:1px solid #dbe6f3;border-radius:11px;padding:21px 18px;color:#172947}.fw-feature-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;flex:none;background:#eaf4ff;color:#0866ef;border-radius:50%}.fw-feature-icon svg{width:26px;height:26px}.fw-feature-card h3{font-size:15px;margin:2px 0 8px;line-height:1.3}.fw-feature-card p{font-size:12px;color:#536c8b;line-height:1.65;margin:0}.fw-info-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;margin:20px 0 15px}.fw-info-panel{background:white;color:#172947;padding:22px 24px;border:1px solid #dbe6f3;border-radius:11px;scroll-margin-top:20px}.fw-info-panel h2{font-size:21px}.fw-flow{counter-reset:flow;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;padding:0;margin:20px 0 24px}.fw-flow li{counter-increment:flow;display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;line-height:1.4;position:relative}.fw-flow li:before{content:counter(flow);background:#dceeff;color:#0866ef;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;flex:none;font-size:18px;font-weight:700}.fw-info-panel>p{color:#6e87a6;font-size:11px;line-height:1.7;margin:0}.fw-terms{list-style:none;padding:0;margin:0 0 15px}.fw-terms li{position:relative;padding-left:19px;margin:8px 0;font-size:12px;line-height:1.6;color:#526c8c}.fw-terms li:before{content:'✓';position:absolute;left:0;color:#0866ef}.fw-info-panel .fw-record-note{padding-top:11px;border-top:1px solid #dbe6f3}.fw-landing-footer{display:flex;justify-content:space-between;gap:20px;padding:16px 0 18px;border-top:1px solid #dbe6f3;font-size:11px;color:var(--fw-outside-muted)}.fw-landing-footer strong{color:var(--fw-outside)}.fw-landing a:focus-visible,.fw-landing input:focus-visible,.fw-landing button:focus-visible,.fw-landing-nav a:focus-visible{outline:3px solid #80baff;outline-offset:3px}.fw-features{scroll-margin-top:20px}
@media(max-width:1250px){.fw-hero{grid-template-columns:minmax(0,1fr) 360px;gap:22px}.fw-hero-art{min-width:160px;width:30%}.fw-feature-card{gap:10px;padding:18px 14px}.fw-feature-icon{width:38px;height:38px}.fw-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:950px){.fw-hero{grid-template-columns:1fr 330px}.fw-hero-art{display:none}.fw-hero-content{min-height:0;padding-top:12px}.fw-hero h1{font-size:35px}.fw-intro{font-size:15px}.fw-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fw-landing-nav nav{gap:18px}.fw-wordmark{font-size:24px}.fw-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.fw-landing-nav{padding:12px 18px;flex-wrap:wrap;gap:15px}.fw-landing-nav nav{width:100%;justify-content:space-between;gap:12px}.fw-landing-nav nav a{font-size:12px}.fw-landing-nav nav .fw-login-link{padding:8px 18px}.fw-landing{padding:25px 18px 0}.fw-hero{grid-template-columns:1fr;gap:22px;margin-bottom:25px}.fw-hero h1{font-size:36px;max-width:600px}.fw-hero-content{min-height:0}.fw-intro{font-size:15px;margin-bottom:19px}.fw-eyebrow{font-size:10px;letter-spacing:2px}.fw-login-card{padding:24px}.fw-feature-grid,.fw-info-grid{grid-template-columns:1fr}.fw-feature-card{padding:18px;align-items:center}.fw-info-panel{padding:21px}.fw-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.fw-landing-footer{flex-direction:column;gap:8px}.fw-benefits li{font-size:11px;padding:8px 11px}}
/* Compact landing: natural content height, with no forced clipping. */
.fw-landing-nav{min-height:60px;padding-top:9px;padding-bottom:9px}.fw-landing-nav nav .fw-login-link{padding:9px 24px}.fw-landing{max-width:1400px;padding:22px 28px 0}.fw-hero{grid-template-columns:minmax(0,1fr) 340px;gap:34px;margin-bottom:16px;align-items:start}.fw-hero-content{min-height:0;align-items:center;margin-bottom:18px}.fw-hero h1{font-size:clamp(30px,3vw,42px);line-height:1.12;letter-spacing:-1px;margin-bottom:12px;max-width:none}.fw-eyebrow{font-size:10px;letter-spacing:2px;margin-bottom:11px}.fw-intro{font-size:14px;line-height:1.55;margin-bottom:13px;max-width:410px}.fw-benefits{gap:7px}.fw-benefits li{font-size:11px;padding:6px 10px}.fw-hero-art{display:block;width:34%;min-width:150px;max-width:260px}.fw-features>h2{font-size:17px;margin:0 0 10px}.fw-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fw-feature-card{padding:13px 14px;gap:11px;align-items:center;min-height:76px}.fw-feature-icon{width:35px;height:35px}.fw-feature-icon svg{width:21px;height:21px}.fw-feature-card h3{font-size:13px;margin:0 0 4px}.fw-feature-card p{font-size:11px;line-height:1.5}.fw-login-card{padding:23px 24px}.fw-login-card h2{font-size:23px}.fw-login-card>p{font-size:12px;margin-bottom:13px}.fw-login-card form p{margin:11px 0}.fw-login-card label{font-size:12px;margin-bottom:6px}.fw-login-card input[type=text],.fw-login-card input[type=password]{min-height:40px;padding:9px 11px;font-size:14px}.fw-login-card .login-password input{padding-right:78px}.fw-login-card .login-remember{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px 0}.fw-login-card .login-remember label{margin:0;font-size:11px}.fw-login-card .fw-lost-password{font-size:11px;margin:0}.fw-login-card .login-submit input{min-height:40px}.fw-login-card .fw-login-note{font-size:10px;margin:13px 0 0;line-height:1.7}.fw-compact-flow{display:flex;align-items:center;gap:25px;background:#fff;border:1px solid #dbe6f3;border-radius:10px;padding:17px 20px;color:#172947;margin-bottom:12px;scroll-margin-top:16px}.fw-compact-flow h2{font-size:15px;margin:0;white-space:nowrap}.fw-compact-flow .fw-flow{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}.fw-compact-flow .fw-flow li{font-size:11px;gap:8px}.fw-compact-flow .fw-flow li:before{width:28px;height:28px;font-size:15px}.fw-terms-details{background:#ffffffa6;border:1px solid #dbe6f3;border-radius:9px;color:#172947;scroll-margin-top:16px}.fw-terms-details summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 18px;list-style:none;font-size:12px}.fw-terms-details summary::-webkit-details-marker{display:none}.fw-terms-details summary>span:first-child{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.fw-terms-details small{font-size:11px;color:#5f7899}.fw-terms-action{font-size:11px;color:#0866ef;white-space:nowrap}.fw-terms-action:after{content:' +';font-size:15px}.fw-terms-details[open] .fw-terms-action:after{content:' −'}.fw-terms-content{padding:0 18px 15px}.fw-terms-content .fw-terms{margin:0 0 10px}.fw-terms-content .fw-record-note{font-size:11px;color:#6e87a6;margin:0}.fw-landing-footer{padding:13px 0;margin-top:12px;font-size:10px}.fw-terms-details summary:focus-visible{outline:3px solid #80baff;outline-offset:2px}
@media(min-width:1000px) and (max-height:760px){.fw-landing{padding-top:16px}.fw-hero{gap:28px;margin-bottom:13px}.fw-hero-content{margin-bottom:13px}.fw-hero h1{font-size:36px}.fw-hero-art{max-width:220px}.fw-feature-card{min-height:69px;padding:11px 13px}.fw-feature-grid{gap:8px}.fw-login-card{padding:19px 22px}.fw-compact-flow{padding:14px 18px;margin-bottom:10px}.fw-terms-details summary{padding:11px 16px}.fw-landing-footer{padding:10px 0;margin-top:10px}}
@media(max-width:1050px){.fw-hero{grid-template-columns:minmax(0,1fr) 310px;gap:20px}.fw-hero-art{display:none}.fw-feature-icon{width:28px;height:28px}.fw-feature-card{padding:12px;gap:8px}.fw-hero h1{font-size:34px}.fw-compact-flow{gap:18px}.fw-compact-flow .fw-flow{gap:12px}}
@media(max-width:700px){.fw-landing-nav{padding:10px 18px}.fw-landing{padding:22px 18px 0}.fw-hero{grid-template-columns:1fr;gap:20px}.fw-hero h1{font-size:35px}.fw-hero-content{margin-bottom:20px}.fw-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fw-feature-card{align-items:flex-start;min-height:0}.fw-feature-icon{display:none}.fw-login-card{padding:22px}.fw-compact-flow{flex-direction:column;align-items:stretch;padding:16px;gap:13px}.fw-compact-flow .fw-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fw-terms-details summary>span:first-child{gap:6px;flex-direction:column;align-items:flex-start}.fw-terms-details summary{padding:13px}.fw-terms-details small{font-size:10px;line-height:1.5}.fw-landing-footer{flex-direction:column;gap:7px}}
