/* ============================================================
   AquaMap Pro — Depot Air Isi Ulang
   Tema terang, sidebar navy, aksen biru air
   ============================================================ */
:root{
  --blue:#1179d2; --blue-2:#0b64b0; --blue-soft:#e8f3fd;
  --navy:#0b2c47; --navy-2:#123a5c; --navy-3:#1b4a70;
  --bg:#f3f7fc; --card:#ffffff;
  --text:#12232e; --muted:#6b8194; --line:#e3ecf5;
  --green:#159c70; --green-soft:#e4f7ef;
  --amber:#d98a08; --amber-soft:#fdf2df;
  --red:#d1493a; --red-soft:#fdeae7;
  --violet:#6250d8; --violet-soft:#eeebfd;
  --r:16px; --r-sm:11px;
  --sh:0 1px 2px rgba(16,42,67,.05), 0 10px 26px -18px rgba(16,42,67,.28);
  --sh-lg:0 18px 50px -22px rgba(11,44,71,.35);
  --sidebar:248px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  background:var(--bg); color:var(--text); font-size:14px; line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
h1,h2,h3,h4,p{margin:0}
img{display:block}
.hidden{display:none!important}
.m-only{display:none}
.d-only{display:block}
.small{font-size:11.6px}
.muted{color:var(--muted)}
.t-right{text-align:right}
.t-strong{font-weight:700}
.t-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;letter-spacing:-.2px}
.spacer{flex:1}
.ic{width:18px;height:18px;flex:none}
.row{display:flex;align-items:center;gap:10px}

