*{box-sizing:border-box}body{color:#17211b;background:#f5f7f6;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{background:var(--primary,#1b5e20);color:#fff;cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:10px 14px;font-weight:700;display:inline-flex}button:disabled{opacity:.55;cursor:not-allowed}.ghost,.secondaryBtn{color:var(--primary);background:#eef4ef}.splash{color:#1b5e20;place-items:center;min-height:100vh;font-size:30px;font-weight:800;display:grid}.login{background:linear-gradient(135deg,#effbea,#f8fbf8);place-items:center;min-height:100vh;display:grid}.loginCard{text-align:center;background:#fff;border-radius:22px;flex-direction:column;gap:12px;width:min(390px,92vw);padding:34px;display:flex;box-shadow:0 20px 60px #173d1f22}.brandMark{font-size:52px}.login input,.field input,.field select,.field textarea,.settings input,.settings textarea{background:#fff;border:1px solid #d9e2dc;border-radius:10px;width:100%;padding:11px 12px}.err,.red{color:#c62828}.green{color:#137333}.app{grid-template-columns:250px 1fr;min-height:100vh;display:grid}aside{background:#fff;border-right:1px solid #e5ebe7;flex-direction:column;gap:14px;height:100vh;padding:18px 14px;display:flex;position:sticky;top:0}.logo{align-items:center;gap:10px;display:flex}.leaf{font-size:30px}.logo b{color:var(--primary);font-size:20px}.logo span,.tenant small,.user span{color:#6d786f;font-size:11px;display:block}.tenant{background:#f1f8ee;border-radius:12px;padding:12px}.tenant b{color:var(--primary)}nav{flex-direction:column;gap:4px;display:flex;overflow:auto}nav button,.logout{color:#34423a;background:0 0;justify-content:flex-start;font-weight:600}nav button.active{background:var(--primary);color:#fff}.logout{margin-top:auto}main{min-width:0}header{z-index:10;background:#fff;border-bottom:1px solid #e5ebe7;justify-content:space-between;align-items:center;height:76px;padding:0 24px;display:flex;position:sticky;top:0}header h2{margin:0;font-size:24px}header small{color:#728078}.user{text-align:right}.content{max-width:1600px;margin:auto;padding:24px}.cards{grid-template-columns:repeat(6,minmax(150px,1fr));gap:14px;display:grid}.card{background:#fff;border:1px solid #e4ebe6;border-radius:16px;padding:18px;box-shadow:0 5px 20px #173d1f0c}.kpi span{color:#68746d;font-size:12px}.kpi strong{color:var(--primary);margin-top:8px;font-size:22px;display:block}.grid2{grid-template-columns:1.4fr 1fr;gap:16px;margin-top:16px;display:grid}.card h3,.card h4{margin-top:0}.toolbar{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.toolbar h3,.toolbar h4{margin:0}.actions{flex-wrap:wrap;gap:8px;display:flex}.compact{margin:4px 0 0}.tableWrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:700px;font-size:13px}th,td{text-align:left;vertical-align:middle;border-bottom:1px solid #edf1ee;padding:11px 8px}th{color:#607069;background:#fafcfb;position:sticky;top:0}.badge,.warning,.bad{white-space:nowrap;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700}.badge{color:#1b5e20;background:#e8f5e9}.warning{color:#9a5a00;background:#fff3e0}.bad{color:#b71c1c;background:#ffebee}.rowItem{border-bottom:1px solid #edf1ee;justify-content:space-between;align-items:center;padding:10px 0;display:flex}.rowItem small{color:#7a857f;display:block}.mini{padding:7px 10px}.muted{color:#77827c}.empty{text-align:center;color:#7b8780;background:#fafcfb;border-radius:12px;padding:28px 12px}.inlineError{color:#b71c1c;background:#ffebee;border-radius:10px;margin:10px 0;padding:10px}.success{color:#1b5e20;background:#e8f5e9;border-radius:10px;margin:10px 0;padding:10px}.spacer{height:16px}.formPanel{background:#f8fbf8;border:1px solid #dce8de;border-radius:14px;margin-bottom:16px;padding:16px}.formGrid,.settingsGrid{grid-template-columns:repeat(3,minmax(160px,1fr));gap:12px;margin-bottom:14px;display:grid}.field{flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.calc,.reportStats{flex-wrap:wrap;gap:12px;margin:12px 0;display:flex}.calc span,.reportStats div{color:#506057;background:#eef7ef;border-radius:12px;padding:12px 14px}.calc b,.reportStats b{color:var(--primary);font-size:18px;display:block}.hint{background:#f4f7f5;border-radius:10px;margin:8px 0;padding:10px}.tabs{gap:8px;margin-bottom:14px;display:flex}.tabs button{color:#435349;background:#e9f0eb}.tabs button.active{background:var(--primary);color:#fff}.barrow{border-bottom:1px solid #edf1ee;justify-content:space-between;padding:10px 0;display:flex}.auditList{max-height:520px;overflow:auto}.audit{border-bottom:1px solid #edf1ee;flex-direction:column;gap:2px;padding:10px 0;display:flex}.audit span,.audit small{color:#748079;font-size:11px}.roleCard{border:1px solid #e5ebe7;border-radius:12px;margin-bottom:10px;padding:14px}.roleCard>div:first-child{justify-content:space-between;display:flex}.roleCard small{color:#77827c}.chips{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.chips span{color:#36543c;background:#eef5ef;border-radius:999px;padding:5px 8px;font-size:11px}.permSelect{grid-template-columns:repeat(2,1fr);gap:8px;max-height:340px;margin:12px 0;display:grid;overflow:auto}.permSelect label{background:#fff;border:1px solid #e4ebe6;border-radius:10px;align-items:flex-start;gap:8px;padding:9px;display:flex}.permSelect span{flex-direction:column;display:flex}.permSelect small{color:#7a857f}.settings{max-width:980px}.colorField{grid-template-columns:55px 1fr;gap:8px;display:grid}.colorField input[type=color]{height:42px;padding:3px}.logoUpload{align-items:center;gap:16px;margin:16px 0;display:flex}.logoPreview{background:#fafcfb;border:1px dashed #cdd8d0;border-radius:12px;place-items:center;width:130px;height:100px;display:grid;overflow:hidden}.logoPreview img{object-fit:contain;max-width:100%;max-height:100%}.logoUpload>div:last-child{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.logoUpload input{max-width:280px}.big{color:var(--primary);font-size:32px;font-weight:800}@media (width<=1300px){.cards{grid-template-columns:repeat(3,1fr)}.formGrid,.settingsGrid{grid-template-columns:repeat(2,1fr)}}@media (width<=850px){.app{grid-template-columns:1fr}aside{height:auto;position:static}.cards{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}.content{padding:14px}header{padding:0 14px;position:static}.formGrid,.settingsGrid,.permSelect{grid-template-columns:1fr}nav{grid-template-columns:repeat(2,1fr);display:grid}.toolbar{flex-direction:column}.actions{width:100%}}@media (width<=520px){.cards{grid-template-columns:1fr}.loginCard{padding:24px}nav{grid-template-columns:1fr}}html,body,#root{width:100%;max-width:100%;overflow-x:hidden}img,svg,canvas{max-width:100%}.mobileMenu,.mobileClose,.mobileOverlay{display:none}.headerLeft{align-items:center;gap:12px;min-width:0;display:flex}.headerLeft>div{min-width:0}.headerLeft h2{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mobileAsideHead{justify-content:space-between;align-items:center;gap:10px;display:flex}.mobileOverlay{z-index:39;cursor:pointer;background:#0a190f6b;border:0;border-radius:0;padding:0;position:fixed;inset:0}.mobileOverlay[data-open=yes]{display:block}.content>*,.card{min-width:0}.tableWrap{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.tableWrap table{width:max-content;min-width:100%}.formPanel{max-width:100%;overflow:hidden}input,select,textarea{max-width:100%}@media (width<=850px){.app{min-height:100vh;display:block}aside{z-index:40;overscroll-behavior:contain;background:#fff;width:min(84vw,310px);height:100dvh;padding:16px 14px;transition:transform .22s;position:fixed;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-105%);box-shadow:14px 0 40px #0e24182b}aside.mobileOpen{transform:translate(0)}.mobileMenu,.mobileClose{border-radius:12px;flex:0 0 42px;width:42px;height:42px;padding:0;display:inline-flex}.mobileClose{color:var(--primary);background:#eef4ef}.mobileAsideHead .logo{min-width:0}.mobileAsideHead .logo span{white-space:nowrap}nav{flex-direction:column;gap:5px;display:flex;overflow:visible}nav button{width:100%;min-height:44px;padding:11px 12px}.logout{width:100%;min-height:44px;margin-top:16px}main{width:100%;min-width:0}header{z-index:20;gap:10px;height:auto;min-height:64px;padding:9px 12px;position:sticky;top:0}header h2{max-width:56vw;font-size:18px;line-height:1.2}header small{white-space:nowrap;text-overflow:ellipsis;max-width:58vw;font-size:10px;display:block;overflow:hidden}.user{max-width:31vw}.user b,.user span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.user b{font-size:12px}.user span{font-size:10px}.content{width:100%;max-width:none;padding:12px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{border-radius:14px;padding:14px}.kpi strong{overflow-wrap:anywhere;font-size:20px}.grid2{grid-template-columns:1fr;gap:12px;margin-top:12px}.formGrid,.settingsGrid,.permSelect{grid-template-columns:1fr}.toolbar{flex-direction:column;align-items:stretch;gap:10px}.toolbar>div:first-child{min-width:0}.actions{width:100%}.actions button{flex:150px}.tabs{white-space:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:3px;overflow-x:auto}.tabs button{flex:none}.rowItem{gap:10px}.rowItem>div{min-width:0}.rowItem b,.rowItem small{overflow-wrap:anywhere}.logoUpload{flex-direction:column;align-items:flex-start}.logoPreview{width:120px}.logoUpload>div:last-child{flex-direction:column;align-items:stretch;width:100%}.logoUpload input{width:100%;max-width:100%}.logoUpload button{width:100%}.calc,.reportStats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.calc span,.reportStats div{min-width:0}.permSelect{max-height:none}.settings{max-width:100%}}@media (width<=520px){.content{padding:10px}.cards{grid-template-columns:1fr 1fr}.card{padding:12px}.kpi span{font-size:11px}.kpi strong{font-size:18px}.toolbar h3{font-size:17px}.toolbar h4{font-size:16px}.actions{grid-template-columns:1fr;display:grid}.actions button{width:100%;min-height:42px}.formPanel{margin-bottom:12px;padding:12px}.field input,.field select,.field textarea,.settings input,.settings textarea{min-height:44px;font-size:16px}button{min-height:42px}table{font-size:12px}th,td{white-space:nowrap;padding:10px 8px}.calc,.reportStats{grid-template-columns:1fr 1fr}.calc b,.reportStats b{font-size:16px}.big{font-size:27px}.loginCard{border-radius:18px;width:calc(100vw - 24px);padding:22px 18px}.login input{min-height:46px;font-size:16px}.colorField{grid-template-columns:48px minmax(0,1fr)}}@media (width<=380px){.cards,.calc,.reportStats{grid-template-columns:1fr}header h2{max-width:52vw;font-size:17px}.user{max-width:28vw}}.chartBox{align-items:center;width:100%;min-height:210px;display:flex}.chartBox svg{width:100%;height:auto;overflow:visible}.chartAxis{stroke:#dbe6dd;stroke-width:1px}.chartLine{fill:none;stroke:var(--primary);stroke-width:4px;stroke-linecap:round;stroke-linejoin:round}.chartDot{fill:#fff;stroke:var(--primary);stroke-width:3px}.chartLabel{fill:#6d786f;font-size:11px}.composition{flex-direction:column;gap:13px;display:flex}.compositionRow>div:first-child{justify-content:space-between;gap:12px;font-size:12px;display:flex}.compositionTrack{background:#edf3ee;border-radius:999px;height:9px;margin-top:6px;overflow:hidden}.compositionTrack i{background:linear-gradient(90deg,var(--primary),var(--secondary));border-radius:999px;height:100%;display:block}.nasabahHero{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;justify-content:space-between;align-items:center;min-height:150px;margin-bottom:14px;display:flex}.nasabahHero span,.nasabahHero small{opacity:.85;display:block}.nasabahHero strong{margin:8px 0;font-size:36px;display:block}.heroRecycle{opacity:.25;font-size:72px}.nasabahKpi{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}.priceGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.priceCard{background:#fbfdfb;border:1px solid #e4ebe6;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px;display:grid}.priceIcon{width:42px;height:42px;color:var(--primary);background:#edf7ee;border-radius:12px;place-items:center;display:grid}.priceCard small{color:#77827c;margin-top:3px;display:block}.priceCard strong{color:var(--primary);font-size:17px}.profileCard{align-items:center;gap:18px;display:flex}.profileAvatar{background:var(--primary);color:#fff;border-radius:50%;place-items:center;width:72px;height:72px;font-size:30px;font-weight:800;display:grid}.profileCard h3,.profileCard p{margin:4px 0}@media (width<=850px){.dashboardCharts,.priceGrid{grid-template-columns:1fr}.nasabahHero{min-height:130px}.nasabahHero strong{font-size:30px}.heroRecycle{font-size:58px}}@media (width<=520px){.nasabahKpi{grid-template-columns:1fr 1fr}.nasabahHero{padding:18px}.nasabahHero strong{font-size:27px}.priceCard{grid-template-columns:auto 1fr}.priceCard strong{grid-column:2}.profileCard{align-items:flex-start}.profileAvatar{width:58px;height:58px;font-size:24px}}.roleHierarchy{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:8px;display:grid}.hierarchyRow{background:#fbfdfb;border:1px solid #e6eee8;border-radius:12px;align-items:center;gap:10px;padding:12px;display:flex}.hierarchyNo{background:var(--primary);color:#fff;border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-weight:700;display:grid}.hierarchyRow div{flex-direction:column;min-width:0;display:flex}.hierarchyRow small{color:#66736a;margin-top:3px}.roleCard small{color:#6a766e;margin-top:3px;display:block}@media (width<=900px){.roleHierarchy{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.roleHierarchy{grid-template-columns:1fr}.hierarchyRow{padding:10px}}.actionRow{flex-wrap:wrap;gap:6px;display:flex}.formGrid textarea{resize:vertical;min-height:86px;font:inherit;border:1px solid #d9e2db;border-radius:9px;padding:10px}.catalogToolbar{gap:10px;margin-bottom:16px;display:flex}.catalogToolbar input,.catalogToolbar select{background:#fff;border:1px solid #dce5de;border-radius:10px;padding:11px 12px}.catalogToolbar input{flex:1}.catalogGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.catalogCard{background:#fff;border:1px solid #e0e8e2;border-radius:16px;overflow:hidden}.catalogCard>img{object-fit:cover;width:100%;height:150px}.catalogIcon{height:110px;color:var(--primary);background:#edf6ee;place-items:center;display:grid}.catalogBody{padding:15px}.catalogTop{justify-content:space-between;display:flex}.catalogBody h3{margin:10px 0 4px}.catalogMeta{color:#748077;margin:0 0 10px}.catalogBody>strong{color:var(--primary);font-size:20px}.conditionBox{background:#f3f7f4;border-radius:10px;margin-top:10px;padding:10px;font-size:13px}@media (width<=1000px){.catalogGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.catalogGrid{grid-template-columns:1fr}.catalogToolbar{flex-direction:column}}.passwordInputWrap{width:100%;position:relative}.passwordInputWrap input{box-sizing:border-box;width:100%;padding-right:46px!important}.passwordToggle{color:#66736a;cursor:pointer;background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.passwordToggle:hover{color:var(--primary);background:#eef4ef}.passwordToggle:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.loginPasswordWrap{width:100%;position:relative}.loginPasswordWrap input{box-sizing:border-box;width:100%;padding-right:48px!important}.loginPasswordEye{cursor:pointer;z-index:5;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;margin:0;padding:0;font-size:19px;line-height:1;display:flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.loginPasswordEye:hover{background:#eef4ef}.loginPasswordEye:focus{outline:2px solid var(--primary)}.tenantLogoPreview{background:#fafcfa;border:1px dashed #d6e0d8;border-radius:12px;justify-content:center;align-items:center;min-height:120px;margin-bottom:14px;display:flex}.tenantLogoPreview img{object-fit:contain;max-width:220px;max-height:100px}.platformLogoUploader{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.platformLogoUploader input[type=file]{width:100%}.platformLogoUploader button:disabled{opacity:.55;cursor:not-allowed}.logoPreviewSelected{background:#fafcfb;border:1px dashed #cfd9d2;border-radius:12px;width:100%;padding:12px}.logoPreviewSelected span{color:#6f7c74;margin-bottom:8px;font-size:12px;display:block}.logoPreviewSelected img,.tenantLogoPreview img{object-fit:contain;border-radius:8px;max-width:180px;max-height:90px;display:block}.tenantSideLogo{object-fit:contain;background:#fff;border:1px solid #e4ebe6;border-radius:10px;width:48px;min-width:48px;height:48px;padding:3px}.logo>div:last-child{min-width:0}.logo>div:last-child b{line-height:1.15;display:block}.logo>div:last-child span{margin-top:3px;line-height:1.2;display:block}.headerTenantBrand{align-items:center;gap:10px;min-width:0;display:flex}.headerTenantLogo{object-fit:contain;background:#fff;border:1px solid #e4ebe6;border-radius:9px;width:44px;min-width:44px;height:44px;padding:2px}.headerTenantBrand>div{min-width:0}@media (width<=520px){.headerTenantLogo{width:38px;min-width:38px;height:38px}}.tenantIdentity{align-items:center;gap:10px;display:flex}.tenantIdentityLogo{object-fit:contain;background:#fff;border-radius:8px;width:40px;min-width:40px;height:40px;padding:2px}.tenantIdentity>div{min-width:0}.tenantIdentity b,.tenantIdentity small{display:block}
