.mjsh-app,.mjsh-public,.mjsh-auth,.mjsh-market{font-family:'Poppins',system-ui,sans-serif;color:#1e1b4b;box-sizing:border-box}
.mjsh-app *,.mjsh-public *,.mjsh-auth *,.mjsh-market *{box-sizing:border-box}
.mjsh-public{margin:0;background:#f8f8fc;--pri:var(--brand,#4f46e5)}
.mjsh-app{--pri:#4f46e5;position:fixed;inset:0;z-index:99999;display:flex;background:#f4f5fb;overflow:hidden}
.mjsh-app .side{width:250px;background:#fff;border-right:1px solid #e8e9f3;padding:16px;display:flex;flex-direction:column;overflow:auto}
.mjsh-app .brand{display:flex;align-items:center;gap:10px;font-size:18px;color:var(--pri);margin-bottom:24px}
.mjsh-app .bm{background:var(--pri);color:#fff;border-radius:10px;width:38px;height:38px;display:grid;place-items:center;font-weight:700;font-size:14px}
.mjsh-app nav{flex:1}
.mjsh-app nav a,.mjsh-app .out{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;color:#5b5f7a;text-decoration:none;font-weight:500;margin-bottom:6px;font-size:14px}
.mjsh-app nav a.on{background:var(--pri);color:#fff;box-shadow:0 8px 18px rgba(79,70,229,.35)}
.mjsh-app nav i,.mjsh-app .out i{font-style:normal}
.mjsh-app .out{color:var(--pri)}
.mjsh-app .main{flex:1;overflow:auto;padding:28px 32px}
.mjsh-app .top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px;gap:12px}
.mjsh-app h1{margin:0;font-size:26px;font-weight:700}
.mjsh-app .who{display:flex;gap:10px;align-items:center;background:#fff;border-radius:40px;padding:8px 18px 8px 10px;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.mjsh-app .who small{display:block;color:#8a8ea8;font-size:11px}
.mjsh-app .av{width:36px;height:36px;border-radius:50%;background:#f59e0b;display:grid;place-items:center;font-weight:700}
.muted{color:#7a7e99}.small{font-size:12px}.center{text-align:center}
.mjsh-app .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}
.stat{border-radius:18px;padding:18px}.stat .ic{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff8;margin-bottom:10px}
.stat .n{font-size:26px;font-weight:700}
.s1{background:#ffe4e6}.s2{background:#fef0d2}.s3{background:#dcfce7}.s4{background:#ede9fe}
.box{background:#fff;border-radius:20px;padding:22px;margin-bottom:18px}
.box h3{margin:0 0 14px;font-size:17px;font-weight:700}
.row3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.g2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.bar{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:13px}.bar span{flex:0 0 38%}
.track{flex:1;height:8px;border-radius:8px;background:#eef0f7;overflow:hidden}.track div{height:100%;background:var(--pri)}
.cols{display:flex;align-items:flex-end;gap:8px;height:130px}.col{flex:1;text-align:center;font-size:12px}
.cb{background:var(--pri);border-radius:4px;margin:4px 0}
.copy{display:flex;gap:8px;margin-bottom:12px}.copy input{flex:1}
label{display:block;font-size:12px;font-weight:500;color:#4b4f6b;margin-bottom:12px}
label input,label textarea,label select,.copy input{display:block;width:100%;margin-top:5px;padding:11px 14px;border:1px solid #e3e5f0;border-radius:12px;font:inherit;font-size:14px;background:#fff;color:#1e1b4b}
label input[type=color]{height:44px;padding:4px}
label.chk{display:flex;gap:8px;align-items:center}label.chk input{display:inline;width:auto;margin:0}
.btn{display:inline-block;background:var(--pri,#4f46e5);color:#fff!important;border:0;border-radius:12px;padding:11px 20px;font:inherit;font-weight:600;font-size:14px;cursor:pointer;text-decoration:none}
.btn.green{background:#22c55e}.btn.ghost{background:#eef0f7;color:#4b4f6b!important}.btn.brand{background:var(--brand,#4f46e5);width:100%;text-align:center}
.btn.gpay{display:block;text-align:center;background:#fff;color:#1a73e8!important;border:2px solid #1a73e8;margin:14px 0;padding:14px}
.tbl{width:100%;border-collapse:collapse;font-size:13px}.tbl th{text-align:left;color:#7a7e99;font-weight:500;padding:10px 8px;border-bottom:1px solid #eef0f7}.tbl td{padding:10px 8px;border-bottom:1px solid #f1f2f8;vertical-align:top}
.tbl select{padding:6px;border-radius:8px;border:1px solid #e3e5f0}
.thumb{width:70px;height:70px;object-fit:cover;border-radius:10px;display:block;margin:6px 0}.thumb.s{width:44px;height:44px}.thumb.w{width:160px;height:70px}
.between{display:flex;justify-content:space-between;align-items:center}
.danger{color:#e11d48}.ptitle{font-size:22px;margin:0 0 14px}
.mjsh-flash{padding:12px 16px;border-radius:12px;margin-bottom:16px;font-size:14px}.mjsh-flash.ok{background:#dcfce7;color:#166534}.mjsh-flash.err{background:#ffe4e6;color:#9f1239}
.qr{text-align:center}.qr img{max-width:240px;width:100%;border-radius:12px;border:1px solid #e3e5f0;padding:8px;background:#fff}
.mjsh-auth{max-width:420px;margin:30px auto;background:#fff;border-radius:20px;padding:28px;box-shadow:0 10px 30px rgba(0,0,0,.06)}
.mjsh-auth .btn{width:100%}
.hp{position:absolute;left:-9999px}
.mjsh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
.mjsh-card{display:flex;flex-direction:column;gap:6px;background:#fff;border-radius:16px;padding:12px;text-decoration:none;color:#1e1b4b;box-shadow:0 4px 14px rgba(0,0,0,.05)}
.ph{background:#f1f2f8;border-radius:12px;aspect-ratio:1/1;display:grid;place-items:center;font-size:34px;overflow:hidden}.ph img{width:100%;height:100%;object-fit:cover}
.tag.red{color:#e11d48;font-size:12px;font-weight:600}
.st-head{background:var(--brand,#4f46e5) center/cover;color:#fff;padding:34px 20px}.st-in{max-width:1000px;margin:auto;display:flex;gap:16px;align-items:center}
.st-head h1{margin:0;font-size:28px;color:#fff}.st-head a{color:#fff;text-decoration:none}.st-head p{margin:4px 0 0;opacity:.9}
.st-logo{width:72px;height:72px;border-radius:16px;background:#fff;object-fit:cover;display:grid;place-items:center}
.st-main{max-width:1000px;margin:24px auto;padding:0 16px}.st-main a{color:var(--brand,#4f46e5)}.mjsh-card{color:#1e1b4b!important}
.st-prod{display:grid;grid-template-columns:1fr 1fr;gap:28px;background:#fff;border-radius:20px;padding:22px}
.ph.big{aspect-ratio:1/1;font-size:70px}.price{font-size:24px;font-weight:700;color:var(--brand,#4f46e5);margin:4px 0}
.st-foot{text-align:center;padding:24px;color:#7a7e99;font-size:13px}.about{background:#fff;padding:16px;border-radius:14px}
.mjsh-pay{max-width:420px;margin:30px auto;background:#fff;border-radius:20px;padding:26px}.mjsh-pay h2{margin:0}.amt{font-size:34px;font-weight:700;color:var(--brand,#4f46e5);margin:10px 0}
.inv{max-width:800px;margin:20px auto;background:#fff;padding:34px}.inv-top{display:flex;justify-content:space-between;gap:20px}.inv-top h1{margin:0;font-size:22px}.inv-top h2{margin:6px 0}.right{text-align:right}
.inv-logo{max-height:60px;max-width:180px}.inv-bill{margin:22px 0;padding:12px;background:#f8f8fc;border-radius:8px}
.inv-t{width:100%;border-collapse:collapse}.inv-t th,.inv-t td{padding:10px;border-bottom:1px solid #e3e5f0;text-align:left}
.inv-sum{margin:14px 0 14px auto;min-width:280px}.inv-sum td{padding:5px 10px}.inv-sum td:last-child{text-align:right}.inv-sum .tot td{font-weight:700;border-top:2px solid #1e1b4b}
.noprint{margin-bottom:14px}
@media print{.noprint{display:none!important}.mjsh-public{background:#fff}.inv{margin:0;padding:0}}
@media(max-width:860px){
 .mjsh-app{flex-direction:column}.mjsh-app .side{width:100%;flex-direction:row;align-items:center;padding:8px;overflow-x:auto;border-right:0;border-bottom:1px solid #e8e9f3}
 .mjsh-app .brand{display:none}.mjsh-app nav{display:flex;gap:4px;flex:none}.mjsh-app nav a,.mjsh-app .out{white-space:nowrap;margin:0;padding:10px 12px}
 .mjsh-app .main{padding:16px}.mjsh-app .stats{grid-template-columns:1fr 1fr}.row3,.row2,.g2,.g3,.st-prod{grid-template-columns:1fr}
}
