/* RumahSewa 2.4 • Purple workspace */
:root{--ink:#241b39;--blue:#7134eb;--bg:#f7f7fb;--muted:#756b85;--line:#e9e5ef;--soft:#f1eaff}body{font-size:16px}h1,h2,h3{margin:0 0 14px;line-height:1.25}h2{font-size:1.25rem}p{margin:0 0 16px}a{text-decoration:none}a:hover{text-decoration:underline}button,.button{border:1px solid transparent;border-radius:9px;font-size:14px;padding:10px 16px;min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .16s,box-shadow .16s}button:hover,.button:hover{background:#5820c5;filter:none;text-decoration:none;box-shadow:0 3px 10px #7134eb22}button.secondary,.button.secondary{background:white;color:var(--ink);border-color:var(--line)}button.secondary:hover,.button.secondary:hover{background:var(--soft)}button:disabled{opacity:.55;cursor:wait}.icon{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}input,select,textarea{border-color:#ddd5e8;border-radius:9px;padding:12px 14px;margin:7px 0 18px;min-height:45px}input:focus,select:focus,textarea:focus{border-color:var(--blue);outline:3px solid #7134eb12}.card,.paper{border-color:var(--line);border-radius:15px;padding:24px;box-shadow:0 4px 20px #27143d04}.grid{gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.eyebrow{font-size:12px;letter-spacing:.1em;margin-bottom:9px}.notice{background:var(--soft);border:1px solid #e5d7ff;color:#533683;font-size:14px;overflow-wrap:anywhere}.pill{border-radius:6px;padding:4px 9px;font-size:13px;background:#fff2e3;color:#a45108;white-space:nowrap}.pill.paid{background:#e6f7ef;color:#167349}.pill.overdue{background:#fff0f2;color:#bb3c50}.stat{font-size:clamp(22px,2.2vw,32px);line-height:1.2}.row{gap:18px}section{margin:40px 0}.actions{gap:8px}.hidden,[hidden]{display:none!important}#message{z-index:100;box-shadow:0 8px 30px #2c164d33;background:#2c164d}th,td{padding:15px 18px;font-size:14px;border-color:var(--line);vertical-align:middle}th{background:#fcfbfe;color:var(--muted);font-weight:600;white-space:nowrap}tbody tr:hover{background:#fcfaff}tbody tr:last-child td{border-bottom:0}.money{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.table-scroll,.history-scroll{overflow-x:auto;max-width:100%;background:white;border:1px solid var(--line);border-radius:13px}.history-table{min-width:1120px}.history-table th,.history-table td{padding:14px 18px;border-color:var(--line)}.history-table thead,.history-table tfoot{background:#f5efff}.history-table tbody tr:nth-child(even){background:#fdfbff}.history-table small{color:var(--muted)}.row-title{display:block;color:var(--ink);font-weight:700}.row-meta{display:block;font-size:12px;color:var(--muted);margin-top:3px}.table-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}.table-actions button,.table-actions .button{padding:6px 10px;min-height:35px;font-size:13px}.table-empty{padding:40px;text-align:center;color:var(--muted)}
.app-topbar{height:74px;position:sticky;top:0;z-index:40;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 28px}.brand{display:inline-flex;align-items:center;gap:10px;font:800 22px/1 Manrope,system-ui,sans-serif;letter-spacing:-.05em;color:var(--ink);text-decoration:none!important}.brand img{width:40px;height:40px;border-radius:10px;object-fit:contain}.brand em{color:var(--blue);font-style:normal}.top-actions{display:flex;align-items:center;gap:11px}.avatar{width:36px;height:36px;display:inline-grid;place-items:center;background:#eee4ff;color:#6525d6;border-radius:50%;font-size:13px;font-weight:700}.top-label{font-size:14px;color:var(--muted);display:none}.signed-in .app-topbar{margin-left:250px;padding-left:28px}.signed-in .header-brand{display:none}.signed-in .top-label{display:block}.app-sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:white;border-right:1px solid var(--line);z-index:50;display:flex;flex-direction:column;padding:25px 18px 18px}.app-sidebar>.brand{padding:0 10px;margin-bottom:35px}.sidebar-label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#8d819f;padding:0 13px;margin-bottom:9px}.tabs{display:flex;flex-direction:column;gap:5px;margin:0;overflow-y:auto;min-height:0;flex:1}.tabs button{justify-content:flex-start;text-align:left;width:100%;border:0;background:transparent;color:#756b85;font-weight:500;padding:11px 13px;box-shadow:none}.tabs button:hover{background:#f7f2ff;color:var(--blue)}.tabs button.selected{background:var(--soft);color:var(--blue);font-weight:700;box-shadow:inset 3px 0 var(--blue)}.tabs label{padding:6px 12px;color:var(--muted)}.tabs select{font-size:13px;padding:9px;margin:7px 0 12px}.sidebar-foot{border-top:1px solid var(--line);padding:18px 12px 0;margin-top:18px;font-size:12px;color:var(--muted)}.sidebar-foot strong{display:block;font-size:14px;color:var(--ink);margin-bottom:3px}.app-main{min-width:0}.signed-in .app-main{margin-left:250px}.dashboard-inner{max-width:1440px;margin:auto;padding:30px}.dashboard-heading{margin-bottom:26px}.dashboard-heading h1{font-size:28px!important;margin-bottom:7px}.dashboard-heading p{font-size:14px;margin:0}.workspace-date{font-size:14px;color:var(--muted);display:flex;gap:8px;align-items:center}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:25px}.stat-card{padding:21px;min-height:140px}.stat-label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;color:var(--muted);margin-bottom:17px}.stat-icon{display:grid;place-items:center;width:34px;height:34px;background:#f3edff;border-radius:10px;color:var(--blue)}.stat-note{font-size:12px;margin:9px 0 0;color:var(--muted)}.stat-card.primary{background:var(--blue);color:white;border-color:var(--blue);box-shadow:0 5px 0 #5220bb,0 10px 20px #7134eb18}.stat-card.primary .stat-label,.stat-card.primary .stat-note{color:#ede3ff}.stat-card.primary .stat-icon{background:#ffffff22;color:white}.overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:20px;margin-bottom:22px}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px}.section-head h2{font-size:17px;margin:0 0 5px}.section-head p{font-size:13px;color:var(--muted);margin:0}.section-head .button{padding:6px 11px;min-height:35px;font-size:13px}.collection-chart{width:100%;height:210px;display:block}.chart-legend{display:flex;gap:18px;font-size:13px;color:var(--muted)}.legend-dot{display:inline-block;width:9px;height:9px;border-radius:3px;background:var(--blue);margin-right:6px}.legend-dot.light{background:#e4d6ff}.breakdown-row{margin:20px 0 0}.breakdown-row .row{font-size:14px;margin-bottom:8px}.bar-track{background:#f2eef8;height:7px;border-radius:5px;overflow:hidden}.bar-fill{height:100%;background:var(--blue);border-radius:5px}.bar-fill.electric{background:#a170ef}.bar-fill.water{background:#c6a7ff}.collection-rate{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px;font-size:13px;color:var(--muted)}.collection-rate strong{font-size:23px;color:var(--blue)}.overview-table{padding:0;overflow:hidden}.overview-table>.section-head{padding:22px 24px 0}.overview-table .table-scroll{border:0;border-radius:0}.view-title{margin:0 0 22px}.view-title h2{font-size:22px}.filter-line{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:20px}.filter-line label{min-width:180px}.filter-line input,.filter-line select{margin-bottom:0}.mobile-menu{display:none;background:var(--soft)!important;color:var(--blue)!important;padding:8px;min-height:40px}.drawer-backdrop{position:fixed;inset:0;background:#24113955;z-index:45}.demo-banner{font-size:13px;color:#6c2ad7;border:1px solid #e1d1ff;background:#f4eeff;padding:9px 14px;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.demo-role{border:0;background:white;font-size:13px;min-height:34px;padding:6px 10px;margin:0;width:auto;max-width:170px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:65px;max-width:1120px;min-height:620px;margin:38px auto;padding:0 24px;align-items:center}.auth-art{align-self:stretch;background:#ede4ff;border-radius:22px;padding:40px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.auth-art h1{font-size:40px;max-width:360px}.auth-art p{color:#624d80;font-size:16px;max-width:350px}.auth-art img{width:100%;height:280px;object-fit:contain;margin-top:18px}.auth{width:100%;max-width:410px;margin:0 auto;border:0;padding:15px 0;background:transparent;box-shadow:none}.auth h1{font-size:28px!important}.auth form>button{width:100%}.auth .muted{font-size:14px}.login-brand{margin-bottom:26px}.signed-in #authLayout{display:none}body:not(.signed-in) #sidebar{display:none}.guide-header{max-width:1220px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:22px 24px;gap:16px}.guide-nav{display:flex;align-items:center;gap:20px}.guide-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:55px;align-items:center;padding:42px 0 26px;margin:20px 0}.guide-hero h1{font-size:clamp(40px,5vw,62px);line-height:1.1}.guide-hero h1 em{font-style:normal;color:var(--blue)}.guide-hero .lead{font-size:18px;max-width:570px;color:var(--muted)}.guide-visual{background:#ede5ff;border-radius:28px;padding:30px 16px;box-shadow:inset 0 -7px 0 #ded0f7}.guide-visual img{width:100%;height:320px;object-fit:contain;display:block}.guide-stamp{display:flex;align-items:center;justify-content:center;gap:10px;color:#633098;font-size:14px}.guide-steps{grid-template-columns:repeat(4,minmax(0,1fr))}.step{font-size:26px;margin-bottom:18px}.guide-steps p{font-size:14px;color:var(--muted)}.guide-section-title{margin:0 0 24px}.guide-section-title h2{font-size:28px}.guide-strip{background:var(--blue);color:white;padding:28px 32px;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:24px}.guide-strip p{color:#e8dcff;margin:0}.guide-strip .button{background:white;color:var(--blue)}
@media(max-width:1100px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}.auth-layout{gap:30px}.auth-art{padding:28px}.auth-art h1{font-size:34px}.guide-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.app-sidebar{transform:translateX(-100%);transition:transform .2s}.drawer-open .app-sidebar{transform:translateX(0)}.signed-in .app-main,.signed-in .app-topbar{margin-left:0}.app-topbar{height:68px;padding:0 18px}.signed-in .mobile-menu{display:inline-flex}.dashboard-inner{padding:24px 18px}.top-actions{gap:8px}.top-actions button,.top-actions .button{font-size:13px;padding:8px 10px;min-height:38px}.top-actions .avatar{display:none}.workspace-date{display:none}.dashboard-heading h1{font-size:25px!important}.auth-layout{grid-template-columns:1fr;max-width:520px;min-height:0}.auth-art{display:none}.auth{padding:15px 0}.grid:not(.stats-grid):not(.guide-steps),.two{grid-template-columns:1fr}.guide-hero{grid-template-columns:1fr;gap:25px;padding-top:12px}.guide-visual img{height:240px}.guide-header{padding:18px}.guide-nav>a:not(.button){display:none}.guide-strip{flex-direction:column;align-items:flex-start}.paper{margin:18px 14px}}@media(max-width:480px){.stats-grid{gap:12px}.stat-card{padding:16px;min-height:133px}.stat-label{font-size:13px;margin-bottom:14px;gap:4px}.stat-icon{width:28px;height:28px}.stat-icon .icon{width:17px;height:17px}.stat{font-size:22px}.dashboard-inner{padding:20px 14px}.card{padding:20px}.overview-table{padding:0}.guide-steps{grid-template-columns:1fr}.wrap{padding:0 18px}.brand{font-size:20px}.brand img{width:36px;height:36px}.guide-nav .button{padding:8px 12px;font-size:13px}.demo-banner{flex-wrap:wrap}.guide-hero h1{font-size:38px}.auth-layout{margin:25px auto}.filter-line label{width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.app-topbar,.app-sidebar{display:none!important}.signed-in .app-main{margin-left:0}.paper{box-shadow:none}.history-scroll{overflow:visible}.history-table{min-width:0}.history-table th,.history-table td{font-size:10px;padding:7px}}

.history-filters label{display:inline-block;min-width:210px;margin-right:16px;vertical-align:bottom}.history-filters label input,.history-filters label select{margin-bottom:0}.history-filters button{vertical-align:bottom}body:not(.signed-in) .avatar{display:none}@media(max-width:600px){.history-filters label{display:block;margin:0 0 14px}}
