/* Poles Content Hub: perbaikan mobile, skeleton, filter, konsistensi komponen */
@media(max-width:980px){.side{position:fixed}}

/* ---- bilah atas & mobile ---- */
@media(max-width:720px){
  .bar{flex-wrap:wrap;row-gap:8px;padding:10px 14px}.bar-t{flex:1 1 calc(100% - 56px)}.bar h1{white-space:normal;font-size:17px;line-height:1.25}.crumb{white-space:nowrap}
  .bar-r{order:3;flex:1 1 100%;justify-content:stretch;gap:8px}.bar-r>*{flex:1 1 0;min-width:0}.bar-r select{max-width:none;width:100%}.bar-r .btn{flex:0 0 auto}.bar-r .chip{flex:0 0 auto}
  .hero .stats,.ins-hero .stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;width:100%}.hero .stats>div,.ins-hero .stats>div{min-width:0;padding:9px 12px}.hero .stats b,.ins-hero .stats b{font-size:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .fb-btn{transform:scale(.78);transform-origin:bottom right}.fb{bottom:calc(70px + env(safe-area-inset-bottom,0px))}
  .tb .tdv{text-align:right;min-width:0}.tb td[data-l='']{display:block}
}
.tdv{display:contents}@media(max-width:720px){.tdv{display:block}}

/* ---- toolbar, chip filter, pencarian ---- */
.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.toolbar>select,.toolbar>input[type=date]{width:auto;min-width:160px}
.sbox{position:relative;flex:1 1 220px;max-width:340px;display:block}.sbox input{padding-left:36px}.sbox svg{position:absolute;left:11px;top:50%;transform:translateY(-50%);width:16px;height:16px;stroke:var(--dim);fill:none;stroke-width:2;stroke-linecap:round;pointer-events:none}
.fchips{display:flex;gap:6px;flex-wrap:wrap}.fchip{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 13px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink2);font:500 12.5px var(--font);cursor:pointer}
.fchip span{font-size:11px;background:var(--line2);border-radius:9px;padding:1px 7px;color:var(--dim)}.fchip:hover{border-color:var(--brand);color:var(--brand)}.fchip.on{background:var(--brand);border-color:var(--brand);color:#fff}.fchip.on span{background:rgba(255,255,255,.2);color:#fff}
.more{display:flex;justify-content:center;padding:18px 0 4px}.card .more{padding:16px}
.clamp2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;max-width:560px}
@media(max-width:720px){.toolbar>*{flex:1 1 140px}.toolbar .fchips{flex:1 1 100%;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.fchip{flex:none}.sbox{max-width:none;flex:1 1 100%}}

/* ---- formulir berlabel ---- */
.fgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px 16px;align-items:end}.fgrid .field{margin:0}.fgrid .fact{justify-content:flex-end}.fgrid .fact .btn{height:38px;width:100%}
.field>label .mute{font-weight:400}

/* ---- skeleton pemuatan ---- */
.skel{display:grid;gap:16px}.sk{border-radius:var(--r);background:linear-gradient(100deg,#E7EAF3 30%,#F4F6FB 50%,#E7EAF3 70%);background-size:300% 100%;animation:skm 1.4s linear infinite}
.sk-l{height:18px;width:min(520px,70%)}.sk-hero{height:230px}.sk-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.sk-k{height:92px}.sk-b{height:260px}
@keyframes skm{from{background-position:100% 0}to{background-position:-100% 0}}
@media(max-width:720px){.sk-grid{grid-template-columns:1fr 1fr}.sk-hero{height:300px}}
@media(prefers-reduced-motion:reduce){.sk{animation:none}}

/* ---- empty state ---- */
.empty{padding:46px 24px;color:var(--dim)}.empty:before{content:'';display:block;width:44px;height:44px;margin:0 auto 14px;border-radius:50%;background:linear-gradient(135deg,#E9EDF8,#DCE4F8) center/22px no-repeat;box-shadow:inset 0 0 0 1px rgba(36,59,135,.1)}
.empty p{font-size:14px;max-width:380px;margin:0 auto 14px;line-height:1.6}

/* ---- konsistensi komponen ---- */
.card>h2:first-child{font-size:14.5px}.card>h2 .btn.sm{margin-left:auto}
.tb tr.lk:focus-visible{outline:2px solid var(--brand);outline-offset:-2px;background:#F3F6FD}
.btn:focus-visible,.fchip:focus-visible,.nav a:focus-visible,.tabbar a:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.btn.sm{min-width:0}.chip,.stg{line-height:1}
.lede{margin-bottom:18px}
.ccard .meta{row-gap:5px}.ccard h4{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.ccard .cb{min-height:150px}
.cgrid{align-items:stretch}.ccard .act{margin-top:auto}
.notice .row{gap:6px}
@media(max-width:720px){
  .bar-r{flex-wrap:wrap}.bar-r select{flex:1 1 calc(50% - 8px)}.bar-r .btn{flex:1 1 auto}.bar-r .btn:only-child{margin-left:auto;flex:0 0 auto}
  .fb-btn{transform:scale(.62)}.fb{bottom:calc(66px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:720px){.ins-hero .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ins-hero .stats b{white-space:normal;overflow:visible;line-height:1.2}}
@media(max-width:980px){.auth-r form:before{content:'';display:block;width:64px;height:64px;margin:0 0 22px;border-radius:12px;background:url('/logo.png') center/cover;box-shadow:0 10px 24px -10px rgba(36,59,135,.6)}.auth-r form:after{content:'DPP · DPW · DPC';display:block;margin-top:22px;font-size:12px;color:var(--dim);text-align:center}}
.duo{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);gap:16px;align-items:start}.igm{margin:0 auto}@media(max-width:1180px){.duo{grid-template-columns:1fr}}
