/* Extracted from dashboard.html · 17 blocks merged in order · 2026-06-03 perf optimization */

/* === Block 1 attrs:id="asn-mature-mobile" === */
/* Sidebar tier indicators · kalem gelap, bukan silau */
    .sidebar-profile.tier-premium{background:linear-gradient(135deg,#37474f 0%,#455a64 100%)!important;color:#eceff1!important;}
    .sidebar-profile.tier-premium .sidebar-tier{background:rgba(255,213,79,.18)!important;color:#ffd54f!important;border:1px solid rgba(255,213,79,.4);}
    .sidebar-profile.tier-sultan{background:linear-gradient(135deg,#5d4037 0%,#6d4c41 100%)!important;color:#fff!important;}
    .sidebar-profile.tier-sultan h5{color:#fff!important;}
    .sidebar-profile.tier-sultan p{color:rgba(255,255,255,.78)!important;}
    .sidebar-profile.tier-sultan .sidebar-tier{background:rgba(255,213,79,.22)!important;color:#ffe082!important;}
    /* "Mode User" admin toggle · abu netral */
    #admin-view-toggle{background:rgba(255,255,255,.06)!important;color:#888!important;border:1px solid #e0e0e0!important;}
    body.dark #admin-view-toggle{background:rgba(255,255,255,.08)!important;color:#aab0c6!important;border-color:#3a4060!important;}
    /* "Pilih Tryout" header · clean tanpa wave SVG */
    .to-header svg{display:none!important;}
    .to-header{background:#f5f9fc!important;padding:18px 22px!important;margin-bottom:14px!important;}
    .to-header h2{color:#0f3a5f!important;font-size:18px!important;font-weight:700!important;gap:8px!important;}

    /* Dashboard-specific mobile responsive */
    @media(max-width:768px){
      .dash-main{padding:18px 14px!important;}
      .section-heading{font-size:18px!important;margin-bottom:14px!important;}
      .chart-card{padding:18px 14px!important;border-radius:12px!important;}
      .chart-filters{overflow-x:auto;flex-wrap:nowrap!important;padding-bottom:4px;}
      .cf-btn{flex-shrink:0;}
    }
    @media(max-width:480px){
      .dash-topbar{padding:0 10px!important;height:54px!important;}
      .dash-main{padding:14px 11px!important;margin-top:54px!important;}
      .stat-card{padding:13px!important;gap:10px!important;}
      .stat-info h3{font-size:18px!important;}
      .stat-info p{font-size:11px!important;}
      .stat-icon{width:38px!important;height:38px!important;min-width:38px!important;font-size:15px!important;}
      .to-split{grid-template-columns:1fr!important;}
      #section-riwayat .h-item{padding:9px 11px!important;gap:7px!important;}
      #section-riwayat .h-left h5{font-size:13px!important;max-width:none!important;}
      .to-search input{font-size:13px!important;}
    }

/* === Block 2 === */
#b41-overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,.65);z-index:10050;align-items:flex-start;justify-content:center;font-family:'Poppins',sans-serif;overflow-y:auto;padding:30px 12px;}
    #b41-overlay.active{display:flex;}
    #b41-modal{background:#fff;border-radius:18px;max-width:560px;width:100%;padding:28px 24px;position:relative;box-shadow:0 18px 60px rgba(0,0,0,.4);animation:b41In .3s ease;}
    @keyframes b41In{from{transform:translateY(20px);opacity:0;}to{transform:translateY(0);opacity:1;}}
    #b41-modal h3{font-size:18px;font-weight:800;color:#1565c0;margin-bottom:6px;}
    #b41-modal .b41-sub{font-size:12px;color:#666;margin-bottom:18px;line-height:1.6;}
    #b41-modal .b41-close{position:absolute;top:14px;right:18px;background:none;border:none;font-size:22px;color:#999;cursor:pointer;}
    .b41-slot{border:1.5px solid #e0e0e0;border-radius:12px;padding:14px;margin-bottom:10px;transition:all .2s;}
    .b41-slot.is-paying{border-color:#ffd54f;background:linear-gradient(180deg,#fff8e1,#fff);}
    .b41-slot.is-verified{border-color:#43a047;background:linear-gradient(180deg,#e8f5e9,#fff);}
    .b41-slot.is-error{border-color:#e53935;background:linear-gradient(180deg,#ffebee,#fff);}
    .b41-slot-title{font-size:12px;font-weight:700;color:#333;margin-bottom:8px;display:flex;align-items:center;gap:6px;}
    .b41-slot-title .b41-pill{font-size:10px;background:#03a4ed;color:#fff;padding:2px 7px;border-radius:5px;font-weight:700;letter-spacing:.3px;}
    .b41-slot-title .b41-pill.payer{background:#ff8f00;}
    .b41-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;}
    @media(max-width:520px){.b41-row{grid-template-columns:1fr;}}
    .b41-row label{font-size:11px;color:#666;margin-bottom:3px;display:block;}
    .b41-row input{width:100%;padding:9px 11px;border:1px solid #cfd8dc;border-radius:8px;font-size:13px;font-family:'Poppins',sans-serif;}
    .b41-row input:focus{outline:none;border-color:#03a4ed;}
    .b41-check-btn{padding:9px 16px;background:#03a4ed;color:#fff;border:none;border-radius:8px;font-weight:700;font-size:12px;cursor:pointer;white-space:nowrap;}
    .b41-check-btn:hover{background:#0277bd;}
    .b41-check-btn:disabled{background:#bbb;cursor:not-allowed;}
    .b41-result{margin-top:8px;font-size:12px;line-height:1.5;}
    .b41-result.ok{color:#1b5e20;}
    .b41-result.ok b{color:#0d3d0e;}
    .b41-result.bad{color:#b71c1c;}
    .b41-summary{background:#e3f2fd;border:1px solid #90caf9;border-radius:10px;padding:12px 14px;font-size:13px;color:#1565c0;margin-top:14px;line-height:1.7;}
    .b41-summary b{color:#0d47a1;}
    .b41-pay-btn{display:block;width:100%;padding:13px 0;margin-top:14px;background:linear-gradient(135deg,#43a047,#2e7d32);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:800;letter-spacing:.3px;cursor:pointer;box-shadow:0 4px 14px rgba(46,125,50,.3);}
    .b41-pay-btn:disabled{background:#cfd8dc;color:#888;cursor:not-allowed;box-shadow:none;}
    .b41-voucher-box{margin-top:14px;border:1.5px dashed #90caf9;border-radius:10px;padding:12px 14px;background:#f5fafd;}
    .b41-voucher-box .b41-voucher-label{font-size:11px;font-weight:700;color:#0277bd;text-transform:uppercase;letter-spacing:.4px;margin-bottom:6px;}
    .b41-promo-list{display:flex;flex-direction:column;gap:6px;margin-bottom:8px;max-height:160px;overflow-y:auto;}
    .b41-promo-item{background:linear-gradient(135deg,#fff8e1,#fff3e0);border:1.5px solid #ffcc80;border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:10px;cursor:pointer;transition:all .15s;}
    .b41-promo-item:hover{border-color:#ff8f00;transform:translateY(-1px);}
    .b41-promo-item.selected{background:linear-gradient(135deg,#c8e6c9,#fff8e1);border-color:#43a047;}
    .b41-promo-icon{font-size:22px;line-height:1;}
    .b41-promo-info{flex:1;min-width:0;}
    .b41-promo-title{font-size:12.5px;font-weight:700;color:#5d4037;line-height:1.3;}
    .b41-promo-pct{font-size:13px;font-weight:800;color:#1b5e20;}
    .b41-promo-empty{padding:10px 12px;background:#fafafa;border:1px dashed #e0e0e0;border-radius:10px;font-size:11.5px;color:#999;text-align:center;}
    .b41-divider{display:flex;align-items:center;gap:8px;margin:10px 0 8px;color:#aaa;font-size:11px;}
    .b41-divider:before,.b41-divider:after{content:"";flex:1;height:1px;background:#eee;}
    .b41-voucher-row{display:flex;gap:8px;}
    .b41-voucher-row input{flex:1;padding:9px 11px;border:1px solid #cfd8dc;border-radius:8px;font-size:13px;text-transform:uppercase;letter-spacing:1px;font-family:'Poppins',sans-serif;}
    .b41-voucher-row input:focus{outline:none;border-color:#03a4ed;}
    .b41-voucher-row button{padding:9px 16px;background:#03a4ed;color:#fff;border:none;border-radius:8px;font-weight:700;font-size:12px;cursor:pointer;white-space:nowrap;font-family:'Poppins',sans-serif;}
    .b41-voucher-row button:hover{background:#0277bd;}
    .b41-voucher-row button:disabled{background:#bbb;cursor:not-allowed;}
    .b41-voucher-msg{font-size:12px;margin-top:6px;min-height:16px;line-height:1.4;}
    .b41-voucher-msg.ok{color:#1b5e20;}
    .b41-voucher-msg.bad{color:#b71c1c;}
    .b41-voucher-applied{display:none;margin-top:8px;background:#e8f5e9;border:1px solid #a5d6a7;border-radius:8px;padding:8px 10px;font-size:12px;color:#1b5e20;justify-content:space-between;align-items:center;}
    .b41-voucher-applied.show{display:flex;}
    .b41-voucher-applied .b41-rm{background:transparent;border:none;color:#b71c1c;font-weight:700;cursor:pointer;font-size:11px;}
    .b41-total-row{margin-top:12px;display:flex;justify-content:space-between;align-items:center;padding:10px 14px;background:linear-gradient(135deg,#fff3e0,#ffebee);border-radius:10px;font-size:13px;}
    .b41-total-row b{font-size:18px;color:#d32f2f;}
    .b41-total-row .b41-total-strike{color:#999;text-decoration:line-through;font-size:11px;margin-right:6px;}

/* === Block 3 === */
@keyframes kuota-pulse{0%,100%{opacity:1;}50%{opacity:.4;}}

/* === Block 4 === */
.asn-hero{position:relative;background:linear-gradient(120deg,#0a3d62 0%,#0277bd 70%,#01579b 100%);border-radius:16px;padding:26px 32px;margin-bottom:24px;color:#fff;overflow:hidden;box-shadow:0 6px 22px rgba(2,119,189,.22);}
        .asn-hero::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='200' viewBox='0 0 400 200'><g fill='none' stroke='rgba(255,255,255,.12)' stroke-width='1'><circle cx='350' cy='40' r='28'/><circle cx='380' cy='80' r='14'/><circle cx='320' cy='100' r='42'/><path d='M280 160 L320 130 L360 160 L360 200 L280 200 Z' fill='rgba(255,255,255,.05)'/></g></svg>") right center/auto 100% no-repeat;opacity:.6;pointer-events:none;}
        .asn-hero-inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;}
        .asn-hero-text{flex:1;min-width:240px;}
        .asn-hero h2{font-size:22px;font-weight:800;margin:0 0 4px;letter-spacing:.2px;color:#fff;}
        .asn-hero p{font-size:13.5px;color:rgba(255,255,255,.86);margin:0;line-height:1.55;}
        .asn-hero-meta{display:flex;gap:16px;margin-top:14px;flex-wrap:wrap;}
        .asn-hero-meta-item{display:flex;align-items:center;gap:8px;font-size:12.5px;color:rgba(255,255,255,.92);}
        .asn-hero-meta-item i{font-size:13px;color:#ffd54f;}
        .asn-hero-icon{flex-shrink:0;width:88px;height:88px;border-radius:18px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;border:1.5px solid rgba(255,255,255,.22);}
        .asn-hero-icon i{font-size:42px;color:#fff;text-shadow:0 2px 6px rgba(0,0,0,.22);}
        @media(max-width:600px){
          .asn-hero{padding:20px 20px;border-radius:14px;margin-bottom:18px;}
          .asn-hero h2{font-size:18px;}
          .asn-hero p{font-size:12.5px;}
          .asn-hero-icon{width:60px;height:60px;border-radius:14px;}
          .asn-hero-icon i{font-size:28px;}
          .asn-hero-meta{gap:10px;margin-top:10px;}
          .asn-hero-meta-item{font-size:11.5px;}
        }

/* === Block 5 === */
#purchased-section{display:none !important;}
        /* Scrollable container ~4 items visible (sama gaya kotak orange di menu Tryout Tersedia) */
        #purchased-list{max-height:520px;overflow-y:auto;padding:12px;border:1px solid #fff3e0;border-radius:12px;background:#fffdf9;scroll-behavior:smooth;display:flex;flex-direction:column;gap:10px;}
        #purchased-list > *{flex-shrink:0;}
        #purchased-list::-webkit-scrollbar{width:8px;}
        #purchased-list::-webkit-scrollbar-track{background:#fff3e0;border-radius:4px;}
        #purchased-list::-webkit-scrollbar-thumb{background:#ffb74d;border-radius:4px;}
        #purchased-list::-webkit-scrollbar-thumb:hover{background:#ff8f00;}
        @media(max-width:600px){#purchased-list{max-height:420px;}}

/* === Block 6 === */
.to-header{position:relative;border-radius:16px;overflow:hidden;background:#e3f2fd;padding:36px 24px 30px;text-align:center;margin-bottom:18px;}
        .to-header svg{position:absolute;left:0;right:0;bottom:0;width:100%;height:60px;display:block;}
        .to-header h2{font-size:22px;font-weight:800;color:#01579b;margin:0;position:relative;z-index:1;display:inline-flex;align-items:center;gap:10px;}
        .to-search{position:relative;margin-bottom:14px;}
        .to-search i{position:absolute;left:18px;top:50%;transform:translateY(-50%);color:#999;}
        .to-search input{width:100%;padding:13px 16px 13px 44px;border:1.5px solid #e0e0e0;border-radius:12px;font-family:inherit;font-size:14px;background:#fff;transition:all .2s;}
        .to-search input:focus{outline:none;border-color:#03a4ed;box-shadow:0 0 0 3px rgba(3,164,237,.1);}
        .to-list{display:flex;flex-direction:column;gap:10px;}
        .to-item{background:#fff;border-radius:14px;padding:14px 18px;display:flex;align-items:center;gap:14px;box-shadow:0 1px 4px rgba(0,0,0,.04);position:relative;border:1px solid #f0f0f0;text-decoration:none;color:inherit;transition:all .25s cubic-bezier(.34,1.4,.64,1);cursor:pointer;overflow:hidden;}
        .to-item::before{content:"";position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(180deg,#03a4ed,#0288d1);transition:width .25s ease;border-radius:14px 0 0 14px;}
        .to-item:hover{transform:translateY(-3px) scale(1.005);box-shadow:0 8px 22px rgba(3,164,237,.16);border-color:#bbdefb;text-decoration:none;color:inherit;}
        .to-item:hover::before{width:4px;}
        .to-item:hover .to-icon{transform:scale(1.08) rotate(-3deg);}
        .to-item .to-icon{transition:transform .3s cubic-bezier(.34,1.56,.64,1);}
        .to-item.locked{opacity:.6;cursor:not-allowed;}
        .to-item.locked:hover{transform:none;box-shadow:0 1px 4px rgba(0,0,0,.04);border-color:#f0f0f0;}
        .to-item.locked:hover::before{width:0;}
        /* TG3 NEW badge pulse */
        #to-item-tg3{background:linear-gradient(135deg,#fff 0%,#fffde7 100%);border-color:#ffe082;}
        #to-item-tg3 h4 span{animation:to-pulse-badge 2s ease-in-out infinite;}
        @keyframes to-pulse-badge{0%,100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,143,0,.35);}50%{transform:scale(1.06);box-shadow:0 0 0 4px rgba(255,143,0,0);}}
        /* TG4 SOON shimmer */
        #to-item-tg4{background:linear-gradient(135deg,#faf5ff 0%,#fff 100%);border-color:#e1bee7;position:relative;overflow:hidden;}
        #to-item-tg4::after{content:"";position:absolute;top:0;left:-100%;width:50%;height:100%;background:linear-gradient(110deg,transparent 30%,rgba(156,39,176,.08) 50%,transparent 70%);animation:to-shimmer 4s infinite;pointer-events:none;}
        @keyframes to-shimmer{0%,40%{left:-100%;}65%,100%{left:200%;}}
        #to-item-tg4 h4 span{animation:to-pulse-badge-purple 2s ease-in-out infinite;}
        @keyframes to-pulse-badge-purple{0%,100%{box-shadow:0 0 0 0 rgba(156,39,176,.35);}50%{box-shadow:0 0 0 4px rgba(156,39,176,0);}}
        .to-icon{width:54px;height:54px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:26px;flex-shrink:0;line-height:1;}
        .to-info{flex:1;min-width:0;}
        .to-info h4{font-size:14.5px;font-weight:700;color:#1a1a1a;margin:0 0 4px;line-height:1.3;}
        .to-info p{font-size:12px;color:#888;margin:0;display:flex;align-items:center;gap:6px;line-height:1.4;}
        .to-info p i{font-size:11px;}
        .to-arrow{color:#bdbdbd;font-size:14px;flex-shrink:0;margin-left:6px;}
        .to-item:hover .to-arrow{color:#03a4ed;}
        .to-badge{position:absolute;top:0;right:0;background:#43a047;color:#fff;font-size:10px;font-weight:700;padding:4px 12px;border-radius:0 14px 0 12px;letter-spacing:.3px;}
        .to-badge.promo{background:linear-gradient(135deg,#ff8f00,#e91e63);}
        .to-badge.aktif{background:#43a047;}
        .to-badge.pending{background:#ff8f00;}
        .to-badge.tolak{background:#e53935;}
        .to-badge.locked{background:#9e9e9e;}
        .to-badge.premium{background:#03a4ed;}
        .to-badge.bundle{background:#d32f2f;}
        .to-empty{text-align:center;padding:30px 20px;color:#999;font-size:13px;}
        @media(max-width:600px){
          .to-bundle-hero,.to-bundle-4plus1-hero{padding:14px 16px!important;padding-top:32px!important;gap:10px!important;}
          .to-bundle-hero .to-icon,.to-bundle-4plus1-hero .to-icon{width:48px!important;height:48px!important;font-size:22px!important;}
          .to-bundle-hero .to-info h4,.to-bundle-4plus1-hero .to-info h4{font-size:14px!important;}
          .to-bundle-hero .to-info p,.to-bundle-4plus1-hero .to-info p{display:block!important;line-height:1.5!important;}
          .to-bundle-hero .to-info p b,.to-bundle-4plus1-hero .to-info p b,
          .to-bundle-hero .to-info p span,.to-bundle-4plus1-hero .to-info p span{white-space:nowrap;}
          .to-bundle-hero .to-arrow,.to-bundle-4plus1-hero .to-arrow{display:none!important;}
          .to-bundle-hero .to-badge,.to-bundle-4plus1-hero .to-badge{font-size:9px!important;padding:3px 10px!important;}
        }

/* === Block 7 === */
.to-split{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:flex-start;}
        .to-col{min-width:0;}
        .to-col-head{font-size:13px;font-weight:800;color:#0277bd;letter-spacing:.5px;padding:10px 14px;background:#e3f2fd;border-radius:10px;margin-bottom:10px;display:flex;align-items:center;gap:8px;text-transform:uppercase;}
        .to-col-head .count{margin-left:auto;background:#fff;color:#0277bd;font-size:11px;padding:2px 9px;border-radius:999px;font-weight:700;}
        .to-col-tersedia .to-col-head{background:#fff3e0;color:#e65100;}
        .to-col-tersedia .to-col-head .count{color:#e65100;}
        /* Scrollable container universal · ~6 items visible per kolom, items KEEP natural height */
        .to-col-tersedia .to-list,
        .to-col-aktif .to-list{max-height:520px;overflow-y:auto;padding:12px;scroll-behavior:smooth;border-radius:12px;display:flex;flex-direction:column;gap:10px;}
        /* PENTING: cegah items dikompres saat exceed max-height. Target .to-item langsung
           supaya juga jaring children dari wrapper display:contents (#to-premium-list dsb) */
        .to-col-tersedia .to-list .to-item,
        .to-col-aktif .to-list .to-item,
        .to-col-tersedia .to-list > *,
        .to-col-aktif .to-list > *{flex-shrink:0;}
        .to-col-tersedia .to-list{border:1px solid #fff3e0;background:#fffdf9;}
        .to-col-aktif .to-list{border:1px solid #e3f2fd;background:#fbfdff;}
        .to-col-tersedia .to-list::-webkit-scrollbar,
        .to-col-aktif .to-list::-webkit-scrollbar{width:8px;}
        .to-col-tersedia .to-list::-webkit-scrollbar-track{background:#fff3e0;border-radius:4px;}
        .to-col-tersedia .to-list::-webkit-scrollbar-thumb{background:#ffb74d;border-radius:4px;}
        .to-col-tersedia .to-list::-webkit-scrollbar-thumb:hover{background:#ff8f00;}
        .to-col-aktif .to-list::-webkit-scrollbar-track{background:#e3f2fd;border-radius:4px;}
        .to-col-aktif .to-list::-webkit-scrollbar-thumb{background:#64b5f6;border-radius:4px;}
        .to-col-aktif .to-list::-webkit-scrollbar-thumb:hover{background:#0277bd;}
        @media(max-width:600px){.to-col-tersedia .to-list,.to-col-aktif .to-list{max-height:440px;}}
        .to-empty-soft{text-align:center;padding:24px 16px;color:#aaa;font-size:12px;background:#fafafa;border:1px dashed #e0e0e0;border-radius:12px;}
        @media(max-width:900px){
          .to-split{grid-template-columns:1fr;}
        }
        .to-split.single .to-col-aktif{display:none;}
        .to-split.single{grid-template-columns:1fr;}

/* === Block 8 === */
#history-list, #deleted-list{max-height:600px;overflow-y:auto;padding:10px;border:1px solid #e3f2fd;border-radius:12px;background:#fbfdff;scroll-behavior:smooth;display:flex;flex-direction:column;gap:6px;}
        #history-list > *, #deleted-list > *{flex-shrink:0;}
        #history-list::-webkit-scrollbar, #deleted-list::-webkit-scrollbar{width:8px;}
        #history-list::-webkit-scrollbar-track, #deleted-list::-webkit-scrollbar-track{background:#e3f2fd;border-radius:4px;}
        #history-list::-webkit-scrollbar-thumb, #deleted-list::-webkit-scrollbar-thumb{background:#64b5f6;border-radius:4px;}
        #history-list::-webkit-scrollbar-thumb:hover, #deleted-list::-webkit-scrollbar-thumb:hover{background:#0277bd;}
        @media(max-width:600px){#history-list, #deleted-list{max-height:480px;}}

        /* ===== Rekap: Judul full tanpa kepotong, tanggal/waktu & status admin di bawah judul ===== */
        #section-riwayat .h-item{
          padding:12px 16px;gap:14px;align-items:center;
          background:#fff;border:1px solid #eef2f7;border-radius:10px;
          margin-bottom:0;min-height:54px;transition:all 0.2s ease;
        }
        #section-riwayat .h-item:hover{background:#f5fbff;border-color:#bbdefb;box-shadow:0 2px 8px rgba(3,164,237,0.06);}
        #section-riwayat .h-left{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0;}
        #section-riwayat .h-left h5{font-size:14px;font-weight:700;margin:0;white-space:normal;overflow:visible;text-overflow:clip;word-break:break-word;line-height:1.35;color:#1e293b;}
        #section-riwayat .h-num{font-size:12px;color:#03a4ed;font-weight:700;margin-left:4px;display:inline-block;}
        #section-riwayat .h-meta{font-size:11.5px;color:#64748b;display:flex;align-items:center;flex-wrap:wrap;gap:8px;line-height:1.2;}
        #section-riwayat .h-meta i{font-size:11px;margin-right:2px;color:#94a3b8;}
        #section-riwayat .h-scores{display:flex;gap:6px;flex-shrink:0;align-items:center;}
        #section-riwayat .h-scores span{font-size:11.5px;padding:3.5px 9px;border-radius:6px;background:#f1f5f9;color:#475569;font-weight:500;line-height:1.3;border:1px solid #e2e8f0;}
        #section-riwayat .h-scores span b{color:#0f172a;font-weight:700;}
        #section-riwayat .h-right{display:flex;align-items:center;gap:10px;min-width:auto;text-align:right;flex-shrink:0;}
        #section-riwayat .h-total{font-size:17px;font-weight:800;color:#03a4ed;min-width:32px;}
        #section-riwayat .h-status{font-size:10.5px;padding:3.5px 10px;font-weight:800;letter-spacing:.3px;border-radius:6px;}
        #section-riwayat .h-review{font-size:11.5px;color:#0284c7;font-weight:700;margin:0;padding:6px 12px;background:#e0f2fe;border-radius:7px;cursor:pointer;border:1px solid #bae6fd;transition:all 0.15s;}
        #section-riwayat .h-review:hover{background:#bae6fd;}
        #section-riwayat .h-hide-btn{font-size:11px;margin:0;padding:6px 10px;border-radius:7px;border:1px solid #fecaca;background:#fef2f2;color:#ef4444;cursor:pointer;font-weight:600;}
        #section-riwayat .h-hide-btn:hover{background:#fee2e2;}
        @media(max-width:900px){
          #section-riwayat .h-item{flex-wrap:wrap;gap:10px;padding:12px 14px;}
          #section-riwayat .h-left{flex-basis:100%;width:100%;}
          #section-riwayat .h-scores{order:2;flex:1;justify-content:flex-start;flex-wrap:wrap;}
          #section-riwayat .h-right{order:3;}
        }
        @media(max-width:600px){
          /* Mobile Stack rapih */
          #section-riwayat .h-item{padding:12px;gap:10px;flex-direction:column;align-items:stretch!important;flex-wrap:nowrap;}
          #section-riwayat .h-left{display:flex;flex-direction:column;gap:5px;width:100%;flex:none;}
          #section-riwayat .h-left h5{font-size:13.5px!important;font-weight:700;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.35;color:#0f172a;}
          #section-riwayat .h-meta{font-size:11px;color:#64748b;display:flex!important;flex-wrap:wrap;gap:6px;}
          #section-riwayat .h-scores{order:2;display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-start;width:100%;}
          #section-riwayat .h-scores span{padding:3px 8px;font-size:11px;background:#f8fafc;}
          #section-riwayat .h-right{order:3;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;text-align:left;padding-top:10px;border-top:1px dashed #e2e8f0;}
          #section-riwayat .h-right > .h-total{font-size:17px!important;font-weight:800;color:#0284c7;}
          #section-riwayat .h-right > .h-status{font-size:10px;padding:3px 8px;flex-shrink:0;}
          #section-riwayat .h-right > .h-review{font-size:11px;padding:6px 10px;flex:1;text-align:center;justify-content:center;}
          #section-riwayat .h-right > .h-hide-btn{padding:5px 8px;flex-shrink:0;}
        }

/* === Block 9 === */
.modul-pdf-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,0.08);}
          body.dark .modul-pdf-card{background:#1f2937 !important;border-color:#374151 !important;}
          body.dark .modul-pdf-card div[style*="color:#222"]{color:#f3f4f6 !important;}
          body.dark .modul-pdf-card div[style*="color:#555"],
          body.dark .modul-pdf-card div[style*="color:#666"]{color:#cbd5e1 !important;}

/* === Block 10 === */
/* Mini Quiz calendar in-dashboard */
        .mq-cal-wrap{padding:26px 22px;background:#fff;border-radius:18px;box-shadow:0 4px 22px rgba(15,61,98,.06);border:1px solid #f0f4f8;margin-bottom:18px;}
        @media(max-width:600px){.mq-cal-wrap{padding:18px 14px;border-radius:14px;}}
        .mq-cal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;flex-wrap:wrap;}
        .mq-cal-title{font-size:22px;font-weight:800;color:#0a3d62;margin:0;letter-spacing:-.3px;}
        .mq-cal-sub{font-size:12.5px;color:#607d8b;margin-top:2px;}
        .mq-cal-nav{display:inline-flex;align-items:center;gap:6px;}
        .mq-cal-nav-btn{background:#fff;border:1.5px solid #e3e6ed;color:#0277bd;width:36px;height:36px;border-radius:10px;font-size:14px;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;justify-content:center;}
        .mq-cal-nav-btn:hover:not(:disabled){background:#e3f2fd;border-color:#03a4ed;}
        .mq-cal-nav-btn:disabled{opacity:.4;cursor:not-allowed;}
        .mq-cal-month{font-size:14px;font-weight:700;color:#0a3d62;min-width:130px;text-align:center;}
        .mq-cal-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:11px;color:#607d8b;margin-bottom:14px;}
        .mq-cal-legend-item{display:inline-flex;align-items:center;gap:5px;}
        .mq-cal-legend-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0;}
        .mq-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;}
        .mq-cal-dow{font-size:10.5px;font-weight:700;color:#90a4ae;text-align:center;padding:6px 0;letter-spacing:.5px;text-transform:uppercase;}
        .mq-cal-cell{height:82px;min-width:0;border-radius:9px;padding:18px 5px 6px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;cursor:not-allowed;user-select:none;position:relative;border:1.5px solid #f0f4f8;background:#fafbfd;transition:all .2s ease;box-sizing:border-box;overflow:hidden;}
        .mq-cal-cell.empty{background:transparent;border:none;cursor:default;}
        .mq-cal-cell.past{opacity:.55;background:#f5f7fa;}
        .mq-cal-cell.future{background:#fafbfd;}
        .mq-cal-cell.today{background:linear-gradient(135deg,#03a4ed,#0277bd);border-color:transparent;cursor:pointer;box-shadow:0 4px 14px rgba(3,164,237,.32);}
        .mq-cal-cell.today:hover{box-shadow:0 8px 20px rgba(3,164,237,.42);}
        .mq-cal-day{position:absolute;top:4px;left:6px;font-size:11px;font-weight:700;color:#90a4ae;line-height:1;}
        .mq-cal-cell.today .mq-cal-day{color:rgba(255,255,255,.85);}
        .mq-cal-type{font-size:17px;font-weight:900;letter-spacing:.3px;line-height:1.05;margin-top:auto;}
        .mq-cal-type.twk{color:#0277bd;}
        .mq-cal-type.tiu{color:#6a1b9a;}
        .mq-cal-type.tkp{color:#2e7d32;}
        .mq-cal-cell.today .mq-cal-type{color:#fff;}
        .mq-cal-subtopic{font-size:9.5px;font-weight:600;color:#607d8b;line-height:1.2;text-align:center;padding:0 2px;width:100%;max-width:100%;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-wrap:break-word;overflow-wrap:break-word;hyphens:auto;margin-top:auto;}
        .mq-cal-cell.today .mq-cal-subtopic{color:rgba(255,255,255,.95);}
        .mq-cal-status{position:absolute;top:6px;right:6px;font-size:10px;color:#607d8b;}
        .mq-cal-cell.past .mq-cal-status{color:#9e9e9e;}
        .mq-cal-cell.today::after{content:"AKTIF";position:absolute;top:3px;right:4px;background:#ffd54f;color:#0a3d62;font-size:8.5px;font-weight:800;padding:2px 7px;border-radius:5px;letter-spacing:.4px;box-shadow:0 2px 6px rgba(0,0,0,.15);}
        @media(max-width:900px){
          .mq-cal-cell{height:90px;padding:8px 4px 6px;}
          .mq-cal-type{font-size:19px;}
          .mq-cal-subtopic{font-size:10px;}
        }
        @media(max-width:600px){
          .mq-cal-grid{gap:3px;}
          .mq-cal-cell{height:74px;padding:16px 2px 4px;gap:2px;}
          .mq-cal-day{font-size:10.5px;top:4px;left:5px;}
          .mq-cal-type{font-size:14.5px;}
          .mq-cal-subtopic{font-size:8.5px;-webkit-line-clamp:2;}
          .mq-cal-title{font-size:17px;}
          .mq-cal-sub{font-size:11.5px;}
          .mq-cal-wrap{padding:14px 12px;}
          .mq-cal-header{margin-bottom:10px;}
          .mq-cal-legend{font-size:10px;gap:9px;margin-bottom:10px;}
          .mq-cal-dow{font-size:9.5px;padding:4px 0;}
          .mq-cal-status{font-size:9px;top:3px;right:3px;}
          .mq-cal-cell.today::after{font-size:7.5px;padding:1.5px 6px;top:2px;right:3px;}
        }
        @media(max-width:380px){
          .mq-cal-cell{height:62px;}
          .mq-cal-type{font-size:12.5px;}
          .mq-cal-subtopic{font-size:8.5px;}
        }
        .mq-cta-card{background:#fff;border-radius:14px;padding:20px;box-shadow:0 4px 18px rgba(15,61,98,.06);border:1px solid #f0f4f8;text-align:center;}
        .mq-cta-card .mq-cta-meta{font-size:13.5px;color:#607d8b;line-height:1.65;}
        .mq-cta-card .mq-cta-meta b{color:#0a3d62;}
        .mq-cta-btn{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#03a4ed,#0277bd);color:#fff;padding:13px 26px;border-radius:12px;font-weight:700;font-size:14.5px;text-decoration:none;border:none;cursor:pointer;font-family:inherit;margin-top:12px;box-shadow:0 8px 22px rgba(3,164,237,.3);transition:all .25s;}
        .mq-cta-btn:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(3,164,237,.4);color:#fff;text-decoration:none;}

/* === Block 11 === */
.mq-cal-score{font-size:10px;font-weight:800;padding:1px 5px;border-radius:5px;margin-top:1px;letter-spacing:.2px;line-height:1.3;}
        .mq-cal-score.done{background:#e8f5e9;color:#2e7d32;}
        .mq-cal-score.missed{background:#ffebee;color:#c62828;font-weight:600;}
        .mq-cal-cell.past.missed{background:#fff5f5!important;border-color:#ffcdd2!important;opacity:.75;}
        .mq-cal-cell.past.done{background:#f1f8e9!important;border-color:#c5e1a5!important;opacity:1;}
        .mq-cal-cell.streak.past{background:linear-gradient(135deg,#fff8e1 0%,#ffe082 100%)!important;border-color:#ffc107!important;opacity:1;}
        .mq-cal-cell.streak.today{background:linear-gradient(135deg,#ff9800,#e65100)!important;border-color:transparent!important;}
        .mq-cal-fire{position:absolute;top:4px;right:5px;font-size:13px;line-height:1;}
        @media(max-width:600px){.mq-cal-score{font-size:8.5px;padding:1px 3px;}.mq-cal-fire{font-size:11px;}}

/* === Block 12 === */
.kh-item{background:#f8f9fb;border:1px solid #e5e7eb;border-radius:10px;padding:12px 14px;margin-bottom:10px;}
        .kh-item .kh-msg{color:#333;font-size:0.88rem;white-space:pre-wrap;line-height:1.5;}
        .kh-item .kh-meta{font-size:0.7rem;color:#888;margin-top:4px;}
        .kh-reply{background:#e8f5fe;border-left:3px solid #03a4ed;border-radius:8px;padding:10px 12px;margin-top:10px;}
        .kh-reply.unread{background:#fff3e0;border-left-color:#f57c00;}
        .kh-reply .kh-reply-label{font-size:0.7rem;font-weight:700;color:#0277bd;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:4px;}
        .kh-reply.unread .kh-reply-label{color:#e65100;}
        .kh-reply .kh-reply-body{color:#333;font-size:0.88rem;white-space:pre-wrap;line-height:1.5;}
        .kh-badge-new{background:#e74c3c;color:#fff;font-size:0.62rem;padding:2px 6px;border-radius:8px;margin-left:6px;font-weight:700;}
        body.dark .kh-item{background:#1f2937;border-color:#374151;}
        body.dark .kh-item .kh-msg,body.dark .kh-reply .kh-reply-body{color:#e5e7eb;}
        body.dark .kh-reply{background:#0c2840;}
        body.dark .kh-reply.unread{background:#3a2410;}

/* === Block 13 === */
/* Tabs */
    .tk-tabs{display:flex;gap:4px;margin-bottom:20px;border-bottom:2px solid #e0e0e0;padding-bottom:0;flex-wrap:wrap;}
    .tk-tab{padding:10px 20px;border:1px solid #e0e0e0;border-bottom:none;border-radius:10px 10px 0 0;background:#f8fafc;color:#64748b;font-size:13px;font-weight:600;cursor:pointer;font-family:'Poppins',sans-serif;transition:all .2s;}
    .tk-tab:hover{background:#f1f5f9;color:#333;}
    .tk-tab.active{background:#fff;color:#03a4ed;border-color:#03a4ed;border-bottom:2px solid #fff;margin-bottom:-2px;}
    .tk-tab i{margin-right:6px;}
    /* Card grid */
    .tk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;}
    .tk-card{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#fff;border-radius:12px;text-decoration:none;color:#333;font-size:13px;font-weight:500;transition:all .2s;border:1px solid #e0e0e0;box-shadow:0 1px 4px rgba(0,0,0,0.04);}
    .tk-card:hover{border-color:#03a4ed;transform:translateY(-2px);box-shadow:0 4px 15px rgba(3,164,237,0.12);background:#f0f9ff;}
    .tk-card span{flex:1;line-height:1.4;}
    .tk-card-logo{width:40px;height:40px;border-radius:8px;object-fit:contain;flex-shrink:0;}
    .tk-card-icon{width:40px;height:40px;border-radius:8px;background:#e3f2fd;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#03a4ed;flex-shrink:0;}
    .tk-card-icon.tk-sultan{background:linear-gradient(135deg,#ff6f00,#ff8f00);color:#fff;}
    /* Search */
    #tk-search{background:#fff;color:#333;border-color:#e0e0e0;}
    #tk-search:focus{border-color:#03a4ed;outline:none;box-shadow:0 0 0 3px rgba(3,164,237,0.1);}
    /* Tables */
    .tukin-table{width:100%;border-collapse:collapse;font-size:13px;}
    .tukin-table th{background:#f5f5f5;padding:10px 14px;text-align:left;font-weight:600;font-size:12px;color:#666;border-bottom:2px solid #e0e0e0;white-space:nowrap;}
    .tukin-table td{padding:9px 14px;border-bottom:1px solid #f0f0f0;color:#333;}
    .tukin-table tbody tr:hover{background:#f8f9ff;}
    .tukin-highlight{background:#e3f2fd !important;}
    .tukin-highlight:hover{background:#bbdefb !important;}
    .tukin-tag{background:#03a4ed;color:#fff;font-size:9px;padding:2px 6px;border-radius:4px;font-weight:600;margin-left:4px;}
    .tukin-badge{padding:3px 8px;border-radius:5px;font-size:10px;font-weight:600;white-space:nowrap;}
    .badge-sultan{background:#ff6f00;color:#fff;}
    .badge-5{background:#ede7f6;color:#4527a0;}
    .badge-4{background:#fce4ec;color:#c62828;}
    .badge-3{background:#fff3e0;color:#e65100;}
    .badge-2{background:#e8f5e9;color:#2e7d32;}
    .tukin-link{color:#03a4ed;text-decoration:none;font-weight:500;font-size:12px;}
    .tukin-link:hover{text-decoration:underline;color:#0277bd;}
    /* Klasifikasi cards light */
    .tukin-klas-card > div{background:#fff !important;border-radius:14px;padding:20px;box-shadow:0 2px 12px rgba(0,0,0,0.04);border:1px solid #e0e0e0;}
    .tukin-klas-card h3{color:#333 !important;}
    .tukin-klas-card p{color:#999 !important;}
    /* Sultan card special */
    .tukin-klas-card [style*="linear-gradient(135deg,#3d2000"]{background:linear-gradient(135deg,#fff8e1,#fff3e0) !important;border:2px solid #ffe0b2 !important;}
    .tukin-klas-card [style*="linear-gradient(135deg,#3d2000"] h3{color:#e65100 !important;}
    .tukin-klas-card [style*="linear-gradient(135deg,#3d2000"] td{color:#333 !important;}
    .tukin-klas-card [style*="linear-gradient(135deg,#3d2000"] th{color:#666 !important;background:#fff8e1 !important;}
    .tukin-klas-card [style*="color:#ffca28"]{color:#e65100 !important;}
    /* Dark mode */
    [data-theme="dark"] .tk-tabs{border-color:#334155;}
    [data-theme="dark"] .tk-tab{background:#1e1e1e;color:#94a3b8;border-color:#334155;}
    [data-theme="dark"] .tk-tab.active{background:#2a2a2a;color:#03a4ed;border-color:#03a4ed;}
    [data-theme="dark"] .tk-card{background:#1e1e1e;color:#e2e8f0;border-color:#333;}
    [data-theme="dark"] .tk-card:hover{background:#2a2a2a;border-color:#03a4ed;}
    [data-theme="dark"] .tk-card-icon{background:#2a2a2a;}
    [data-theme="dark"] #tk-search{background:#1e1e1e;color:#e2e8f0;border-color:#334155;}
    [data-theme="dark"] .tukin-table th{background:#1e1e1e;color:#aaa;border-color:#444;}
    [data-theme="dark"] .tukin-table td{color:#ddd;border-color:#333;}
    [data-theme="dark"] .tukin-table tbody tr:hover{background:#2a2a2a;}
    [data-theme="dark"] .tukin-highlight{background:#1a3a5c !important;}
    [data-theme="dark"] .tukin-klas-card > div{background:#1e1e1e !important;border-color:#333 !important;}
    [data-theme="dark"] .tukin-klas-card h3{color:#eee !important;}
    [data-theme="dark"] #section-tukin h3{color:#eee;}
    @media(max-width:600px){.tk-grid{grid-template-columns:1fr;}.tk-tab{padding:8px 14px;font-size:12px;}}
    /* Detail panel dark mode */
    [data-theme="dark"] #tk-detail-panel > div{background:#1e1e1e !important;border-color:#333 !important;}
    [data-theme="dark"] #tk-detail-panel h3{color:#eee !important;}
    [data-theme="dark"] #tk-detail-panel p{color:#aaa !important;}
    /* Klasifikasi side-by-side */
    .tukin-klas-grid{display:flex;gap:16px;flex-wrap:wrap;}
    .tukin-klas-grid .tukin-klas-card{flex:1;min-width:240px;margin-bottom:0 !important;}
    @media(max-width:600px){.tukin-klas-grid{flex-direction:column;}.tukin-klas-grid .tukin-klas-card{min-width:100%;}}
    /* Jelata 1 badge */
    .badge-1{background:#eceff1;color:#546e7a;}

    /* ===== Kalkulator Gaji ===== */
    .kg-wrap{margin-top:6px;}
    .kg-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:flex-start;}
    @media(max-width:900px){.kg-grid{grid-template-columns:1fr;}}
    .kg-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px 22px 20px;box-shadow:0 2px 10px rgba(15,61,98,.04);}
    .kg-card-title{font-size:15px;font-weight:800;color:#0a3d62;margin:0 0 18px;letter-spacing:.3px;}
    .kg-field{margin-bottom:16px;position:relative;}
    .kg-label{display:block;font-size:12px;font-weight:700;color:#607d8b;text-transform:uppercase;letter-spacing:.4px;margin-bottom:6px;}
    .kg-input{width:100%;padding:11px 14px;border:1.5px solid #e0e4eb;border-radius:10px;font-family:'Poppins',sans-serif;font-size:14px;color:#1f2937;background:#fff;transition:border-color .15s,box-shadow .15s;}
    .kg-input:focus{outline:none;border-color:#03a4ed;box-shadow:0 0 0 3px rgba(3,164,237,.12);}
    select.kg-input{cursor:pointer;}
    .kg-hint{font-size:11px;color:#9ca3af;margin-top:5px;line-height:1.45;}
    .kg-dropdown{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #e0e4eb;border-radius:10px;box-shadow:0 8px 22px rgba(0,0,0,.10);z-index:30;max-height:260px;overflow-y:auto;margin-top:4px;}
    .kg-dropdown.open{display:block;}
    .kg-dropdown-item{padding:10px 14px;cursor:pointer;font-size:13px;color:#374151;border-bottom:1px solid #f3f4f6;display:flex;align-items:center;gap:8px;}
    .kg-dropdown-item:last-child{border-bottom:none;}
    .kg-dropdown-item:hover{background:#f0f7ff;color:#0277bd;}
    .kg-dropdown-empty{padding:14px;text-align:center;color:#9ca3af;font-size:12.5px;}
    .kg-selected{padding:10px 12px;background:#f0f7ff;border:1px solid #bbdefb;border-radius:10px;font-size:13px;color:#0277bd;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:8px;}
    .kg-selected .kg-remove{background:none;border:none;color:#0277bd;cursor:pointer;font-size:14px;padding:2px 6px;}
    .kg-result{background:#fafbfd;}
    .kg-instansi-name{font-size:14px;font-weight:700;color:#0a3d62;padding:10px 14px;background:#fff;border:1px solid #e0e4eb;border-radius:10px;margin-bottom:14px;}
    .kg-comp-list{display:flex;flex-direction:column;gap:9px;margin-bottom:16px;}
    .kg-comp{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:10px 12px;background:#fff;border:1px solid #eef0f3;border-radius:10px;}
    .kg-comp-label{font-size:13px;color:#1f2937;font-weight:600;flex:1;line-height:1.45;}
    .kg-comp-meta{display:block;font-size:11px;color:#9ca3af;font-weight:500;margin-top:2px;}
    .kg-comp-val{font-size:14px;font-weight:800;color:#0a3d62;white-space:nowrap;}
    .kg-comp-optional{border-style:dashed;background:#fffdf5;}
    .kg-total-row{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;background:linear-gradient(135deg,#03a4ed,#0277bd);border-radius:12px;color:#fff;margin-bottom:14px;}
    .kg-total-label{font-size:13px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;}
    .kg-total-val{font-size:20px;font-weight:900;}
    .kg-disclaimer{font-size:11px;color:#9ca3af;line-height:1.55;font-style:italic;}
    [data-theme="dark"] .kg-card{background:#1e293b;border-color:#334155;color:#e2e8f0;}
    [data-theme="dark"] .kg-card-title{color:#f1f5f9;}
    [data-theme="dark"] .kg-label{color:#94a3b8;}
    [data-theme="dark"] .kg-input{background:#0f172a;border-color:#334155;color:#e2e8f0;}
    [data-theme="dark"] .kg-result{background:#0f172a;}
    [data-theme="dark"] .kg-instansi-name{background:#1e293b;color:#f1f5f9;border-color:#334155;}
    [data-theme="dark"] .kg-comp{background:#1e293b;border-color:#334155;}
    [data-theme="dark"] .kg-comp-label{color:#e2e8f0;}
    [data-theme="dark"] .kg-comp-val{color:#7dd3fc;}
    [data-theme="dark"] .kg-comp-optional{background:#1c2536;}
    [data-theme="dark"] .kg-dropdown{background:#1e293b;border-color:#334155;}
    [data-theme="dark"] .kg-dropdown-item{color:#e2e8f0;border-color:#334155;}
    [data-theme="dark"] .kg-dropdown-item:hover{background:#0f172a;color:#7dd3fc;}

/* === Block 14 === */
.fomo-toast{position:fixed;bottom:20px;left:20px;max-width:320px;background:#fff;border-radius:12px;box-shadow:0 4px 24px rgba(0,0,0,0.12);padding:14px 16px;display:flex;align-items:center;gap:12px;z-index:9998;transform:translateX(-400px);opacity:0;transition:transform .4s cubic-bezier(.4,0,.2,1),opacity .4s;font-family:'Poppins',sans-serif;}
.fomo-toast.fomo-show{transform:translateX(0);opacity:1;}
.fomo-toast.fomo-hide{transform:translateX(-400px);opacity:0;}
.fomo-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#03a4ed,#0288d1);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff;font-size:18px;font-weight:700;}
.fomo-body{flex:1;min-width:0;}
.fomo-text{font-size:13px;color:#333;font-weight:500;line-height:1.4;margin:0;}
.fomo-time{font-size:11px;color:#999;margin-top:2px;display:flex;align-items:center;gap:4px;}
.fomo-live{width:6px;height:6px;border-radius:50%;background:#4caf50;display:inline-block;animation:fomo-pulse 1.5s infinite;}
.fomo-close{position:absolute;top:6px;right:8px;background:none;border:none;color:#bbb;font-size:16px;cursor:pointer;padding:0;line-height:1;}
.fomo-close:hover{color:#666;}
@keyframes fomo-pulse{0%,100%{opacity:1;}50%{opacity:.4;}}
@media(max-width:480px){.fomo-toast{left:10px;right:10px;max-width:none;bottom:80px;}}

/* === Block 15 === */
@keyframes stm-pop{from{transform:scale(.92);opacity:0;}to{transform:scale(1);opacity:1;}}

/* === Block 16 === */
@media(max-width:600px){a.fab-asn{width:46px!important;height:46px!important;bottom:16px!important;font-size:22px!important;}a.fab-asn svg{width:22px!important;height:22px!important;}a.fab-asn.wa{right:16px!important;}a.fab-asn.tg{right:70px!important;}body{padding-bottom:80px;}}

/* === Block 17 === */
#modul-pdf-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.55);display:none;align-items:center;justify-content:center;z-index:10000;padding:20px;}
  #modul-pdf-overlay.show{display:flex;}
  #modul-pdf-modal{background:#fff;width:100%;max-width:520px;max-height:88vh;overflow-y:auto;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,0.3);font-family:'Poppins',sans-serif;}
  #modul-pdf-modal .mp-head{padding:20px 24px;border-bottom:1px solid #eee;display:flex;align-items:flex-start;gap:14px;}
  #modul-pdf-modal .mp-icon{width:54px;height:54px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:14px;flex-shrink:0;}
  #modul-pdf-modal .mp-title{font-weight:800;font-size:18px;color:#222;margin:0;}
  #modul-pdf-modal .mp-sub{font-size:12px;color:#777;margin-top:2px;}
  #modul-pdf-modal .mp-close{background:none;border:none;font-size:22px;color:#999;cursor:pointer;padding:0;margin-left:auto;line-height:1;}
  #modul-pdf-modal .mp-body{padding:18px 24px 8px;font-size:13px;line-height:1.6;color:#444;}
  #modul-pdf-modal .mp-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 16px;}
  #modul-pdf-modal .mp-stat{background:#f7f9fc;border-radius:10px;padding:10px;text-align:center;}
  #modul-pdf-modal .mp-stat-num{font-size:18px;font-weight:800;color:#03a4ed;line-height:1;}
  #modul-pdf-modal .mp-stat-lbl{font-size:10px;color:#888;margin-top:4px;text-transform:uppercase;letter-spacing:0.4px;}
  #modul-pdf-modal .mp-bullets{list-style:none;padding:0;margin:8px 0 16px;}
  #modul-pdf-modal .mp-bullets li{padding:7px 0;border-bottom:1px dashed #eee;display:flex;gap:10px;align-items:flex-start;}
  #modul-pdf-modal .mp-bullets li:last-child{border-bottom:none;}
  #modul-pdf-modal .mp-bullets li i{color:#2e7d32;font-size:14px;margin-top:2px;flex-shrink:0;}
  #modul-pdf-modal .mp-callout{background:linear-gradient(135deg,#fff8e1,#fffde7);border:1px dashed #ffb300;border-radius:10px;padding:10px 12px;font-size:12px;color:#5d4037;margin-bottom:14px;}
  #modul-pdf-modal .mp-foot{padding:16px 24px 22px;border-top:1px solid #eee;background:#fafbfd;border-radius:0 0 16px 16px;}
  #modul-pdf-modal .mp-price{display:flex;align-items:baseline;gap:10px;margin-bottom:12px;}
  #modul-pdf-modal .mp-price .now{font-size:24px;font-weight:800;color:#ff6f00;}
  #modul-pdf-modal .mp-price .old{font-size:13px;color:#999;text-decoration:line-through;}
  #modul-pdf-modal .mp-price .save{background:#ffeb3b;color:#333;font-size:10px;font-weight:800;padding:3px 8px;border-radius:6px;}
  #modul-pdf-modal .mp-cta{width:100%;padding:14px;border:none;border-radius:12px;background:#03a4ed;color:#fff;font-weight:800;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;}
  #modul-pdf-modal .mp-cta:hover{background:#0288d1;}
  #modul-pdf-modal .mp-cta.owned{background:#2e7d32;}
  #modul-pdf-modal .mp-cta:disabled{opacity:0.6;cursor:not-allowed;}
  #modul-pdf-modal .mp-note{font-size:11px;color:#888;text-align:center;margin-top:8px;}
  body.dark #modul-pdf-modal{background:#1f2937;color:#e5e7eb;}
  body.dark #modul-pdf-modal .mp-title{color:#f3f4f6;}
  body.dark #modul-pdf-modal .mp-body{color:#cbd5e1;}
  body.dark #modul-pdf-modal .mp-stat{background:#111827;}
  body.dark #modul-pdf-modal .mp-foot{background:#111827;}
  body.dark #modul-pdf-modal .mp-callout{background:#3a2410;color:#fff8e1;border-color:#a06800;}