/* ------------------------------ buttons ------------------------------ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid transparent;border-radius:10px;padding:9px 15px;
  font-size:12.8px;font-weight:600;cursor:pointer;transition:.16s;white-space:nowrap;
}
.btn .ic{width:16px;height:16px}
.btn-primary{background:linear-gradient(180deg,#1c86dd,#0f6fc4);color:#fff;box-shadow:0 6px 16px -8px rgba(17,121,210,.85)}
.btn-primary:hover{filter:brightness(1.05)}
.btn-outline{background:#fff;border-color:#d7e4f0;color:#22415a}
.btn-outline:hover{background:#f6fafe;border-color:#bcd4e8}
.btn-ghost{background:transparent;color:var(--blue-2);padding:6px 9px}
.btn-ghost:hover{background:var(--blue-soft)}
.btn-danger{background:linear-gradient(180deg,#e05a48,#cf4030);color:#fff}
.btn-sm{padding:6px 11px;font-size:11.8px;border-radius:9px}
.btn-block{width:100%}
.btn:disabled{opacity:.5;cursor:not-allowed}
.icon-btn{
  width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);background:#fff;border-radius:9px;color:#4a6479;cursor:pointer;transition:.15s;
}
.icon-btn:hover{background:#f4f9fe;color:var(--blue-2)}
.icon-btn .ic{width:17px;height:17px}

/* ------------------------------ badges ------------------------------ */
.badge{
  display:inline-flex;align-items:center;gap:5px;border-radius:999px;
  padding:3px 9px;font-size:10.8px;font-weight:600;background:#eef3f8;color:#5c7488;
  border:1px solid transparent;white-space:nowrap;
}
.badge.green{background:var(--green-soft);color:#0d7a56}
.badge.blue{background:var(--blue-soft);color:var(--blue-2)}
.badge.amber{background:var(--amber-soft);color:#a86c05}
.badge.red{background:var(--red-soft);color:#b13a2c}
.badge.violet{background:var(--violet-soft);color:#4f3fbe}
.dot{width:6px;height:6px;border-radius:50%;background:currentColor;display:inline-block}

/* ------------------------------ forms ------------------------------ */
.field{display:block;margin-bottom:12px}
.field>span{display:block;font-size:11.6px;font-weight:600;color:#5d7488;margin-bottom:6px;letter-spacing:.1px}
.input{
  width:100%;border:1px solid #dbe7f2;background:#fbfdff;border-radius:10px;
  padding:10px 12px;font-size:13px;color:var(--text);font-family:inherit;transition:.15s;outline:none;
}
.input:focus{border-color:#7db9e8;background:#fff;box-shadow:0 0 0 3px rgba(17,121,210,.11)}
.input::placeholder{color:#9fb2c2}
textarea.input{min-height:72px;resize:vertical}
select.input{appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%236b8194' stroke-width='1.8'><path d='m3 5 4 4 4-4'/></svg>");background-repeat:no-repeat;background-position:right 11px center;padding-right:30px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.search-box{
  display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dbe7f2;
  border-radius:10px;padding:0 11px;min-width:0;flex:1;max-width:420px;transition:.15s;
}
.search-box:focus-within{border-color:#7db9e8;box-shadow:0 0 0 3px rgba(17,121,210,.1)}
.search-box .ic{width:16px;height:16px;color:#8aa1b4;flex:none}
.search-box input{border:0;outline:none;background:transparent;padding:10px 0;font-size:12.8px;width:100%;color:var(--text);font-family:inherit}
.switch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0 2px;border-top:1px dashed #e7eff7;margin-top:6px}
.switch-row b{font-size:12.8px;display:block}
.switch{position:relative;display:inline-block;width:44px;height:25px;flex:none}
.switch input{opacity:0;width:0;height:0}
.switch span{position:absolute;inset:0;background:#cfdeea;border-radius:999px;transition:.2s;cursor:pointer}
.switch span:before{content:'';position:absolute;width:19px;height:19px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.switch input:checked+span{background:linear-gradient(180deg,#1c86dd,#0f6fc4)}
.switch input:checked+span:before{transform:translateX(19px)}

/* ------------------------------ layout ------------------------------ */
.app{min-height:100vh}
.sidebar{
  position:fixed;left:0;top:0;bottom:0;width:var(--sidebar);z-index:40;
  background:linear-gradient(180deg,#0b2c47 0%,#0a2841 55%,#092238 100%);
  color:#dbe8f3;display:flex;flex-direction:column;padding:18px 14px 14px;
}
.brand{display:flex;align-items:center;gap:10px;padding:4px 8px 20px}
.brand img{border-radius:9px;box-shadow:0 6px 16px -6px rgba(0,0,0,.5)}
.brand-txt b{display:block;font-size:14.5px;color:#fff;letter-spacing:-.3px}
.brand-txt i{display:block;font-size:9.8px;color:#7fa3bf;font-style:normal;letter-spacing:.5px;text-transform:uppercase;margin-top:2px}
.nav{display:flex;flex-direction:column;gap:3px;flex:1;overflow:auto}
.nav::-webkit-scrollbar{width:0}
.nav-item{
  display:flex;align-items:center;gap:10px;padding:9.5px 11px;border-radius:9px;
  color:#b9cfe0;font-size:12.7px;font-weight:500;cursor:pointer;border:0;background:transparent;
  width:100%;text-align:left;transition:.15s;
}
.nav-item .ni{width:18px;height:18px;display:flex;align-items:center;justify-content:center;opacity:.9}
.nav-item .ni .ic{width:17px;height:17px}
.nav-item:hover{background:rgba(255,255,255,.07);color:#fff}
.nav-item.active{background:linear-gradient(90deg,#1668a8,#125a93);color:#fff;box-shadow:0 6px 14px -8px rgba(0,0,0,.7)}
.nav-item.active .ni{opacity:1}
.nav-parent{justify-content:flex-start}
.nav-parent .caret{margin-left:auto;font-size:13px;transition:.2s;color:#8aa9c2}
.nav-group.open .caret{transform:rotate(180deg)}
.nav-sub{display:none;flex-direction:column;padding:2px 0 4px 30px;gap:1px}
.nav-group.open .nav-sub{display:flex}
.nav-sub-item{padding:7px 9px;border-radius:7px;font-size:11.8px;color:#9db9cf;transition:.15s}
.nav-sub-item:hover{background:rgba(255,255,255,.06);color:#fff}
.nav-sub-item.active{color:#fff;background:rgba(255,255,255,.08);font-weight:600}
.side-foot{border-top:1px solid rgba(255,255,255,.1);padding-top:10px;margin-top:8px}
.side-user{display:flex;align-items:center;gap:9px}
.side-user .avatar{background:#1d5178;color:#cfe6f7;border-color:rgba(255,255,255,.15)}
.side-user-txt{flex:1;min-width:0}
.side-user-txt b{display:block;font-size:12px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side-user-txt span{display:block;font-size:10.4px;color:#7fa3bf}
.side-user .icon-btn{background:transparent;border-color:rgba(255,255,255,.14);color:#9db9cf;width:30px;height:30px}
.side-user .icon-btn:hover{background:rgba(255,255,255,.1);color:#fff}

.main{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}
.topbar{
  position:sticky;top:0;z-index:30;height:66px;background:rgba(255,255,255,.86);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 26px;
}
.topbar-left h1{font-size:16.5px;letter-spacing:-.4px;font-weight:700}
.topbar-sub{font-size:11.4px;color:var(--muted);display:block;margin-top:1px}
.topbar-right{display:flex;align-items:center;gap:10px}
.top-search{display:flex;align-items:center;gap:7px;background:#f4f8fc;border:1px solid #e4edf6;border-radius:9px;padding:0 10px;width:290px}
.top-search .ic{width:15px;height:15px;color:#8aa1b4}
.top-search input{border:0;background:transparent;outline:none;padding:9px 0;font-size:12.2px;width:100%;font-family:inherit}
.date-chip{font-size:11.2px;color:#4a6479;background:#f4f8fc;border:1px solid #e4edf6;border-radius:8px;padding:7px 11px;white-space:nowrap}
.notif{position:relative}
.notif:after{content:'';position:absolute;top:7px;right:8px;width:6px;height:6px;background:#e0603f;border-radius:50%;border:1.5px solid #fff}
.avatar{
  width:36px;height:36px;border-radius:50%;background:#e8f3fd;color:var(--blue-2);
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;
  border:1px solid #d6e8f8;flex:none;letter-spacing:-.3px;
}
.avatar.sm{width:30px;height:30px;font-size:10.5px}
.avatar.lg{width:60px;height:60px;font-size:19px;border-width:2px;border-color:#fff;box-shadow:0 6px 18px -8px rgba(11,44,71,.4)}
.content{padding:22px 26px 34px;max-width:1480px;width:100%;margin:0 auto;flex:1}
.m-header,.m-nav{display:none}

/* ------------------------------ cards ------------------------------ */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--sh)}
.card-pad{padding:18px}
.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px 12px}
.card-head h3{font-size:13.6px;font-weight:700;letter-spacing:-.2px}
.card-head .sub{font-size:11.2px;color:var(--muted);margin-top:2px}
.sec-title{display:flex;align-items:center;gap:8px;font-size:12.4px;font-weight:700;color:#3c5569;margin:0 0 10px;text-transform:uppercase;letter-spacing:.5px}
.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:34px 18px;color:#8ba0b2;font-size:12.4px;text-align:center}
.empty .ic{width:30px;height:30px;color:#b7c9d8}

/* ------------------------------ stats ------------------------------ */
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}
.stat{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--sh);padding:14px 15px;display:flex;align-items:center;gap:12px;min-width:0}
.stat-ic{width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex:none}
.stat-ic .ic{width:20px;height:20px}
.stat-txt{min-width:0}
.stat-txt label{display:block;font-size:10.8px;color:var(--muted);font-weight:500;letter-spacing:.1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stat-txt b{display:block;font-size:16.5px;font-weight:800;letter-spacing:-.6px;margin-top:2px;white-space:nowrap}
.ic-blue{background:var(--blue-soft);color:#0f6fc4}
.ic-green{background:var(--green-soft);color:#0d8a61}
.ic-amber{background:var(--amber-soft);color:#b77906}
.ic-red{background:var(--red-soft);color:#c04434}
.ic-violet{background:var(--violet-soft);color:#5443c9}
.ic-gray{background:#eef3f8;color:#64798c}

/* ------------------------------ dashboard ------------------------------ */
.greet{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.greet h2{font-size:20px;letter-spacing:-.7px;font-weight:800}
.greet p{font-size:12.4px;color:var(--muted);margin-top:3px}
.dash-grid{display:grid;grid-template-columns:minmax(0,1fr) 322px;gap:16px;align-items:start}
.dash-side{display:flex;flex-direction:column;gap:16px}
.list{display:flex;flex-direction:column}
.list-item{display:flex;align-items:center;gap:11px;padding:11px 16px;border-top:1px solid #f0f5fa;transition:.14s;min-width:0}
.list-item:first-child{border-top:0}
a.list-item:hover{background:#f9fcff}
.li-main{flex:1;min-width:0}
.li-main b{display:block;font-size:12.6px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li-main span{display:block;font-size:11.2px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.li-right{text-align:right;flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.li-right b{font-size:12.4px;font-weight:700;white-space:nowrap}
.li-right span{font-size:10.6px;color:var(--muted);white-space:nowrap}
.list-item .ic:last-child{color:#a8bcca;width:15px;height:15px}

/* map */
.map-card{position:relative}
.map{height:452px;width:100%;background:#dfeaf3;z-index:1}
.map-toolbar{position:absolute;top:12px;left:12px;right:12px;z-index:500;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.map-toolbar>*{pointer-events:auto}
.map-toolbar .search-box{max-width:290px;box-shadow:0 8px 22px -14px rgba(11,44,71,.5);background:rgba(255,255,255,.97)}
.chips{display:flex;gap:6px;flex-wrap:wrap;pointer-events:auto}
.chip{
  border:1px solid #dce8f3;background:rgba(255,255,255,.97);color:#43607a;border-radius:999px;
  padding:5px 10px;font-size:10.8px;font-weight:600;cursor:pointer;transition:.15s;white-space:nowrap;
}
.chip:hover{border-color:#b9d4ea;color:var(--blue-2)}
.chip.active{background:var(--navy);border-color:var(--navy);color:#fff}
.chip .n{opacity:.62;font-weight:500}
.map-legend{
  position:absolute;left:12px;bottom:12px;z-index:500;background:rgba(255,255,255,.96);
  border:1px solid #e2ecf5;border-radius:11px;padding:9px 11px;box-shadow:0 10px 26px -18px rgba(11,44,71,.6);
  font-size:10.6px;color:#4f6a80;
}
.map-legend b{display:block;font-size:9.6px;text-transform:uppercase;letter-spacing:.6px;color:#8aa1b4;margin-bottom:5px;font-weight:700}
.lg-row{display:flex;align-items:center;gap:6px;margin-top:3px;white-space:nowrap}
.lg-dot{width:8px;height:8px;border-radius:50%;display:inline-block;box-shadow:0 0 0 2px #fff}
.map-detail{
  position:absolute;right:12px;bottom:12px;z-index:520;width:262px;background:#fff;
  border:1px solid #e2ecf5;border-radius:13px;box-shadow:var(--sh-lg);padding:12px 13px;
}
.md-top b{font-size:12.8px;display:block;letter-spacing:-.2px}
.md-top span{font-size:10.8px;color:var(--muted)}
.md-body{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 11px}
.md-body>div span{display:block;font-size:9.4px;text-transform:uppercase;letter-spacing:.4px;color:#93a8b9;font-weight:600}
.md-body>div b{font-size:10.8px;display:block;margin-top:1px}
.md-foot{display:flex;gap:6px}
.md-foot .btn{flex:1;padding:6px 8px;font-size:11px}
.pin{width:14px;height:14px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 4px rgba(11,44,71,.4)}
.pin.aktif{background:#159c70}
.pin.sedang{background:#e2a019}
.pin.nonaktif{background:#93a7b6}
.pin.hutang{background:#d1493a}
.pin.pinjam{background:#6250d8}
.leaflet-container{font-family:inherit}
.leaflet-popup-content-wrapper{border-radius:13px;box-shadow:0 18px 44px -18px rgba(11,44,71,.5);padding:0;overflow:hidden}
.leaflet-popup-content{margin:0;width:236px!important;font-size:12px}
.leaflet-popup-tip{box-shadow:none}
.mp-head{padding:11px 13px 8px;border-bottom:1px solid #eef4fa}
.mp-head b{display:block;font-size:12.6px}
.mp-head span{font-size:10.6px;color:var(--muted)}
.mp-body{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:9px 13px}
.mp-body>div span{display:block;font-size:9.2px;text-transform:uppercase;letter-spacing:.4px;color:#93a8b9;font-weight:600}
.mp-body>div b{font-size:10.8px;display:block;margin-top:1px}
.mp-foot{display:flex;gap:6px;padding:0 13px 12px}
.mp-foot .btn{flex:1;padding:6px 8px;font-size:11px}

/* ------------------------------ page head / tabs ------------------------------ */
.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.page-head h2{font-size:20px;letter-spacing:-.7px;font-weight:800}
.page-head p{font-size:12.3px;color:var(--muted);margin-top:3px;max-width:640px}
.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.toolbar .search-box{max-width:340px}
.tabs{display:flex;gap:4px;background:#eef4fa;border:1px solid #e3ecf5;border-radius:11px;padding:3px;margin-bottom:16px;overflow-x:auto;width:fit-content;max-width:100%}
.tab{
  border:0;background:transparent;color:#5b7387;padding:7px 13px;border-radius:8px;
  font-size:12px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;transition:.15s;
}
.tab .ic{width:15px;height:15px}
.tab:hover{color:var(--blue-2)}
.tab.active{background:#fff;color:var(--navy);box-shadow:0 2px 7px -3px rgba(11,44,71,.25)}
.detail-tabs{margin-top:-6px}
.mobile-page-head{display:none}

/* ------------------------------ table ------------------------------ */
.table-wrap{width:100%;overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:12.2px}
thead th{
  text-align:left;font-size:10.2px;text-transform:uppercase;letter-spacing:.55px;color:#8499ab;
  font-weight:700;padding:10px 13px;border-bottom:1px solid #e8f0f7;background:#fbfdff;white-space:nowrap;
}
tbody td{padding:10px 13px;border-bottom:1px solid #f2f7fb;vertical-align:middle}
tbody tr:last-child td{border-bottom:0}
tr.clickable{cursor:pointer}
tr.clickable:hover td{background:#f8fcff}
.t-right{text-align:right}

/* ------------------------------ detail pelanggan ------------------------------ */
.detail-hero{
  background:linear-gradient(125deg,#0b2c47 0%,#12466d 55%,#156291 100%);
  border-radius:var(--r);padding:20px 22px;color:#fff;margin-bottom:16px;position:relative;overflow:hidden;
  box-shadow:0 20px 44px -26px rgba(11,44,71,.75);
}
.detail-hero:after{content:'';position:absolute;right:-40px;top:-70px;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.05)}
.detail-hero:before{content:'';position:absolute;right:60px;bottom:-80px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.04)}
.dh-top{display:flex;align-items:center;gap:16px;position:relative;z-index:2}
.dh-id{flex:1;min-width:0}
.dh-id h2{font-size:21px;letter-spacing:-.6px;font-weight:800}
.dh-id .phone{font-size:11.8px;color:#a9cbe4;display:flex;align-items:center;gap:6px;margin-top:3px}
.dh-id .phone .ic{width:14px;height:14px}
.dh-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:8px}
.detail-hero .badge{background:rgba(255,255,255,.14);color:#eaf5ff;border-color:rgba(255,255,255,.16)}
.detail-hero .badge.green{background:rgba(76,222,166,.18);color:#9ff0cd}
.detail-hero .badge.violet{background:rgba(160,148,255,.2);color:#d8d2ff}
.detail-hero .badge.red{background:rgba(255,143,128,.2);color:#ffc5bc}
.dh-actions{display:flex;gap:7px;flex-wrap:wrap;flex:none}
.dh-actions .btn-outline{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.24);color:#fff}
.dh-actions .btn-outline:hover{background:rgba(255,255,255,.18)}
.dh-actions .btn-primary{background:#fff;color:var(--blue-2);box-shadow:none}
.detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:16px;margin-bottom:16px}
.info-list{display:flex;flex-direction:column;gap:2px}
.info-row{display:flex;gap:10px;padding:10px 0;border-bottom:1px dashed #edf3f9}
.info-row:last-child{border-bottom:0}
.info-row .ii{width:30px;height:30px;border-radius:9px;background:#f2f8fd;color:#3f83b7;display:flex;align-items:center;justify-content:center;flex:none}
.info-row .ii .ic{width:16px;height:16px}
.info-row label{display:block;font-size:9.8px;text-transform:uppercase;letter-spacing:.5px;color:#93a8b9;font-weight:700}
.info-row b{display:block;font-size:12.4px;font-weight:600;margin-top:2px;line-height:1.5}
.mini-map{height:196px;border-radius:12px;overflow:hidden;background:#e4eef6;border:1px solid #e6eff7}
.dstat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.dstat{display:flex;gap:11px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px 14px;box-shadow:var(--sh);min-width:0}
.dstat .di{width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:none}
.dstat .di .ic{width:17px;height:17px}
.dstat label{display:block;font-size:9.8px;text-transform:uppercase;letter-spacing:.45px;color:#93a8b9;font-weight:700}
.dstat b{display:block;font-size:13.4px;font-weight:700;letter-spacing:-.2px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dstat small{display:block;font-size:10.4px;color:var(--muted);margin-top:1px}
.timeline{position:relative;padding-left:4px}
.tl-item{display:flex;gap:11px;padding:9px 0;position:relative}
.tl-item:not(:last-child):before{content:'';position:absolute;left:15px;top:38px;bottom:-6px;width:1px;background:#e6eff7}
.tl-dot{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none;z-index:1}
.tl-dot .ic{width:15px;height:15px}
.tl-body b{display:block;font-size:12.3px;font-weight:600}
.tl-body span{display:block;font-size:11px;color:var(--muted);margin-top:1px}

/* ------------------------------ order ------------------------------ */
.order-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}
.order-summary{position:sticky;top:82px}
.sum-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:5px 0;font-size:12.3px;color:#5b7387}
.sum-row b{color:var(--text);font-weight:600;text-align:right}
.sum-line{height:1px;background:#eaf1f8;margin:10px 0}
.sum-total{display:flex;align-items:center;justify-content:space-between;font-size:12.6px;color:#43607a}
.sum-total b{font-size:22px;letter-spacing:-1px;font-weight:800;color:var(--navy)}
.pay-title{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#93a8b9;font-weight:700;margin:16px 0 8px}
.pay-list{display:flex;flex-direction:column;gap:7px}
.pay-opt{display:flex;align-items:center;gap:9px;border:1px solid #e2ecf5;border-radius:10px;padding:9px 10px;cursor:pointer;transition:.15s;position:relative}
.pay-opt input{position:absolute;opacity:0;pointer-events:none}
.pay-opt:hover{border-color:#c6dcee;background:#fbfdff}
.pay-opt.active{border-color:#8fc2e9;background:#f4faff;box-shadow:0 0 0 3px rgba(17,121,210,.07)}
.po-ic{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex:none}
.po-ic .ic{width:15px;height:15px}
.po-main{flex:1;min-width:0}
.po-main b{display:block;font-size:12px}
.po-main span{display:block;font-size:10.4px;color:var(--muted)}
.radio-dot{width:15px;height:15px;border-radius:50%;border:1.5px solid #c9d9e6;flex:none;position:relative}
.pay-opt.active .radio-dot{border-color:var(--blue)}
.pay-opt.active .radio-dot:after{content:'';position:absolute;inset:3px;border-radius:50%;background:var(--blue)}
.picked{display:flex;align-items:center;gap:11px;background:#f7fbff;border:1px solid #dcebf8;border-radius:11px;padding:11px}
.picked b{font-size:12.8px;display:block}
.picked span{font-size:11px;color:var(--muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pick-list{margin-top:9px;max-height:250px;overflow:auto;border:1px solid #e8f0f7;border-radius:10px}
.pick-item{display:flex;align-items:center;gap:9px;width:100%;background:#fff;border:0;border-top:1px solid #f1f6fb;padding:9px 10px;cursor:pointer;text-align:left;font-family:inherit}
.pick-item:first-child{border-top:0}
.pick-item:hover{background:#f7fbff}
.pr-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px dashed #edf3f9}
.pr-row:first-of-type{border-top:0}
.pr-ic{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex:none}
.pr-ic .ic{width:16px;height:16px}
.pr-main{flex:1;min-width:0}
.pr-main b{display:block;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-main span{display:block;font-size:10.4px;color:var(--muted);margin-top:1px}
.stepper{display:flex;align-items:center;border:1px solid #dfeaf4;border-radius:9px;overflow:hidden;background:#fff;flex:none}
.stepper button{width:27px;height:29px;border:0;background:#f6fafd;color:#3c6484;font-size:15px;cursor:pointer;line-height:1}
.stepper button:hover{background:#e9f3fb}
.stepper input{width:30px;height:29px;border:0;text-align:center;font-size:12px;font-weight:700;font-family:inherit;background:#fff;color:var(--text)}
.stepper.lg button{width:34px;height:36px;font-size:17px}
.stepper.lg input{width:40px;height:36px;font-size:14px}
.pr-sub{width:66px;text-align:right;font-size:11.6px;font-weight:700;color:#2c4c66;flex:none}
.note-box{display:flex;gap:8px;align-items:flex-start;background:#f5faff;border:1px solid #e0eefa;border-radius:10px;padding:9px 11px;font-size:11.2px;color:#4b6b83;line-height:1.5}
.note-box .ic{width:15px;height:15px;color:#5b9bd0;flex:none;margin-top:1px}
.mini-ul{margin:8px 0 10px;padding-left:16px;font-size:11.8px;color:#4b6b83;line-height:1.7}
.jenis-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.jenis-opt{border:1px solid #e2ecf5;background:#fff;border-radius:11px;padding:11px;text-align:left;cursor:pointer;transition:.15s;font-family:inherit}
.jenis-opt .jo-ic{width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;margin-bottom:7px}
.jenis-opt .jo-ic .ic{width:17px;height:17px}
.jenis-opt b{display:block;font-size:11.8px;color:var(--text)}
.jenis-opt span{display:block;font-size:10.2px;color:var(--muted);margin-top:2px}
.jenis-opt.active{border-color:#8fc2e9;background:#f5fbff;box-shadow:0 0 0 3px rgba(17,121,210,.07)}
.qty-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0;padding:12px;border:1px dashed #dfeaf4;border-radius:11px;background:#fbfdff}
.qty-line b{font-size:12.2px}
.pay-info{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f4faff;border:1px solid #dcebf8;border-radius:10px;padding:12px}
.pay-info span{font-size:11.4px;color:#5b7387}
.pay-info b{font-size:16px;font-weight:800;letter-spacing:-.4px}
.ok-badge{width:54px;height:54px;border-radius:50%;background:var(--green-soft);color:var(--green);display:flex;align-items:center;justify-content:center;margin:0 auto}
.ok-badge .ic{width:26px;height:26px}
.od-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #edf3f9}
.od-head b{letter-spacing:-.2px}
.od-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 0;border-bottom:1px solid #edf3f9}
.od-grid>div span{display:block;font-size:9.6px;text-transform:uppercase;letter-spacing:.5px;color:#93a8b9;font-weight:700}
.od-grid>div b{display:block;font-size:12.2px;margin-top:1px}

/* ------------------------------ antar ------------------------------ */
.antar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.antar-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:14px;box-shadow:var(--sh)}
.ac-top{display:flex;align-items:flex-start;gap:10px;padding-bottom:10px;border-bottom:1px dashed #eaf1f8}
.ac-top b{display:block;font-size:13px}
.ac-top span{display:block;font-size:11px;color:var(--muted);margin-top:1px}
.ac-mid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:10px 0}
.ac-mid span{display:block;font-size:9.4px;text-transform:uppercase;letter-spacing:.45px;color:#93a8b9;font-weight:700}
.ac-mid b{display:block;font-size:11.4px;margin-top:1px}
.ac-bot{display:flex;gap:6px;align-items:center;flex-wrap:wrap;border-top:1px dashed #eaf1f8;padding-top:10px}
.ac-bot .input{padding:6px 9px;font-size:11.2px;border-radius:8px;flex:1;min-width:130px}

/* ------------------------------ stok ------------------------------ */
.produk-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.produk-card{display:flex;flex-direction:column}
.pc-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.pc-nama{font-size:12.8px;letter-spacing:-.2px;display:block;min-height:32px}
.pc-harga{font-size:12px;color:#43607a;margin-top:5px}
.pc-harga b{font-size:13px}
.pc-stok{display:flex;align-items:baseline;gap:5px;margin-top:8px}
.pc-stok b{font-size:21px;letter-spacing:-.8px;font-weight:800}
.bar{height:5px;border-radius:99px;background:#eef3f8;overflow:hidden;margin-top:6px}
.bar i{display:block;height:100%;border-radius:99px;background:var(--green);transition:width .4s}
.kurir-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}

/* ------------------------------ laporan ------------------------------ */
.lap-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:14px}
.chart{display:flex;align-items:flex-end;gap:5px;height:214px;padding-top:8px}
.chart-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;height:100%}
.cb-wrap{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center}
.cb{width:100%;max-width:26px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#3aa0e8,#1179d2);min-height:2px;transition:.3s}
.cb.empty{background:#e8f0f7}
.chart-col span{font-size:8.8px;color:#8fa4b6;white-space:nowrap}
.top-list{display:flex;flex-direction:column;gap:11px}
.top-item{display:flex;gap:9px;align-items:flex-start}
.top-rank{width:19px;height:19px;border-radius:6px;background:#eef5fb;color:#5b84a4;font-size:10px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px}
.lap-sum{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.lap-sum>div{background:#f8fbfe;border:1px solid #edf4fa;border-radius:10px;padding:10px 12px}
.lap-sum span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.45px;color:#93a8b9;font-weight:700}
.lap-sum b{display:block;font-size:14px;margin-top:3px;letter-spacing:-.3px}

/* ------------------------------ pengaturan ------------------------------ */
.set-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:14px;align-items:start}
.struk{background:#fff;border:1px dashed #c9d8e5;border-radius:10px;padding:18px 16px;text-align:center;font-size:10.6px;color:#5b7387;line-height:1.7}
.struk-logo{width:38px;height:38px;border-radius:50%;background:var(--blue-soft);color:var(--blue-2);display:flex;align-items:center;justify-content:center;margin:0 auto 8px}
.struk b{display:block;font-size:12.4px;color:var(--text)}
.struk>span{display:block;font-size:9.8px;color:#8ba0b2}
.sk-row{display:flex;justify-content:space-between;gap:10px;font-size:10.4px;padding:2px 0;text-align:left}
.sk-row b{font-size:10.8px}
.akun-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:14px;align-items:start}

/* ------------------------------ login ------------------------------ */
.login{min-height:100vh;display:grid;grid-template-columns:1.02fr .98fr;background:#fff}
.login.hidden{display:none!important}
.login-side{
  background:linear-gradient(150deg,#0b2c47 0%,#0f3d5e 45%,#12608f 100%);
  color:#fff;padding:40px 48px;display:flex;flex-direction:column;position:relative;overflow:hidden;
}
.login-side:after{content:'';position:absolute;right:-120px;bottom:-140px;width:420px;height:420px;border-radius:50%;background:rgba(58,160,232,.14)}
.login-side:before{content:'';position:absolute;right:40px;top:-90px;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.05)}
.login-brand{display:flex;align-items:center;gap:12px;position:relative;z-index:2}
.login-brand img{border-radius:12px;box-shadow:0 10px 26px -8px rgba(0,0,0,.55)}
.login-brand h2{font-size:17px;font-weight:800;letter-spacing:-.4px}
.login-brand span{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#8fb8d6}
.login-side h1{font-size:34px;line-height:1.18;letter-spacing:-1.4px;margin:44px 0 12px;position:relative;z-index:2;font-weight:800}
.login-side>p{font-size:13px;color:#a9c9e0;max-width:380px;line-height:1.65;position:relative;z-index:2}
.login-points{list-style:none;padding:0;margin:24px 0 0;display:flex;flex-direction:column;gap:11px;position:relative;z-index:2}
.login-points li{display:flex;align-items:center;gap:9px;font-size:12.4px;color:#d3e6f4}
.login-points li span{width:18px;height:18px;border-radius:50%;background:rgba(90,200,160,.2);color:#8ef0c6;display:flex;align-items:center;justify-content:center;font-size:10px;flex:none}
.login-photo{
  margin-top:auto;height:180px;border-radius:16px;position:relative;overflow:hidden;
  background:linear-gradient(160deg,rgba(58,160,232,.35),rgba(9,34,56,.5)),radial-gradient(circle at 30% 20%,rgba(255,255,255,.2),transparent 60%);
  border:1px solid rgba(255,255,255,.14);display:flex;align-items:flex-end;padding:16px;z-index:2;
}
.login-photo-txt{font-size:12.4px;color:#d7ecf9;font-weight:600;letter-spacing:-.2px}
.water-bubble{position:absolute;border-radius:50%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.5),rgba(120,210,255,.12));border:1px solid rgba(255,255,255,.25)}
.water-bubble{width:74px;height:74px;right:26px;top:26px}
.water-bubble.b2{width:40px;height:40px;right:110px;top:78px}
.login-box{display:flex;align-items:center;justify-content:center;padding:34px}
.login-box form{width:100%;max-width:352px}
.login-logo-m{display:none}
.login-box h2{font-size:22px;letter-spacing:-.8px;font-weight:800}
.login-box>form>p{font-size:12.4px;margin:4px 0 22px}
.login-box .field{margin-bottom:14px}
.login-box .btn{margin-top:6px;padding:11px 16px;font-size:13px}
.login-err{background:var(--red-soft);color:#a83627;border:1px solid #f6cfc9;border-radius:9px;padding:9px 11px;font-size:11.6px;margin-bottom:12px}
.login-hint{margin-top:18px;padding:11px 13px;background:#f6faff;border:1px dashed #d8e7f4;border-radius:10px;display:flex;flex-direction:column;gap:2px}
.login-hint b{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#8ba0b2}
.login-hint span{font-size:11.4px;color:#4b6b83}

/* ------------------------------ modal / toast ------------------------------ */
.modal{position:fixed;inset:0;z-index:900;display:flex;align-items:center;justify-content:center;padding:18px}
.modal.hidden{display:none}
.modal-back{position:absolute;inset:0;background:rgba(11,44,71,.42);backdrop-filter:blur(3px)}
.modal-card{
  position:relative;background:#fff;border-radius:18px;width:100%;max-width:480px;max-height:90vh;
  display:flex;flex-direction:column;box-shadow:0 30px 70px -25px rgba(11,44,71,.55);animation:pop .22s ease-out;
}
@keyframes pop{from{transform:translateY(10px) scale(.98);opacity:0}to{transform:none;opacity:1}}
.modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 10px}
.modal-head h3{font-size:15px;letter-spacing:-.3px;font-weight:700}
.modal-head .icon-btn{border:0;background:#f4f8fc;width:28px;height:28px;font-size:12px}
.modal-body{padding:4px 18px 6px;overflow:auto;font-size:12.6px;color:#33506400}
.modal-body{color:#335064}
.modal-foot{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px 16px;border-top:1px solid #f0f5fa;margin-top:10px}
.toast{
  position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);z-index:1000;
  background:#0b2c47;color:#fff;padding:11px 18px;border-radius:11px;font-size:12.4px;
  box-shadow:0 18px 40px -18px rgba(11,44,71,.8);opacity:0;pointer-events:none;transition:.24s;max-width:88vw;text-align:center;
}
.toast.show{opacity:1;transform:translate(-50%,0)}
.toast.err{background:#b23a2b}

/* ------------------------------ print ------------------------------ */
@media print{
  .sidebar,.topbar,.m-header,.m-nav,.page-head .btn,.toolbar,.tabs,.m-only{display:none!important}
  .main{margin-left:0}
  .content{padding:0}
  body{background:#fff}
  .card,.stat,.dstat{box-shadow:none;break-inside:avoid}
}

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (max-width:1240px){
  .dash-grid{grid-template-columns:minmax(0,1fr) 290px}
  .produk-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .kurir-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .top-search{width:230px}
}
@media (max-width:1100px){
  .dash-grid{grid-template-columns:1fr}
  .dash-side{grid-row:auto}
  .order-grid{grid-template-columns:minmax(0,1fr) 310px}
  .lap-grid{grid-template-columns:1fr}
  .detail-grid{grid-template-columns:1fr}
  .set-grid,.akun-grid{grid-template-columns:1fr}
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width:1023px){
  :root{--r:15px}
  .d-only{display:none!important}
  .m-only{display:block}
  .mini-stats.m-only{display:grid}
  .menu-grid.m-only{display:grid}
  .sidebar{display:none}
  .main{margin-left:0}
  .topbar{display:none}
  .m-header{
    display:flex;align-items:center;justify-content:space-between;gap:10px;
    padding:11px 14px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);position:sticky;top:0;z-index:60;
  }
  .m-brand{display:flex;align-items:center;gap:9px}
  .m-brand img{border-radius:8px}
  .m-brand b{display:block;font-size:13.4px;letter-spacing:-.4px;font-weight:800;color:var(--navy)}
  .m-brand i{display:block;font-size:8.8px;font-style:normal;letter-spacing:.7px;text-transform:uppercase;color:#8aa1b4;margin-top:1px}
  .m-head-actions{display:flex;align-items:center;gap:8px}
  .m-head-actions .icon-btn{width:32px;height:32px;border-color:#e6eff7}
  .content{padding:14px 14px 90px;max-width:100%}
  .m-nav{
    display:flex;position:fixed;left:0;right:0;bottom:0;z-index:70;
    background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-top:1px solid var(--line);
    padding:7px 8px calc(7px + env(safe-area-inset-bottom));justify-content:space-around;align-items:center;
  }
  .m-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:3px 12px;color:#8ba0b2;font-size:9.4px;font-weight:600}
  .m-nav a i{font-style:normal}
  .m-nav a .ic{width:21px;height:21px}
  .m-nav a.active{color:var(--blue-2)}
  .m-nav a.active .ic{color:var(--blue)}
  .m-fab{
    width:48px;height:48px;border-radius:50%;background:linear-gradient(160deg,#2b96e6,#0e6ec2);
    color:#fff!important;display:flex;align-items:center;justify-content:center;margin-top:-24px;
    box-shadow:0 10px 22px -8px rgba(17,121,210,.9);border:3px solid #fff;
  }
  .m-fab span{font-size:25px;line-height:1;font-weight:400;margin-top:-2px}

  .mobile-page-head{
    display:flex;align-items:center;gap:8px;margin:-4px -2px 12px;
  }
  .mobile-page-head h2{font-size:16px;letter-spacing:-.5px;font-weight:800}
  .mobile-page-head .back{
    width:32px;height:32px;border-radius:9px;border:1px solid var(--line);background:#fff;color:#43607a;
    display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;
  }
  .mobile-page-head .icon-btn{width:32px;height:32px;border:1px solid var(--line)}
  .page-head{display:none}

  .stat-row{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}
  .stat{padding:11px;border-radius:13px;gap:9px}
  .stat-ic{width:34px;height:34px;border-radius:10px}
  .stat-ic .ic{width:17px;height:17px}
  .stat-txt b{font-size:14.6px}
  .stat-txt label{font-size:9.6px}

  .mini-stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:14px}
  .mini-stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:11px 12px;box-shadow:var(--sh)}
  .ms-ic{width:29px;height:29px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
  .ms-ic .ic{width:15px;height:15px}
  .mini-stat label{display:block;font-size:9.8px;color:var(--muted);font-weight:600}
  .mini-stat b{display:block;font-size:15.6px;letter-spacing:-.6px;font-weight:800;margin-top:1px}

  .menu-grid{grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:16px}
  .menu-grid a{
    background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 8px;
    display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;
    font-size:10.4px;font-weight:600;color:#2f4d64;line-height:1.3;box-shadow:var(--sh);min-height:88px;justify-content:center;
  }
  .menu-grid .mi{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center}
  .menu-grid .mi .ic{width:18px;height:18px}

  .card{border-radius:var(--r)}
  .card-head{padding:13px 14px 10px}
  .card-head h3{font-size:13px}
  .card-pad{padding:14px}
  .list-item{padding:10px 14px}
  .li-main b{font-size:12.4px}
  .li-right b{font-size:12px}

  .map{height:calc(100vh - 300px);min-height:330px;max-height:460px}
  .map-toolbar{top:9px;left:9px;right:9px;gap:6px}
  .map-toolbar .search-box{max-width:100%}
  .chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
  .chips::-webkit-scrollbar{display:none}
  .chip{font-size:10.2px;padding:5px 9px}
  .map-legend{left:9px;bottom:9px;padding:7px 9px;font-size:9.6px;border-radius:9px}
  .map-detail{right:9px;left:9px;bottom:9px;width:auto}
  .mp-body{grid-template-columns:1fr 1fr}

  .page-head{display:none}
  .toolbar{gap:8px;margin-bottom:12px}
  .toolbar .search-box{max-width:100%;flex:1 1 100%}
  .toolbar .chips{flex-wrap:nowrap}
  .tabs{width:100%;margin-bottom:12px}
  .tab{flex:1;justify-content:center;padding:7px 8px;font-size:11.4px}

  table{font-size:11.6px}
  thead th{padding:8px 10px;font-size:9.2px}
  tbody td{padding:8px 10px}

  .detail-hero{padding:15px;border-radius:15px;margin-bottom:12px}
  .dh-top{flex-wrap:wrap;gap:11px}
  .dh-id h2{font-size:18px}
  .dh-actions{width:100%;gap:6px;margin-top:2px}
  .dh-actions .btn{flex:1;padding:8px 6px;font-size:11.2px;gap:5px}
  .dh-actions .btn .ic{width:14px;height:14px}
  .avatar.lg{width:52px;height:52px;font-size:17px}
  .dstat-row{grid-template-columns:1fr 1fr;gap:8px}
  .dstat{padding:10px 11px;gap:8px;border-radius:11px}
  .dstat .di{width:29px;height:29px}
  .dstat b{font-size:12.2px}
  .dstat label{font-size:8.8px}
  .detail-grid{gap:12px}
  .mini-map{height:170px}

  .order-grid{grid-template-columns:1fr;gap:12px}
  .order-summary{position:static}
  .pr-sub{width:58px;font-size:10.8px}
  .pr-main b{font-size:11.6px}
  .stepper button{width:25px;height:27px}
  .stepper input{width:26px;height:27px;font-size:11.4px}
  .field-row{grid-template-columns:1fr;gap:0}
  .jenis-opt{padding:9px}
  .antar-grid{grid-template-columns:1fr}
  .produk-grid{grid-template-columns:1fr 1fr;gap:9px}
  .pc-nama{font-size:11.6px;min-height:30px}
  .pc-stok b{font-size:18px}
  .kurir-grid{grid-template-columns:1fr}
  .lap-sum{grid-template-columns:1fr 1fr}
  .chart{height:170px;gap:3px}
  .chart-col span{font-size:7.6px}
  .set-grid,.akun-grid{grid-template-columns:1fr}
  .modal{padding:12px}
  .modal-card{max-width:100%;border-radius:16px}
  .modal-body{font-size:12.4px}
  .toast{bottom:88px}
  .login{grid-template-columns:1fr}
  .login-side{display:none}
  .login-box{padding:26px 20px;min-height:100vh}
  .login-logo-m{display:flex;justify-content:center;margin-bottom:14px}
  .login-logo-m img{border-radius:12px;box-shadow:0 10px 24px -10px rgba(11,44,71,.5)}
  .login-box h2{text-align:center;font-size:20px}
  .login-box>form>p{text-align:center}
}
@media (min-width:700px) and (max-width:1023px){
  .produk-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .kurir-grid{grid-template-columns:1fr 1fr}
  .mini-stats{grid-template-columns:repeat(4,1fr)}
  .menu-grid{grid-template-columns:repeat(5,1fr)}
}
