/* ANISSOFEA Fashion — responsif + app shell + modul tambahan
   Semua saiz skrin, bar tab app, marketplace & WhatsApp, editor produk, hab data & ejen AI.
   Mesti dimuatkan SELEPAS kedai.css dan seller-centre.css.
*/
/* ===== RESPONSIF SEMUA PERANTI + APP SHELL ===== */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:hidden;-webkit-tap-highlight-color:transparent;min-height:100vh;min-height:100dvh}
button,a,label,summary,.card{touch-action:manipulation}
img{-webkit-user-drag:none}
.box{max-height:92vh;max-height:92dvh}
.rd header{padding-top:max(18px,env(safe-area-inset-top))}
.rd footer,.rd .rb:last-child{padding-bottom:max(16px,env(safe-area-inset-bottom))}
header.hd .h1r,.mn{padding-left:max(3%,env(safe-area-inset-left));padding-right:max(3%,env(safe-area-inset-right))}
.tabbar,.bk2,.ins{display:none}.shr{display:grid}
.shr{position:absolute;top:12px;right:12px;width:40px;height:40px;border-radius:50%;background:#fffffff0;place-items:center;box-shadow:0 2px 8px #0002;z-index:3}
.cgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:12px 0}
.cgrid a{text-align:center;font-size:12px;font-weight:600}.cgrid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:14px;background:var(--b);margin-bottom:6px}
.mlist a{display:flex;align-items:center;gap:14px;padding:15px 2px;border-bottom:1px solid #f0f0f0;font-size:15px}
.mlist a span{flex:1}.mlist a:after{content:'›';color:#bbb;font-size:20px}
.mlist svg{color:#444}
.ins{position:fixed;left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));z-index:88;background:#111;color:#fff;border-radius:14px;padding:12px 12px 12px 14px;align-items:center;gap:12px;box-shadow:0 10px 30px #0005;animation:up .35s ease}
.ins img{width:42px;height:42px;border-radius:10px;flex:none}
.ins div{flex:1;font-size:12px;line-height:1.35}.ins b{display:block;font-size:13.5px}
.ins .btn{background:#fff;color:#111;padding:.55em 1em;font-size:13px}
.ins .xi{color:#aaa;font-size:18px;padding:4px}
@keyframes up{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
.ios-steps li{margin:10px 0 10px 20px;font-size:14px}
.ios-steps svg{vertical-align:middle}
#vList,#vProd{animation:fd .25s ease}
@keyframes fd{from{opacity:.4}to{opacity:1}}
/* ---------- skrin sangat besar (≥1600px) ---------- */
@media(min-width:1600px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))}.strip{grid-auto-columns:calc((100% - 90px)/6)}.wrap,.h1r,.mn{max-width:1680px}}
/* ---------- laptop kecil / iPad landscape (901–1180px) ---------- */
@media(min-width:901px) and (max-width:1180px){.h1r{grid-template-columns:170px 1fr auto;gap:18px}.hi .hl span{display:none}.lay{grid-template-columns:215px 1fr;gap:20px}.mn{gap:22px}.hbn h2{font-size:1.9rem}.hbn .tx{max-width:50%;padding:28px}.pdp{gap:28px}.vc b{font-size:1.35rem}}
/* ---------- tablet, iPad portrait & telefon (≤900px) ---------- */
@media(max-width:900px){
 body{padding-bottom:calc(62px + env(safe-area-inset-bottom))}
 .ut{display:none}
 header.hd{padding-top:env(safe-area-inset-top)}
 .h1r{grid-template-columns:1fr auto}.hi{display:flex}.hi .hl,.hi button[onclick="openWish()"]{display:none}
 .tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:85;background:#fffffff5;-webkit-backdrop-filter:saturate(1.6) blur(16px);backdrop-filter:saturate(1.6) blur(16px);border-top:1px solid var(--l);padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
 .tabbar button{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 0 7px;font-size:10.5px;font-weight:600;color:#8a8a8a;position:relative}
 .tabbar button.on{color:#111}.tabbar button.on svg{stroke-width:2.3}
 .tabbar em{position:absolute;top:4px;left:calc(50% + 5px);background:var(--r);color:#fff;font-style:normal;font-size:9px;min-width:16px;height:16px;border-radius:99px;display:grid;place-items:center;padding:0 4px}
 .tabbar em:empty{display:none}
 #aib{display:none}#ai{right:10px;bottom:calc(70px + env(safe-area-inset-bottom))}
 body.onp{padding-bottom:calc(72px + env(safe-area-inset-bottom))}body.onp .tabbar{display:none}body.onp #ai{bottom:calc(80px + env(safe-area-inset-bottom))}
 .mbar{padding:10px max(4%,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(4%,env(safe-area-inset-left))}
 #toast{bottom:calc(78px + env(safe-area-inset-bottom))}
 input,select,textarea{font-size:16px}
 .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 14px}
 .bk2{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--b);margin-right:6px}
 .brc{padding:12px 0;flex-wrap:nowrap;overflow:hidden;white-space:nowrap}.brc b{overflow:hidden;text-overflow:ellipsis}
 .shr{display:grid}
 .gal .mi .ar{display:none}
 .gal .mi{touch-action:pan-y}
 footer{margin-top:30px}
 .modal{align-items:flex-end;padding:0}.modal .box{border-radius:18px 18px 0 0;padding:22px 18px calc(22px + env(safe-area-inset-bottom));max-width:none;animation:up .3s ease}
 .fl{padding-top:env(safe-area-inset-top)}
}
/* tablet portrait / iPad mini–Pro (700–900px): halaman produk 2 lajur */
@media(min-width:700px) and (max-width:900px){.pdp{grid-template-columns:1fr 1fr;gap:26px}.gal{position:sticky;top:120px}.hero{grid-template-columns:1.6fr 1fr}.hv{grid-template-columns:1fr}.modal{align-items:center;padding:20px}.modal .box{border-radius:16px;max-width:640px}}
/* ---------- telefon (≤599px) ---------- */
@media(max-width:599px){
 .wrap{padding:0 12px}.h1r{padding:10px 12px 10px}.mn{padding:0 12px;gap:22px;font-size:12px}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 10px}
 .hbn{min-height:220px}.hbn .tx{padding:18px;max-width:62%}.hbn h2{font-size:clamp(1.25rem,6vw,1.6rem)}.hbn p{font-size:12.5px;margin-bottom:14px}.hbn .ph{width:44%;padding:8px;gap:4px}
 .hv{grid-template-columns:1fr 1fr;gap:10px}.vc{padding:12px 12px 12px 18px}.vc b{font-size:1.1rem}.vc code{font-size:11px;padding:3px 7px}
 .ctl{gap:10px}.ctl a{flex-basis:70px;font-size:11px}.ctl img{width:70px;height:70px;border-radius:12px}
 .rh h1{font-size:18px}.rh span{font-size:12px;display:block}.rhb{width:100%}.rhb .pill{flex:1;justify-content:center}
 .cb b{font-size:13px}.cn{font-size:12px}.band{padding:4px}.band b{font-size:11px}.band span{font-size:9.5px}.now{font-size:13.5px}
 .strip{grid-auto-columns:46%;gap:10px}
 .pi h1{font-size:19px}.pp .now{font-size:21px}.ab .btn{font-size:14px}
 .seo{font-size:12.5px}footer .fgd{grid-template-columns:1fr 1fr;gap:20px}footer .fgd>div:first-child{grid-column:1/-1}
 .cpy{flex-direction:column}
 .ci2{grid-template-columns:64px 1fr auto}.ci2 img{width:64px;height:88px}
 .two{grid-template-columns:1fr;gap:4px}
 .rvw{gap:14px}
}
/* telefon kecil (≤360px) — iPhone SE 1, Galaxy S kecil */
@media(max-width:360px){.grid{gap:18px 8px}.mn{gap:18px}.hbn .ph{display:none}.hbn .tx{max-width:100%}.hv{grid-template-columns:1fr}.tabbar button{font-size:9.5px}.cp{gap:4px}.cp s{font-size:11px}.logo .lgi{height:28px}.pmo div{flex-wrap:wrap}}
/* skrin lipat tertutup (≤300px) — Galaxy Z Fold cover screen */
@media(max-width:300px){.wrap{padding:0 8px}.grid{gap:14px 6px}.cb .wsh{display:none}.dp{display:none}.ctl a{flex-basis:60px}.ctl img{width:60px;height:60px}.tabbar button{font-size:0;padding:12px 0}.tabbar em{font-size:9px}.h1r{padding:8px}.logo .lgi{height:24px}.box{padding:18px 12px}}
/* telefon landscape / skrin rendah */
@media(max-height:500px) and (orientation:landscape){header.hd{position:static}.h1r{grid-template-columns:auto 1fr auto;padding-top:6px;padding-bottom:6px}.sb{grid-column:auto;order:0}.logo .lgi{height:28px}.mn a{padding:6px 0 8px}.hbn{min-height:200px}.gal .mi{aspect-ratio:auto;height:78vh}.gal{position:static}.tabbar button{padding:4px 0 3px;flex-direction:row;justify-content:center;gap:6px}body{padding-bottom:calc(44px + env(safe-area-inset-bottom))}.rd{width:min(460px,100%)}.modal .box{max-height:96vh}}
/* peranti sentuh — jangan bergantung pada hover */
@media(hover:none){.fs{opacity:1}.card .im .h2{display:none}.card:hover .im img{transform:none}}
/* skrin dwi / boleh lipat dibuka (Surface Duo, Galaxy Fold mod span) */
@media(horizontal-viewport-segments:2){.pdp{grid-template-columns:calc(env(viewport-segment-width 0 0) - 3vw) 1fr;column-gap:calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0) + 3vw)}.gal{position:static}.rd{width:env(viewport-segment-width 1 0)}.modal{justify-content:flex-end}.modal .box{max-width:env(viewport-segment-width 1 0);border-radius:0;height:100%;max-height:none}.hero{grid-template-columns:calc(env(viewport-segment-width 0 0) - 3vw) 1fr;column-gap:calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0) + 3vw)}}
@media(spanning:single-fold-vertical){.pdp{grid-template-columns:calc(env(fold-left) - 3vw) 1fr;column-gap:calc(env(fold-width) + 3vw)}.gal{position:static}.rd{width:calc(100vw - env(fold-right))}}
@media(vertical-viewport-segments:2){.pdp{grid-template-columns:1fr}.gal .mi{height:calc(env(viewport-segment-height 0 0) - 140px);aspect-ratio:auto}}
/* mod app (dipasang ke skrin utama) */
@media(display-mode:standalone),(display-mode:fullscreen){body{overscroll-behavior-y:none}.ut{display:none}header.hd{padding-top:env(safe-area-inset-top)}}
html.app body{overscroll-behavior-y:none;-webkit-user-select:none;user-select:none}html.app input,html.app textarea,html.app .pi,html.app .acc,html.app .seo{-webkit-user-select:text;user-select:text}
html.app .ut{display:none}html.app header.hd{padding-top:env(safe-area-inset-top)}html.app footer .cpy span:last-child{display:none}
/* cetakan bersih (kedai) */
@media print{.tabbar,.ins,#ai,.mbar,header.hd,.fl,footer{display:none!important}}
/* ===== Backoffice: responsif ===== */
@media(min-width:901px) and (max-width:1180px){#bo{grid-template-columns:66px 1fr}.bs .gp,.bsf,.bs .lg small{display:none}.bs .lg{padding:14px 8px}.bs a{justify-content:center;padding:11px 0;font-size:0;position:relative;border-left-width:3px}.bs a span{font-size:17px;width:auto}.bs a em{position:absolute;top:3px;right:6px;font-size:9px;padding:0 5px}.g3{grid-template-columns:1fr 1fr}.ui .bt input{width:170px}.pipe{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){#bo{height:100vh;height:100dvh;padding:env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left)}.bc{padding-bottom:calc(60px + env(safe-area-inset-bottom))}#bd{padding:max(16px,env(safe-area-inset-top)) 14px calc(16px + env(safe-area-inset-bottom))}.ui input,.ui select,.ui textarea{font-size:16px}.kp{grid-template-columns:repeat(2,minmax(0,1fr))}.ui .bt h1{font-size:1rem}.bk{top:-14px}.ui .cd{overflow-x:auto;-webkit-overflow-scrolling:touch}.crs{grid-template-columns:1fr}}
@media(max-width:480px){.kp b{font-size:1.1rem}.todo{grid-template-columns:repeat(2,1fr)}.pipe{grid-template-columns:1fr 1fr}.ui .bt .who{display:none}.hb>div{grid-template-columns:80px 1fr 70px}.ui .ac input.w{min-width:0;width:100%}.cd{padding:14px 12px}}

/* ===== marketplace & WhatsApp ===== */
.sav{width:40px;height:40px;border-radius:50%;background:#111;color:#fff;display:inline-grid;place-items:center;font-weight:700;font-size:13px;flex:none;letter-spacing:.02em}.sav.big{width:56px;height:56px;font-size:17px}
.ofc{font-style:normal;background:#111;color:#fff;font-size:10px;font-weight:700;padding:2px 7px;border-radius:4px;vertical-align:middle;margin-left:4px}
.sbx{border:1px solid var(--l);border-radius:10px;padding:14px;margin-top:14px}.sbh{display:flex;gap:12px;align-items:center}.sbh b{font-weight:600}.sbh small{display:block;color:var(--m);font-size:12px}
.sba{display:flex;gap:8px;margin-top:12px}.sba .ghost{flex:1;text-align:center;font-size:13px;padding:.6em .8em;display:inline-flex;align-items:center;justify-content:center;gap:6px}.wa2{color:#128c4b;border-color:#bfe5cf!important}
.sbn2{display:flex;gap:16px;align-items:center;flex-wrap:wrap;border:1px solid var(--l);border-radius:14px;padding:18px 20px;margin-bottom:18px;background:linear-gradient(120deg,#faf7f3,#fff)}.sbn2 h2{font-size:20px}.sbn2 p{margin:4px 0;font-size:13px}
.btn.wa{background:#1a9e55}.btn.wa:hover{background:#13834a}
#waf{position:fixed;right:18px;bottom:86px;z-index:89;height:56px;min-width:56px;border-radius:99px;background:#1a9e55;color:#fff;display:flex;align-items:center;gap:8px;padding:0 14px;box-shadow:0 6px 18px #0004;font-weight:600;font-size:14px;transition:.2s}
#waf span{max-width:0;overflow:hidden;white-space:nowrap;transition:max-width .3s}#waf:hover span{max-width:140px}#waf:hover{background:#13834a}
@media(max-width:900px){#waf{bottom:calc(74px + env(safe-area-inset-bottom));right:12px;height:52px;min-width:52px;padding:0 12px}body.onp #waf{bottom:calc(84px + env(safe-area-inset-bottom))}#waf span{display:none}}
@media print{#waf{display:none!important}}
.wai{display:grid;grid-template-columns:320px 1fr;gap:16px;align-items:start}
.wl3{max-height:72vh;overflow:auto;padding:12px}
.wci{display:flex;gap:10px;align-items:center;padding:10px 8px;border-radius:10px;cursor:pointer}.wci:hover{background:#f6f6f8}.wci.on{background:#eef7f1}.wci small{display:block;color:#777;font-size:.74rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wci b{font-size:.84rem}
.wun{font-style:normal;background:#1a9e55;color:#fff;border-radius:99px;font-size:.62rem;padding:1px 6px;font-weight:700}
.wcp{display:flex;flex-direction:column;min-height:72vh}
.wch{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #eee;padding-bottom:10px;margin-bottom:8px}
.wmsg{flex:1;overflow:auto;background:#efeae2;border-radius:10px;padding:14px;height:46vh;min-height:300px}
.wm{max-width:78%;margin:0 0 10px;padding:8px 11px;border-radius:10px;font-size:.84rem;line-height:1.45;background:#fff;box-shadow:0 1px 1px #0001}
.wm small{display:block;color:#888;font-size:.66rem;margin-top:4px}
.wm.c{background:#fff;margin-right:auto}.wm.ai,.wm.ag,.wm.sys{background:#d9fdd3;margin-left:auto}.wm.sys{background:#e7f0ff}
.wtl{margin-top:6px;display:flex;flex-direction:column;gap:3px}.wtl span{font:500 .66rem ui-monospace,Menlo,monospace;color:#33543d;background:#ffffffa8;border-radius:4px;padding:2px 6px}
.wqr{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
@media(max-width:900px){.wai{grid-template-columns:1fr}.wl3{max-height:260px}.wcp{min-height:0}.wmsg{height:52vh}}
/* ===== editor produk lengkap ===== */
#bd.wide{width:min(1040px,100%)}
#bd .eph{padding-right:44px}
#bd .eph h2{font-size:1.15rem;margin:2px 0 8px;line-height:1.3}
#bd .x{position:sticky;top:0;float:right;z-index:6}
.epqb{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #eee;border-radius:10px;padding:8px 12px}
.epqb>b{font-size:1.35rem;min-width:52px}
.epqb>div{flex:1;min-width:0}
.epqb .lk{cursor:pointer}
#bd .ept{position:sticky;top:-16px;z-index:5;display:flex;gap:4px;overflow-x:auto;background:#f7f7f9;margin:12px -14px 0;padding:8px 14px;border-bottom:1px solid #e6e6ea;scrollbar-width:none;-webkit-overflow-scrolling:touch}
#bd .ept::-webkit-scrollbar{display:none}
#bd .ept button{flex:none;background:#fff;color:#333;border:1px solid #e1e1e6;border-radius:999px;padding:.45em .9em;font-size:.76rem;font-weight:600;position:relative;white-space:nowrap}
#bd .ept button.on{background:#111;color:#fff;border-color:#111}
#bd .ept button i{position:absolute;top:2px;right:4px;width:7px;height:7px;border-radius:50%;background:#e0a100}
#bd .epf{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom));z-index:5;display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#fffffff2;backdrop-filter:blur(6px);margin:16px -14px 0;padding:10px 14px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #e6e6ea}
#bd .fm{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px 14px}
#bd .fm input,#bd .fm select,#bd .fm textarea{width:100%;box-sizing:border-box}
#bd .fm small.mu{display:block;font-size:.7rem;margin-top:3px;line-height:1.35}
#bd h4{font-weight:700}
.upz{display:flex;flex-direction:column;align-items:center;gap:4px;border:2px dashed #c9c9d1;border-radius:12px;padding:22px 12px;text-align:center;cursor:pointer;background:#fff;transition:.2s}
.upz:hover,.upz.on{border-color:#111;background:#fafafa}
.upz small{color:#888;font-size:.74rem}
.mgr{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:12px}
.mit{position:relative;background:#fff;border:1px solid #e6e6ea;border-radius:10px;padding:6px;display:flex;flex-direction:column;gap:4px}
.mit.main{border-color:#111}
.mit img,.mit video{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:6px;background:#eee;display:block}
.mit input{font-size:.72rem;padding:.35em .5em}
.mit small{font-size:.66rem}
.mtag,.vtag{position:absolute;top:10px;left:10px;background:#111;color:#fff;font-size:.6rem;font-weight:700;padding:2px 6px;border-radius:4px;letter-spacing:.04em}
.mtag.ch{top:30px;background:#1a5fb4}
.vtag{left:auto;right:10px;background:#c8102e}
.mac{display:flex;gap:3px;flex-wrap:wrap}
.mac button{padding:.25em .5em!important;font-size:.7rem!important}
.jsn{background:#0f1115;color:#d6e2ff;font:12px/1.5 ui-monospace,Menlo,Consolas,monospace;padding:12px;border-radius:8px;overflow:auto;max-height:60vh;white-space:pre;margin-top:10px}
.gsp{background:#fff;border:1px solid #e6e6ea;border-radius:10px;padding:12px;margin-top:12px;font-family:arial,sans-serif}
.gsp small{color:#202124;font-size:12px;display:block;word-break:break-all}
.gsp b{color:#1a0dab;font-size:18px;font-weight:400;display:block;margin:4px 0}
.gsp p{color:#4d5156;font-size:13px;line-height:1.45}
.hint{font-size:.74rem;color:#888}
@media(max-width:600px){#bd .fm{grid-template-columns:1fr}.mgr{grid-template-columns:repeat(2,minmax(0,1fr))}#bd .epf button{flex:1}#bd .epf span{display:none}}
/* storefront: media, combo, tier */
#gmw{display:contents}
.gal .mi video{width:100%;height:100%;object-fit:contain;background:#000;display:block}
.vx{position:absolute;left:12px;right:12px;bottom:12px;background:#000c;color:#fff;font-size:12.5px;line-height:1.4;padding:8px 10px;border-radius:8px;text-align:center}
.vlink{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;height:100%;background:#111;color:#fff;font-weight:600;font-size:14px;text-decoration:none}
.vlink span{width:64px;height:64px;border-radius:50%;background:#fff;color:#111;display:grid;place-items:center;font-size:24px;padding-left:4px}
.gal .thm .tv{flex:none;width:76px;height:104px;border-radius:6px;cursor:pointer;border:2px solid transparent;background:#111;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:20px;gap:2px}
.gal .thm .tv small{font-size:9px;letter-spacing:.08em}
.gal .thm .tv.on{border-color:#c8a24a}
@media(max-width:900px){.gal .thm .tv{width:60px;height:82px}}
.szs button:disabled{color:#bbb;border-style:dashed;background:repeating-linear-gradient(135deg,#fff 0 6px,#f4f4f4 6px 12px);cursor:not-allowed;text-decoration:line-through}
.hl{margin:8px 0 0 18px;padding:0}
.hl li{margin:3px 0}
.szt td{text-align:center;white-space:nowrap}
.szt tr:first-child td{font-weight:700;background:#f6f6f6}
.tbx{border:1px solid #e9dfc6;background:#fffbf1;border-radius:10px;padding:10px 12px;margin:12px 0;display:flex;flex-direction:column;gap:4px;font-size:13px}
.tbx.po{border-color:#cfe0f5;background:#f3f8ff}
.tbx.bun{border-color:#e6e6e6;background:#fafafa}
.tbx.bun a{text-decoration:none;color:inherit}
.tbx.bun a:hover{text-decoration:underline}
.fbt{display:flex;flex-wrap:wrap;align-items:center;gap:16px}
.fbti{display:flex;align-items:flex-start;gap:10px;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch;padding-bottom:4px}
.fbti>a{flex:none}
.fbti>a{width:120px;text-decoration:none;color:inherit;display:flex;flex-direction:column;gap:3px}
.fbti>a img{width:120px;height:160px;object-fit:cover;border-radius:8px;background:var(--b)}
.fbti>a small{font-size:12px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fbti>a b{font-size:13px}
.pl2{font-size:22px;color:#999;align-self:center;margin-top:-40px}
.fbtt{display:flex;flex-direction:column;gap:6px;min-width:200px;margin-left:auto;padding:12px;border:1px solid #eee;border-radius:10px}
.fbtt b{font-size:18px}
.fbtt small{font-size:11px}
.tq{display:inline-block;font-style:normal;font-size:10px;font-weight:700;color:#1a7a3e;background:#e8f5ec;border-radius:4px;padding:1px 5px;margin-left:4px}
@media(max-width:600px){.fbti>a{width:92px}.fbti>a img{width:92px;height:123px}.fbtt{width:100%;margin:0}}
/* ===== hab data · ejen AI · peta ===== */
a.xl{white-space:nowrap;color:#0b5cad;text-decoration:none;border-bottom:1px dotted #0b5cad80;cursor:pointer;font-weight:inherit}
a.xl:hover{background:#e3f0ff;border-bottom-style:solid}
.lkg{display:grid;grid-template-columns:150px 1fr;gap:8px;padding:7px 0;border-bottom:1px solid #f2f2f5;font-size:.78rem;align-items:start}
.lkg>small{color:#777;font-weight:600}.lkg>small b{color:#111;margin-left:4px}
.lkg>div{display:flex;flex-wrap:wrap;gap:5px}
.lkg a.xl,.dch{display:inline-block;border:1px solid #dbe6f5;background:#f6f9ff;border-radius:6px;padding:2px 7px;font-size:.74rem;border-bottom:1px solid #dbe6f5;line-height:1.5}
.dch{border-color:#e6e6ea;background:#fafafa;color:#333;margin:0 4px 4px 0}.dch.w{border-color:#f1d6da;background:#fff6f7}
@media(max-width:600px){.lkg{grid-template-columns:1fr;gap:4px}}
.rawj{margin-top:14px;font-size:.78rem}.rawj summary{cursor:pointer;color:#555;font-weight:600}
.alr{display:flex;gap:10px;align-items:flex-start;padding:10px 4px;border-bottom:1px solid #f1f1f4}
.alr:last-child{border-bottom:0}
.alr .ai{font-size:15px;line-height:1.4}
.alr .ab{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.alr .ab b{font-size:.84rem;font-weight:600}
.alr .ab small{color:#555;font-size:.76rem}
.alr .ab em{font-style:normal;color:#888;font-size:.7rem}
.alr .aa{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.alr.nw .ab b:after{content:'BAHARU';font-size:.58rem;font-weight:700;background:#c8102e;color:#fff;border-radius:4px;padding:1px 5px;margin-left:6px;vertical-align:2px}
.alr.sk{background:linear-gradient(90deg,#c8102e0d,transparent 40%)}
@media(max-width:600px){.alr{flex-wrap:wrap}.alr .aa{width:100%;justify-content:flex-start;padding-left:25px}}
.agtop{display:flex;gap:14px;align-items:stretch;margin-bottom:14px}
.agtop .kp{flex:1;margin:0}
.hsc{position:relative;width:118px;flex:none;background:#fff;border:1px solid #e7e7ec;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px}
.hsc svg{width:76px;height:76px}
.hsc b{position:absolute;top:36px;font-size:1.3rem;color:var(--hc)}
.hsc small{font-size:.68rem;color:#777;margin-top:4px}
@media(max-width:700px){.agtop{flex-direction:column}.hsc{width:auto;flex-direction:row;gap:12px}.hsc b{position:static}.hsc svg{width:46px;height:46px}}
.agg{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;margin-top:14px}
.agc{background:#fff;border:1px solid #e7e7ec;border-top:3px solid var(--ac);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.agc.off{opacity:.6}
.agc p{font-size:.78rem;color:#555;line-height:1.45;margin:0}
.agh{display:flex;gap:10px;align-items:center}
.agh b{font-size:.92rem;display:block}.agh small{font-size:.7rem;color:#777}
.agi{width:38px;height:38px;border-radius:10px;background:color-mix(in srgb,var(--ac) 12%,#fff);display:grid;place-items:center;font-size:19px;flex:none}
.agm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.agm span{background:#f7f7f9;border-radius:8px;padding:6px 8px;min-width:0}
.agm small{display:block;font-size:.62rem;color:#777;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agm b{font-size:.86rem}
.agf{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}
.agf i{font-style:normal;font-size:.68rem;font-weight:700;border-radius:99px;padding:2px 8px;margin-right:4px}
.agf .sk{background:#fde7ea;color:#c8102e}.agf .sa{background:#fff3d6;color:#8a5a00}.agf .si{background:#e3f0ff;color:#0b5cad}.agf .ok{background:#e8f5ec;color:#1a7a3e}
.agf small{font-size:.68rem}
.agmd{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.agmd label{border:1px solid #e3e3e8;border-radius:10px;padding:10px;cursor:pointer;display:flex;flex-direction:column;gap:3px;background:#fff}
.agmd label.on{border-color:#111;box-shadow:0 0 0 1px #111}
.agmd input{display:none}.agmd b{font-size:.8rem}.agmd small{font-size:.68rem;color:#777;line-height:1.35}
@media(max-width:600px){.agmd{grid-template-columns:1fr}}
#agbtn.agk{border-color:#c8102e;color:#c8102e;animation:agp 2s infinite}
@keyframes agp{50%{box-shadow:0 0 0 4px #c8102e22}}
.mapw{padding:8px;overflow-x:auto}
.mapw svg{display:block;width:100%;min-width:860px;height:auto}
svg.amap text,svg.dmap text{font-family:inherit}
.amap .hd{font-size:11px;font-weight:700;letter-spacing:.14em;fill:#999}
.amap path{fill:none;stroke-width:1.2;transition:opacity .2s,stroke-width .2s}
.amap .er{stroke:#c9c9d1}.amap .ew{stroke-dasharray:5 4;stroke-width:1.4;opacity:.8}.amap .eo{stroke-width:1.6}.amap .eo2{stroke-width:2}.amap .ex{stroke:#bbb;stroke-dasharray:3 5}
.amap.dim path{opacity:.12}.amap.dim path.hi{opacity:1;stroke-width:2.4}
.amap g{cursor:pointer}
.amap rect{fill:#fff;stroke:#d9d9e0}
.amap .agn rect:first-child{stroke:var(--nc);stroke-width:1.4}.amap .agn:hover rect:first-child{fill:#fafafa;stroke-width:2.4}
.amap .agn.off{opacity:.45}
.amap .orch rect{fill:#111;stroke:#111}
.amap .dn2 rect{fill:#f7f9fc;stroke:#dbe3ee}.amap .dn2:hover rect{stroke:#0b5cad}
.amap .outn rect{fill:#fffbf1;stroke:#e9dfc6}.amap .outn:hover rect{stroke:#b7791f}
.amap .extn rect{fill:#fafafa;stroke:#bbb;stroke-dasharray:4 3}.amap .extn{cursor:default}
.amap .t1{font-size:12.5px;font-weight:600;fill:#111}.amap .t2{font-size:10.5px;fill:#777}.amap .w{fill:#fff}
.amap .cnt{font-size:11px;font-weight:700;fill:#0b5cad}
.amap .bdg,.dmap .bdg{font-size:10px;font-weight:700;fill:#fff}
.dmap .re{fill:none;stroke:#c3cad6;stroke-width:1.4}.dmap .re.bad{stroke:#c8102e;stroke-width:2;stroke-dasharray:6 4}
.dmap .rl{font-size:9.5px;fill:#8a93a3;paint-order:stroke;stroke:#fff;stroke-width:3px}.dmap .rl.bad{fill:#c8102e;font-weight:700}
.dmap .dnode{cursor:pointer}.dmap .dnode rect{fill:#fff;stroke:#d5dae3;stroke-width:1.2}.dmap .dnode:hover rect{stroke:#0b5cad;stroke-width:2}
.dmap .dnode.on rect{fill:#f0f6ff;stroke:#0b5cad;stroke-width:2}.dmap .dnode.bad rect{stroke:#e8a0aa}
.dmap .t1{font-size:12.5px;font-weight:600;fill:#111}.dmap .t2{font-size:10.5px;fill:#777}
.rpt{font-size:13px;color:#111}
.rpt .rph{display:flex;gap:12px;align-items:center;margin-bottom:12px}.rpt .rph b{font-size:1.1rem;display:block}.rpt .rph small{color:#777}
.rpt h4{margin:16px 0 6px;font-size:.9rem}
.rpt table{width:100%;border-collapse:collapse}.rpt td,.rpt th{border-bottom:1px solid #eee;padding:6px;text-align:left;font-size:12px}
.rptp{background:#fff;width:210mm;max-width:100%;min-height:270mm;padding:14mm;box-sizing:border-box}
.rptp .kp{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.rptp .kp div{border:1px solid #eee;border-radius:8px;padding:8px}.rptp .kp small{display:block;color:#777;font-size:11px}.rptp .kp i{display:block;font-size:10px;color:#888;font-style:normal}
