  :root{
    --navy-950:#071b2e; --navy-900:#0a2440; --navy-800:#0e3357; --navy-700:#123a63;
    --sea-600:#2f7fb0; --sea-400:#5fa3cc; --foam-100:#eaf3f6;
    --orange-500:#e2652a; --orange-400:#ee7d43;
    --slate-300:#a9bdcb; --slate-400:#7f97a8;
    --line: rgba(234,243,246,0.14);
    box-sizing:border-box;
    padding-top:env(safe-area-inset-top,0px);
    padding-bottom:env(safe-area-inset-bottom,0px);
  }
  *{box-sizing:inherit; margin:0; padding:0;}
  html{scroll-padding-top:env(safe-area-inset-top,0px);}
  body{
    min-height:100vh;
    background:
      radial-gradient(1100px 700px at 82% 0%, rgba(47,127,176,0.18), transparent 60%),
      linear-gradient(180deg, var(--navy-950) 0%, #081f37 55%, var(--navy-950) 100%);
    background-attachment:fixed;
    color:var(--foam-100);
    font-family:'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
    display:flex; flex-direction:column;
  }
  a{ color:inherit; }
  button{ font-family:inherit; }

  header{
    display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
    padding:14px clamp(16px,3vw,40px);
    border-bottom:1px solid var(--line);
  }
  .brand{ display:flex; align-items:center; gap:13px; }
  .brand-mark{ width:46px; height:46px; object-fit:contain; flex:0 0 auto; }
  .brand-text .k1{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:13.5px; }
  .brand-text .k2{ font-size:11px; color:var(--slate-400); margin-top:1px; }
  .hdr-actions{ display:flex; align-items:center; gap:10px; }
  .mobile-nav-toggle{ display:none; }
  .chip-btn{
    font-size:12.5px; color:var(--slate-300); text-decoration:none; background:transparent; cursor:pointer;
    padding:7px 12px; border:1px solid rgba(234,243,246,0.2); border-radius:3px;
  }
  .chip-btn:hover{ color:var(--foam-100); border-color:var(--slate-300); }

  .hdr-nav{ display:flex; align-items:center; gap:4px; margin-right:auto; margin-left:8px; }

  /* Kata-kata Hari Ini di header: teks berjalan, glow biru, font sama seperti sebelumnya */
  .hdr-kata{ flex:1 1 0; min-width:0; display:flex; align-items:center; gap:10px; }
  .hdr-kata-send{ flex:0 0 auto; font:inherit; font-size:11.5px; font-weight:600; line-height:1; color:#0a1420; background:var(--orange-400); border:none; border-radius:5px; padding:6px 10px; cursor:pointer; }
  .hdr-kata-send:disabled{ opacity:.45; cursor:not-allowed; }
  .hdr-kata-view{ flex:1 1 0; min-width:0; overflow:hidden; white-space:nowrap;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
  .hdr-kata-track{ display:inline-flex; white-space:nowrap; will-change:transform; animation:hdrKataRun 30s linear infinite; }
  .hdr-kata-view:hover .hdr-kata-track{ animation-play-state:paused; }
  .hk-set{ display:inline-flex; align-items:center; flex:0 0 auto; }
  .hk-i{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:15px; line-height:1.3; color:#9fd8ff;
    text-shadow:0 0 6px rgba(95,190,255,.9), 0 0 16px rgba(60,160,255,.75), 0 0 32px rgba(40,130,255,.55); animation:hpGlow 3s ease-in-out infinite alternate; }
  .hk-i em{ font-style:normal; font-weight:500; font-size:12px; opacity:.85; }
  .hk-sep{ margin:0 22px; color:#9fd8ff; opacity:.7; font-size:12px; text-shadow:0 0 8px rgba(95,190,255,.9); }
  @keyframes hdrKataRun{ from{ transform:translateX(0); } to{ transform:translateX(var(--hk-w,-50%)); } }
  @media (prefers-reduced-motion:reduce){ .hdr-kata-track{ animation:none; } .hdr-kata-view{ overflow-x:auto; scrollbar-width:none; } }
  @media (max-width:760px){ .hdr-kata{ order:4; flex:1 0 100%; } }
  @media (min-width:1300px){
    header{ gap:12px; }
    .hdr-nav{ gap:0; margin-left:0; }
    .hdr-nav .nav-link, .hdr-nav .nav-trigger{ font-size:12.5px; letter-spacing:.02em; padding:9px 8px; gap:5px; }
  }
  @media (min-width:1300px) and (max-width:1520px){
    header{ gap:8px; }
    .hdr-nav .nav-link, .hdr-nav .nav-trigger{ font-size:12px; letter-spacing:0; padding:9px 5px; gap:4px; }
    .hdr-actions{ gap:6px; } .hdr-actions .chip-btn{ padding:7px 9px; font-size:12px; }
  }
  .nav-link, .nav-trigger{
    text-transform:uppercase; letter-spacing:.04em;
    display:inline-flex; align-items:center; gap:7px; font-size:13.5px; font-weight:500; color:var(--slate-300);
    text-decoration:none; background:transparent; border:none; cursor:pointer; padding:9px 12px; border-radius:3px;
  }
  #app-toast{ position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); z-index:10000; background:#0f2236; color:#e8eef5; border:1px solid var(--line); border-radius:8px; padding:9px 16px; font-size:13.5px; box-shadow:0 10px 30px rgba(0,0,0,.5); opacity:0; pointer-events:none; transition:opacity .2s, transform .2s; }
  #app-toast.show{ opacity:1; transform:translate(-50%,0); }
  .nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"]{ color:var(--foam-100); background:rgba(234,243,246,0.07); }
  .nav-trigger svg{ transition:transform .15s ease; }
  .nav-trigger[aria-expanded="true"] svg{ transform:rotate(180deg); }
  .nav-drop{ position:relative; }
  .nav-menu{
    position:absolute; top:calc(100% + 6px); left:0; z-index:60; min-width:290px; max-width:calc(100vw - 32px); padding:6px;
    background:var(--navy-900); border:1px solid rgba(234,243,246,0.2); border-radius:4px; box-shadow:0 12px 28px rgba(0,0,0,0.4);
  }
  .nav-menu[hidden]{ display:none; }
  .nav-menu a{ display:block; padding:10px 12px; font-size:13.5px; color:var(--slate-300); text-decoration:none; border-radius:3px; }
  .nav-menu a:hover, .nav-menu a:focus-visible, .nav-sub-toggle:hover{ background:rgba(47,127,176,0.2); color:var(--foam-100); }
  .nav-sub-toggle{
    display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; text-align:left; cursor:pointer;
    padding:10px 12px; font-size:13.5px; color:var(--slate-300); background:transparent; border:none; border-radius:3px;
  }
  .nav-sub-toggle[aria-expanded="true"]{ color:var(--foam-100); }
  .nav-sub-toggle svg{ flex:0 0 auto; transition:transform .15s ease; }
  .nav-sub-toggle[aria-expanded="true"] svg{ transform:rotate(180deg); }
  .nav-sub{ margin:2px 0 4px 12px; border-left:1px solid var(--line); }
  .nav-sub[hidden]{ display:none; }
  .nav-sub a, .nav-off{ padding-left:16px; }
  .nav-off{ display:flex; align-items:baseline; justify-content:space-between; gap:10px; padding-top:10px; padding-bottom:10px; padding-right:12px; font-size:13.5px; color:var(--slate-400); opacity:.7; cursor:default; }
  .nav-off small{ font-size:11px; }
  @media (max-width:760px){ .hdr-nav{ order:3; flex:1 0 100%; margin:0; } }
  a:focus-visible, button:focus-visible{ outline:2px solid var(--orange-400); outline-offset:2px; }

  .shell{ flex:1 1 auto; display:grid; grid-template-columns:272px 1fr; min-height:0; }

  /* Sidebar */
  aside{
    border-right:1px solid var(--line); background:rgba(7,27,46,0.55);
    padding:20px 0 24px; position:sticky; top:0; align-self:start;
    max-height:100vh; overflow-y:auto;
  }
  .side-label{ font-size:10.5px; letter-spacing:0.09em; text-transform:uppercase; color:var(--slate-400); padding:0 20px; margin:6px 0 8px; }
  .side-link{
    display:flex; align-items:center; gap:12px; width:100%; text-align:left; cursor:pointer;
    background:none; border:none; border-left:3px solid transparent;
    color:var(--slate-300); font-size:13.5px; line-height:1.35;
    padding:11px 20px 11px 17px;
  }
  .side-link:hover{ background:rgba(234,243,246,0.05); color:var(--foam-100); }
  .side-link[aria-current="page"]{
    background:rgba(47,127,176,0.16); color:var(--foam-100); font-weight:600; border-left-color:var(--orange-500);
  }
  .side-num{
    flex:0 0 auto; width:24px; height:24px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:11.5px;
    color:var(--orange-400); border:1px solid rgba(238,125,67,0.45);
  }
  .side-sep{ border-top:1px solid var(--line); margin:14px 20px; }

  /* Panel ulang tahun */
  .nav-badge{ display:inline-block; min-width:18px; padding:1px 6px; margin-left:6px; border-radius:999px; background:var(--orange-500); color:#fff; font-size:11px; font-weight:700; text-align:center; line-height:1.5; }
  .nav-link[aria-current="page"]{ color:var(--foam-100); background:rgba(234,243,246,0.07); }
  .bk-stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; margin:20px 0 16px; }
  .bk-stat{ border:1px solid var(--line); background:rgba(14,51,87,0.4); border-radius:4px; padding:12px 14px; }
  .bk-stat b{ display:block; font-size:24px; font-weight:700; line-height:1.2; color:var(--foam-100); }
  .bk-stat span{ font-size:12px; color:var(--slate-300); }
  .bk-legend{ display:flex; flex-wrap:wrap; gap:6px 16px; font-size:12px; color:var(--slate-300); margin:18px 0 14px; }
  .bk-legend i{ font-style:normal; display:inline-flex; width:18px; height:18px; border-radius:50%; align-items:center; justify-content:center; background:rgba(234,243,246,0.1); color:var(--foam-100); font-size:11px; font-weight:700; margin-right:5px; }
  .bk-tab-count{ opacity:.8; }
  .bk-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
  .bk-tags{ display:flex; flex-wrap:wrap; gap:5px; }
  .bk-tag{ display:inline-flex; align-items:center; gap:5px; padding:2px 9px 2px 3px; border-radius:999px; background:rgba(47,127,176,0.2); font-size:11.5px; white-space:nowrap; }
  .bk-tag i{ font-style:normal; width:18px; height:18px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--sea-600); color:#0a1420; font-weight:700; font-size:11px; }
  .bk-tag.ketua{ background:rgba(226,101,42,0.25); }
  .bk-count{ display:inline-block; min-width:26px; text-align:center; padding:3px 9px; border-radius:999px; font-weight:700; font-size:12.5px; background:rgba(234,243,246,0.08); }
  .bk-count.multi{ background:var(--orange-500); color:#fff; }
  .bk-name{ background:none; border:none; padding:0; font:inherit; color:var(--foam-100); text-align:left; cursor:pointer; text-decoration:underline; text-decoration-color:rgba(95,163,204,0.5); text-underline-offset:3px; }
  .bk-name:hover, .bk-name:focus-visible{ color:var(--sea-400); text-decoration-color:var(--sea-400); }
  .pf-overlay{ position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(3,10,20,0.72); }
  .pf-overlay[hidden]{ display:none; }
  .pf-card{ width:100%; max-width:760px; max-height:calc(100vh - 32px); overflow-y:auto; background:var(--navy-800); border:1px solid var(--line); border-radius:6px; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
  .pf-head{ display:flex; gap:16px; align-items:center; padding:20px 22px; border-bottom:1px solid var(--line); position:sticky; top:0; background:var(--navy-800); z-index:1; }
  .pf-avatar{ flex:0 0 auto; width:56px; height:56px; border-radius:50%; background:var(--sea-600); color:#0a1420; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:20px; }
  .pf-title{ flex:1 1 auto; min-width:0; }
  .pf-title h2{ margin:0; font-size:18px; line-height:1.3; }
  .pf-title p{ margin:3px 0 0; font-size:13px; color:var(--slate-300); }
  .pf-close{ flex:0 0 auto; width:34px; height:34px; border-radius:4px; cursor:pointer; background:transparent; color:var(--foam-100); border:1px solid var(--line); font-size:18px; line-height:1; }
  .pf-close:hover{ background:rgba(234,243,246,0.08); }
  .pf-badges{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
  .pf-body{ padding:6px 22px 20px; }
  .pf-sec{ margin-top:18px; }
  .pf-sec h3{ margin:0 0 8px; font-size:11.5px; letter-spacing:.07em; text-transform:uppercase; color:var(--sea-400); font-weight:600; }
  .pf-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:10px 22px; margin:0; }
  .pf-grid div{ min-width:0; }
  .pf-grid dt{ font-size:11.5px; color:var(--slate-400); margin:0; }
  .pf-grid dd{ margin:1px 0 0; font-size:13.5px; overflow-wrap:anywhere; }
  .pf-tim{ list-style:none; margin:0; padding:0; display:grid; gap:6px; }
  .pf-tim li{ display:flex; gap:10px; align-items:center; font-size:13px; }
  .pf-tim i{ font-style:normal; flex:0 0 auto; width:22px; height:22px; border-radius:50%; background:var(--sea-600); color:#0a1420; display:inline-flex; align-items:center; justify-content:center; font-weight:700; font-size:12px; }
  .pf-warn{ margin-top:16px; padding:10px 14px; border:1px dashed rgba(238,125,67,0.6); border-radius:4px; font-size:12.5px; color:var(--slate-300); }
  .nav-drop[id="nav-kinerja"] .nav-trigger[data-current]{ color:var(--foam-100); background:rgba(234,243,246,0.07); }
  .nav-drop[id="nav-pegawai"] .nav-trigger[data-current]{ color:var(--foam-100); background:rgba(234,243,246,0.07); }
  .bd-alerts{ display:grid; gap:10px; margin:22px 0 4px; }
  .bd-alert{ display:flex; gap:12px; align-items:flex-start; padding:12px 16px; border-radius:4px; border:1px solid rgba(238,125,67,0.5); background:rgba(226,101,42,0.12); font-size:13.5px; line-height:1.5; }
  .bd-alert.today{ border-color:rgba(238,125,67,0.9); background:rgba(226,101,42,0.22); }
  .bd-alert .bd-ico{ font-size:20px; line-height:1.2; }
  .bd-alert b{ font-weight:600; }
  .bd-alert small{ display:block; color:var(--slate-300); font-size:12px; }
  .bd-none{ padding:12px 16px; border:1px dashed var(--line); border-radius:4px; font-size:13px; color:var(--slate-300); margin:22px 0 4px; }
  .bd-tools{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:12px; }
  .bd-tools .search{ margin-bottom:0; }
  .bd-table-wrap{ overflow-x:auto; max-height:460px; overflow-y:auto; }
  .bd-table{ width:100%; border-collapse:collapse; font-size:13px; min-width:760px; }
  .bd-table th{ position:sticky; top:0; background:var(--navy-800); text-align:left; font-weight:600; font-size:11.5px; letter-spacing:0.05em; text-transform:uppercase; color:var(--slate-300); padding:10px 14px; border-bottom:1px solid var(--line); }
  .bd-table td:nth-child(n+3){ white-space:nowrap; }
  .bd-table td{ padding:10px 14px; border-top:1px solid var(--line); vertical-align:top; }
  .bd-table tr:hover td{ background:rgba(234,243,246,0.04); }
  .bd-table .bd-sub{ font-size:11.5px; color:var(--slate-400); margin-top:1px; }
  .bd-badge{ display:inline-block; padding:3px 10px; border-radius:999px; font-size:11.5px; font-weight:600; background:rgba(234,243,246,0.08); color:var(--slate-300); white-space:nowrap; }
  .bd-badge.soon{ background:var(--orange-500); color:#fff; }
  .bd-badge.near{ background:rgba(47,127,176,0.3); color:var(--foam-100); }
  .bd-note{ font-size:11.5px; color:var(--slate-400); margin-top:8px; }

  /* Menu tim kerja (dropdown Arsip, Laporan, Jadwal Kegiatan) */
  .side-group-head{ display:flex; align-items:stretch; }
  .side-group-head .side-link{ flex:1 1 auto; min-width:0; }
  .side-chev{
    flex:0 0 auto; width:38px; display:flex; align-items:center; justify-content:center; cursor:pointer;
    background:none; border:none; border-left:3px solid transparent; color:var(--slate-300);
  }
  .side-chev:hover{ background:rgba(234,243,246,0.05); }
  .side-chev svg{ transition:transform .15s ease; }
  .side-chev[aria-expanded="true"] svg{ transform:rotate(180deg); }
  .side-sub{ margin:0 0 4px 44px; border-left:1px solid var(--line); }
  .side-sub[hidden]{ display:none; }
  .side-sublink{
    display:flex; align-items:center; gap:9px; padding:8px 16px 8px 14px; font-size:12.5px; line-height:1.35;
    color:var(--slate-300); text-decoration:none; cursor:pointer; background:none; border:none; width:100%; text-align:left; font-family:inherit;
  }
  .side-sublink:hover{ background:rgba(234,243,246,0.05); color:var(--foam-100); }
  .side-sublink[aria-current="page"]{ color:var(--foam-100); font-weight:600; background:rgba(47,127,176,0.16); }
  .side-sublink svg{ flex:0 0 auto; }
  .side-sublink .side-chev2{ margin-left:auto; transition:transform .15s ease; }
  .side-sublink[aria-expanded="true"] .side-chev2{ transform:rotate(180deg); }
  .side-sub2{ margin:0 0 2px 22px; border-left:1px solid var(--line); }
  .side-sub2[hidden]{ display:none; }
  .side-sub2 .side-sublink{ padding:6px 14px; font-size:12px; }
  .side-toggle{ display:none; }

  /* Konten */
  .content{ padding:clamp(20px,3.5vh,32px) clamp(18px,3.5vw,44px) 40px; min-width:0; }
  .crumb{ font-size:12px; color:var(--slate-400); margin-bottom:10px; }
  .crumb a{ text-decoration:none; color:var(--slate-300); }
  .crumb a:hover{ color:var(--foam-100); }
  h1{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:clamp(22px,3vw,29px); letter-spacing:-0.005em; }
  .lead{ font-size:13.5px; color:var(--slate-300); margin-top:8px; max-width:640px; line-height:1.55; }

  .section-title{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px; margin:28px 0 12px; display:flex; align-items:baseline; gap:10px; }
  .section-title .count{ font-family:'IBM Plex Sans',sans-serif; font-weight:400; font-size:12px; color:var(--slate-400); }

  .cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:14px; }
  .card{
    display:flex; flex-direction:column; gap:10px; text-decoration:none; text-align:left; cursor:pointer;
    padding:18px; background:rgba(14,51,87,0.55); border:1px solid var(--line); border-radius:4px; color:var(--foam-100);
    transition:border-color .15s ease, transform .15s ease;
  }
  .card:hover{ border-color:var(--sea-400); transform:translateY(-1px); }
  .card .c-icon{ width:30px; height:30px; }
  .card .c-title{ font-size:14.5px; font-weight:600; line-height:1.3; }
  .card .c-meta{ font-size:12px; color:var(--slate-400); }
  .card .c-go{ margin-top:auto; font-size:12.5px; color:var(--orange-400); }

  .panel{ border:1px solid var(--line); border-radius:4px; background:rgba(10,36,64,0.35); }
  .loc-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
  .loc-tab{
    font-family:inherit; font-size:12.5px; cursor:pointer; color:var(--slate-300); background:transparent;
    border:1px solid rgba(234,243,246,0.2); border-radius:999px; padding:7px 13px;
  }
  .loc-tab:hover{ color:var(--foam-100); border-color:var(--slate-300); }
  .loc-tab[aria-pressed="true"]{ background:var(--sea-600); border-color:var(--sea-600); color:#0a1420; font-weight:600; }
  .search{
    width:100%; max-width:360px; margin-bottom:12px; padding:10px 12px; font-family:inherit; font-size:13px;
    color:var(--foam-100); background:rgba(14,51,87,0.55); border:1px solid var(--line); border-radius:3px;
  }
  .search::placeholder{ color:var(--slate-400); }
  .search:focus{ outline:2px solid var(--orange-400); outline-offset:1px; }
  .members{ list-style:none; padding:4px 20px 8px; }
  .member{ display:flex; align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line); }
  .member:first-child{ border-top:none; }
  .avatar{
    flex:0 0 auto; width:34px; height:34px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:var(--navy-700); color:var(--sea-400); font-size:12px; font-weight:600;
  }
  .m-name{ font-size:13.5px; }
  .m-role{ font-size:11.5px; color:var(--slate-400); margin-top:1px; }
  .m-tim{ margin-left:auto; font-size:11.5px; color:var(--slate-400); text-align:right; max-width:45%; }

  footer{
    padding:14px clamp(16px,3vw,40px) calc(14px + env(safe-area-inset-bottom,0px));
    border-top:1px solid var(--line); font-size:11.5px; color:var(--slate-400);
    display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
  }

  @media (max-width: 900px){
    .shell{ grid-template-columns:1fr; }
    aside{ position:static; max-height:none; border-right:none; border-bottom:1px solid var(--line); padding:0; }
    .side-toggle{
      display:flex; align-items:center; justify-content:space-between; width:100%;
      background:none; border:none; color:var(--foam-100); font-size:13.5px; font-weight:600;
      padding:14px clamp(16px,3vw,40px); cursor:pointer;
    }
    .side-body{ display:none; padding-bottom:12px; }
    aside.open .side-body{ display:block; }
    .m-tim{ display:none; }
  }

  /* ================= KEGIATAN — papan/tabel tugas per timja (dari taskboard lama) =================
     Semua selector diawali .kg supaya tidak bentrok dengan gaya portal. Tampilan sengaja terang (kertas)
     agar sama dengan papan tugas aslinya. */
  .kg{
    --navy-950:#08182b; --navy-900:#0d2540; --navy-800:#123353; --navy-700:#1a4570;
    --teal-600:#0e7c86; --teal-500:#159aa6; --gold-500:#c99a3d; --gold-400:#dcb35f;
    --paper:#f5f3ee; --paper-2:#ffffff; --ink-900:#152332; --ink-600:#4d5c6b; --ink-400:#8695a4;
    --line:#dfdad0; --red:#b3452f; --orange:#c07a2c; --yellow:#b39328; --green:#3e7a4f;
    --radius-s:4px; --radius-m:8px;
    --font-ui:'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display:'Fraunces', Georgia, serif;
    font-family:var(--font-ui); color:var(--ink-900);
  }
  .kg *{ box-sizing:border-box; }
  .kg-shell{ background:var(--paper); border-radius:6px; overflow:hidden; border:1px solid var(--line); }
  .kg-body{ padding:24px 32px 40px; overflow-x:auto; }
  .kg .kg-topbar{ flex-wrap:wrap; }
  .kg .loading-screen{ min-height:220px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--ink-600); font-size:13.5px; gap:10px; }
  .kg .spinner{ width:26px; height:26px; border-radius:50%; border:3px solid var(--line); border-top-color:var(--teal-500); animation:kg-spin .8s linear infinite; }
  @keyframes kg-spin{ to{ transform:rotate(360deg); } }
  .kg .column{ width:auto; flex:1 1 230px; min-width:230px; max-width:320px; }
  .kg .table-wrap > div{ overflow-x:auto; }
  .kg .table-wrap > div > .table-header-row, .kg .table-wrap > div > .table-body{ min-width:880px; }
  .kg .kg-topbar{padding:20px 32px 16px; border-bottom:1px solid var(--line); background:var(--paper-2);
    display:flex; align-items:flex-end; justify-content:space-between; gap:20px; flex-shrink:0;}
  .kg .kg-topbar h1{font-family:var(--font-display); font-weight:600; font-size:26px; margin:0 0 4px; color:var(--navy-950);}
  .kg .kg-topbar .sub{font-size:13px; color:var(--ink-600);}
  .kg .btn{font-family:var(--font-ui); border:none; cursor:pointer; border-radius:var(--radius-s); font-size:13.5px; padding:9px 16px; transition:transform .08s ease, box-shadow .12s ease;}
  .kg .btn:active{transform:translateY(1px);}
  .kg .btn-primary{background:var(--teal-600); color:#fff; font-weight:600;}
  .kg .btn-primary:hover{background:var(--teal-500);}
  .kg .btn-ghost{background:transparent; color:var(--ink-600); border:1px solid var(--line);}
  .kg .btn-ghost:hover{border-color:var(--ink-400); color:var(--ink-900);}
  .kg .board{display:flex; gap:16px; align-items:flex-start; overflow-x:auto; padding-bottom:20px;}
  .kg .column{background:#eeece3; border-radius:var(--radius-m); width:280px; flex-shrink:0; display:flex; flex-direction:column; max-height:100%;}
  .kg .column.drag-over{outline:2px dashed var(--teal-500); outline-offset:-2px;}
  .kg .column-head{padding:13px 14px 10px; display:flex; align-items:center; justify-content:space-between;}
  .kg .column-head .name{font-weight:700; font-size:12.5px; letter-spacing:0.01em; display:flex; align-items:center; gap:7px;}
  .kg .column-head .count{font-size:11px; color:var(--ink-600); background:rgba(0,0,0,0.05); padding:1px 7px; border-radius:10px;}
  .kg .column-status-dot{width:8px;height:8px;border-radius:50%;}
  .kg .column-body{padding:2px 10px 10px; overflow-y:auto; flex:1; min-height:60px;}
  .kg .add-in-column{margin:0 4px 6px; padding:7px 8px; font-size:12.5px; color:var(--ink-600); background:transparent; border:1px dashed var(--line); border-radius:var(--radius-s); cursor:pointer; width:calc(100% - 8px); text-align:left; font-family:var(--font-ui);}
  .kg .add-in-column:hover{border-color:var(--ink-400); color:var(--ink-900); background:rgba(255,255,255,0.4);}
  .kg .task-card{background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius-s); padding:11px 12px; margin-bottom:8px; cursor:grab; box-shadow:0 1px 2px rgba(13,37,64,0.04); transition:box-shadow .12s ease;}
  .kg .task-card:hover{box-shadow:0 3px 10px rgba(13,37,64,0.1);}
  .kg .task-card.dragging{opacity:0.4;}
  .kg .task-title{font-size:13.5px; font-weight:600; color:var(--ink-900); line-height:1.35; margin-bottom:8px;}
  .kg .task-meta-row{display:flex; align-items:center; justify-content:space-between; gap:6px; flex-wrap:wrap;}
  .kg .badge{font-size:10.5px; font-weight:700; padding:2px 7px; border-radius:9px; white-space:nowrap;}
  .kg .badge-Mendesak{background:#f5e0da; color:var(--red);}
  .kg .badge-Tinggi{background:#f6e6d3; color:var(--orange);}
  .kg .badge-Sedang{background:#f6f0d3; color:var(--yellow);}
  .kg .badge-Rendah{background:#dcece0; color:var(--green);}
  .kg .task-assignee{font-size:11px; color:var(--ink-600); display:flex; align-items:center; gap:5px;}
  .kg .avatar-chip{width:18px;height:18px;border-radius:50%; background:var(--navy-800); color:#fff; font-size:9px; font-weight:700; display:flex;align-items:center;justify-content:center; flex-shrink:0;}
  .kg .task-due{font-size:11px; color:var(--ink-600); margin-top:7px; display:flex; align-items:center; gap:5px;}
  .kg .task-due.overdue{color:var(--red); font-weight:700;}
  .kg .task-progress-mini{margin-top:8px; height:5px; background:#ece7dc; border-radius:3px; overflow:hidden;}
  .kg .task-progress-mini .fill{height:100%; background:var(--teal-500);}
  .kg .empty-col-msg{font-size:11.5px; color:var(--ink-400); text-align:center; padding:16px 8px;}
  .kg .avatar-stack{display:flex; align-items:center; margin-left:4px;}
  .kg .avatar-stack .avatar-chip-sm{width:16px; height:16px; border-radius:50%; background:var(--teal-600); color:#fff; font-size:8px; font-weight:700; display:flex; align-items:center; justify-content:center; border:1.5px solid var(--paper-2); margin-left:-6px;}
  .kg .avatar-stack .avatar-chip-sm:first-child{margin-left:0;}
  .kg .member-more-tag{font-size:11px; color:var(--ink-600); margin-left:6px;}
  .kg .modal-backdrop{position:fixed; inset:0; background:rgba(8,24,43,0.45); display:flex; align-items:center; justify-content:center; z-index:100; padding:20px;}
  .kg .modal{background:var(--paper-2); width:100%; max-width:540px; border-radius:var(--radius-m); padding:26px 26px 20px; max-height:90vh; overflow-y:auto;}
  .kg .modal h2{font-family:var(--font-display); font-size:19px; margin:0 0 18px; color:var(--navy-950);}
  .kg .field{margin-bottom:14px;}
  .kg .field label{display:block; font-size:11.5px; font-weight:700; color:var(--ink-600); margin-bottom:5px; letter-spacing:0.01em;}
  .kg .field input, .kg .field select, .kg .field textarea{width:100%; font-family:var(--font-ui); font-size:13.5px; padding:9px 10px;
    border:1px solid var(--line); border-radius:var(--radius-s); background:#fdfcfa; color:var(--ink-900);}
  .kg .field input:focus, .kg .field select:focus, .kg .field textarea:focus{outline:none; border-color:var(--teal-500); box-shadow:0 0 0 3px rgba(21,154,166,0.14);}
  .kg .field textarea{resize:vertical; min-height:64px;}
  .kg .field-row{display:flex; gap:10px;}
  .kg .field-row .field{flex:1;}
  .kg .modal-actions{display:flex; justify-content:space-between; align-items:center; margin-top:20px; gap:10px;}
  .kg .link-danger{background:none; border:none; color:var(--red); font-size:12.5px; cursor:pointer; padding:6px 0;}
  .kg .link-danger:hover{text-decoration:underline;}
  .kg .modal-actions-right{display:flex; gap:8px;}
  .kg .assign-editor{display:flex; flex-direction:column; gap:8px;}
  .kg .assign-row{display:flex; flex-wrap:wrap; align-items:center; gap:8px; background:#faf9f4; border:1px solid var(--line); border-radius:6px; padding:9px 10px;}
  .kg .assign-row-label{flex:0 0 auto; font-size:10px; font-weight:800; letter-spacing:.03em; padding:4px 7px; border-radius:4px;}
  .kg .assign-row-label.pic{background:var(--navy-900); color:#fff;}
  .kg .assign-row-label.member{background:#dfdecf; color:var(--ink-900);}
  .kg .assign-fields{flex:1 1 220px; display:flex; flex-direction:column; gap:6px; min-width:160px;}
  .kg .assign-fields input{font-size:12.5px; padding:7px 8px; border:1px solid var(--line); border-radius:4px; width:100%; background:#fff;}
  .kg .assign-progress{flex:1 1 150px; display:flex; align-items:center; gap:6px; min-width:130px;}
  .kg .assign-progress input[type=range]{flex:1; accent-color:var(--teal-600);}
  .kg .assign-progress .pnum{font-size:11px; color:var(--ink-600); width:32px; text-align:right; flex-shrink:0;}
  .kg .assign-status{flex:0 0 auto; min-width:150px;}
  .kg .assign-status select{width:100%; font-size:12px; font-weight:700; color:#fff; padding:7px 8px; border:none; border-radius:4px; cursor:pointer;}
  .kg .assign-remove{flex:0 0 auto; border:none; background:transparent; color:var(--ink-400); cursor:pointer; font-size:19px; line-height:1; padding:2px 5px; border-radius:4px;}
  .kg .assign-remove:hover{color:var(--red); background:#f5e0da;}
  .kg .assign-remove:disabled{visibility:hidden;}
  .kg .assign-add-btn{margin-top:2px;}
  .kg .toast.show{opacity:1; transform:translateX(-50%) translateY(-4px);}
  .kg .topbar-actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap;}
  .kg .view-toggle{display:flex; border:1px solid var(--line); border-radius:6px; overflow:hidden; background:var(--paper-2);}
  .kg .view-toggle button{border:none; background:transparent; color:var(--ink-600); font-family:var(--font-ui); font-size:12.5px; padding:8px 15px; cursor:pointer;}
  .kg .view-toggle button.active{background:var(--navy-900); color:#fff;}
  .kg .view-toggle button:not(.active):hover{background:#efece3;}
  .kg .table-wrap{display:flex; flex-direction:column; gap:28px;}
  .kg .table-group-title{font-family:var(--font-display); font-size:16px; margin:0 0 10px; display:flex; align-items:baseline; gap:8px;}
  .kg .table-group-count{font-family:var(--font-ui); font-size:11.5px; color:var(--ink-400); font-weight:400;}
  .kg .table-header-row, .kg .table-row{display:grid;
    grid-template-columns: 5px minmax(140px,1.3fr) 168px 168px 138px 158px 96px 28px;
    align-items:center;}
  .kg .table-header-row{padding:0 0 8px; font-size:10.5px; color:var(--ink-400); font-weight:700; letter-spacing:.03em; border-bottom:1px solid var(--line);}
  .kg .table-header-row span{padding:0 10px;}
  .kg .table-body{background:var(--paper-2); border:1px solid var(--line); border-radius:var(--radius-m); overflow:hidden;}
  .kg .table-row{border-bottom:1px solid var(--line); transition:background .1s ease;}
  .kg .table-row.task-block-last{border-bottom:1px solid var(--line);}
  .kg .table-row.task-alt{background:#faf8f1;}
  .kg .table-body > .table-row:last-of-type{border-bottom:none;}
  .kg .table-row:hover{background:#f3f0e6;}
  .kg .table-row:hover .row-del{opacity:1;}
  .kg .row-color-bar{align-self:stretch;}
  .kg .cell{padding:10px 10px; font-size:13px; color:var(--ink-900); min-width:0; overflow:hidden; text-overflow:ellipsis;}
  .kg .cell-task{cursor:pointer; font-weight:600;}
  .kg .cell-task:hover{color:var(--teal-600); text-decoration:underline;}
  .kg .subrow-task{cursor:pointer; color:var(--ink-400); font-size:13px; text-align:center;}
  .kg .subrow-task:hover{color:var(--teal-600);}
  .kg .cell-owner{display:flex; align-items:center; gap:6px; cursor:pointer; white-space:nowrap;}
  .kg .cell-owner input{width:100%; font-size:12.5px; padding:6px 7px; border:1px solid var(--teal-500); border-radius:4px;}
  .kg .owner-placeholder{color:var(--ink-400); font-size:12px;}
  .kg .role-tag{font-size:9px; font-weight:800; letter-spacing:.03em; padding:2px 5px; border-radius:3px; flex-shrink:0;}
  .kg .role-tag.pj{background:var(--navy-900); color:#fff;}
  .kg .role-tag.agt{background:#dfdecf; color:var(--ink-900);}
  .kg .cell-jenis{cursor:pointer;}
  .kg .cell-jenis input{width:100%; font-size:12.5px; padding:6px 7px; border:1px solid var(--teal-500); border-radius:4px;}
  .kg .status-pill-cell{cursor:pointer;}
  .kg .status-pill{display:block; width:100%; text-align:center; box-sizing:border-box; font-size:12px; font-weight:700; color:#fff; padding:7px 6px; border-radius:5px;}
  .kg .status-pill-cell select{width:100%; border:none; font-size:12px; font-weight:700; color:#fff; padding:7px 6px; border-radius:5px; text-align:center; text-align-last:center; cursor:pointer;}
  .kg .cell-muted-dash{color:var(--ink-400); text-align:center;}
  .kg .progress-cell{cursor:pointer;}
  .kg .progress-track{background:#e7e2d5; border-radius:5px; height:21px; position:relative; overflow:hidden;}
  .kg .progress-fill{height:100%; border-radius:5px 0 0 5px;}
  .kg .progress-label{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:10.5px; font-weight:700; color:var(--navy-950);}
  .kg .progress-edit{display:flex; align-items:center; gap:8px;}
  .kg .progress-edit input[type=range]{flex:1; accent-color:var(--teal-600);}
  .kg .progress-edit .pnum{font-size:11.5px; color:var(--ink-600); width:32px; text-align:right; flex-shrink:0;}
  .kg .cell-due{cursor:pointer; white-space:nowrap;}
  .kg .cell-due input{font-size:12.5px; padding:6px 7px; border:1px solid var(--teal-500); border-radius:4px; width:100%;}
  .kg .due-text.overdue{color:var(--red); font-weight:700;}
  .kg .due-text.empty{color:var(--ink-400);}
  .kg .row-del{opacity:0; border:none; background:transparent; color:var(--ink-400); cursor:pointer; font-size:16px; line-height:1; padding:5px 7px; border-radius:4px; transition:opacity .1s ease;}
  .kg .row-del:hover{color:var(--red); background:#f5e0da;}
  .kg .table-add-row{display:block; padding:10px 12px; font-size:12.5px; color:var(--ink-600); background:transparent; border:none; text-align:left; cursor:pointer; width:100%; font-family:var(--font-ui);}
  .kg .table-add-row:hover{background:#faf9f4; color:var(--ink-900);}
  .kg .add-member-inline{padding:6px 0; font-size:12px; color:var(--ink-600); background:transparent; border:none; text-align:left; cursor:pointer; font-family:var(--font-ui);}
  .kg .add-member-inline:hover{color:var(--teal-600);}
  .kg .assign-fields select, .kg .cell-owner select{
    width:100%; font-family:var(--font-ui); font-size:12.5px; padding:7px 8px; border:1px solid var(--line);
    border-radius:4px; background:#fff; color:var(--ink-900); cursor:pointer;
  }
  .kg .cell-owner select{ border-color:var(--teal-500); }
  .kg .assign-fields select:focus, .kg .cell-owner select:focus{ outline:none; border-color:var(--teal-500); box-shadow:0 0 0 3px rgba(21,154,166,0.14); }
  @media (max-width:960px){
    .kg .table-header-row, .kg .table-row{ grid-template-columns: 4px minmax(110px,1.1fr) 130px 130px 100px 130px 78px 24px; }
  }
  @media (max-width:760px){
    .kg .kg-topbar{ padding:16px 16px 12px; }
    .kg-body{ padding:16px; }
  }

/* Layout rincian profil dengan foto pegawai */
.pf-card{width:100%;max-width:920px;height:min(610px,calc(100vh - 32px));max-height:calc(100vh - 32px);display:grid;grid-template-columns:minmax(200px,30%) minmax(0,1fr);overflow:hidden;background:var(--navy-800);border:1px solid var(--line);border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.pf-photo{min-width:0;min-height:0;overflow:hidden;background:linear-gradient(160deg,#122d4d,#061321)}
.pf-photo>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.pf-photo-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#d9edf3;font-size:clamp(48px,9vw,96px);font-weight:700;background:radial-gradient(circle at 50% 35%,#315778,#10263f 72%)}
.pf-content{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.pf-head{position:relative;top:auto;flex:0 0 auto;gap:13px;padding:18px 20px;background:var(--navy-800);border-bottom:1px solid var(--line)}
.pf-mini{flex:0 0 52px;width:52px;height:52px;overflow:hidden;border-radius:8px;background:var(--sea-600)}
.pf-mini img{display:block;width:100%;height:100%;object-fit:cover}
.pf-avatar{width:100%;height:100%;border-radius:0;font-size:18px}
.pf-title h2{font-size:17px}
.pf-body{padding:0 20px 18px;overflow-y:auto;min-height:0}
.pf-sec{margin-top:16px;padding-top:13px;border-top:1px solid rgba(234,243,246,.13)}
.pf-sec h3{font-size:12px;letter-spacing:.02em;text-transform:none;color:var(--foam-100);margin-bottom:9px}
.pf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
.pf-grid dt{font-size:11.5px}
.pf-grid dd{font-size:13px;line-height:1.4}
.pf-tim{gap:8px}
@media(max-width:640px){
  .pf-overlay{padding:10px}
  .pf-card{height:min(650px,calc(100vh - 20px));max-height:calc(100vh - 20px);grid-template-columns:minmax(120px,34%) minmax(0,1fr)}
  .pf-head{padding:14px 13px;gap:9px}
  .pf-mini{flex-basis:42px;width:42px;height:42px}
  .pf-title h2{font-size:14.5px}
  .pf-title p{font-size:12px}
  .pf-body{padding:0 13px 15px}
  .pf-grid{grid-template-columns:1fr;gap:8px}
}


  /* ===== Wilayah Kerja (dashboard Satwas & Wilker tertanam) ===== */
  .wk-bar{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin:0 0 12px; }
  .wk-bar h1{ margin:0; }
  .wk-actions{ display:flex; gap:8px; }
  .wk-actions button{ font:inherit; font-size:13px; color:var(--foam-100); background:rgba(234,243,246,0.07); border:1px solid var(--line); border-radius:8px; padding:7px 12px; cursor:pointer; }
  .wk-actions button:hover{ background:rgba(234,243,246,0.14); }
  .wk-frame{ display:block; width:100%; height:calc(100vh - 170px); min-height:640px; border:1px solid var(--line); border-radius:10px; background:#fff; }
  .wk-loading{ padding:24px; color:var(--slate-300); }

  /* ===== Panel beranda ===== */
  .hp-grid{ display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:16px; margin-top:22px; }
  .hp{ border:1px solid var(--line); border-radius:6px; background:rgba(10,36,64,0.35); display:flex; flex-direction:column; min-width:0; }
  .hp{ height:740px; } .hp > .hp-b{ min-height:0; overflow-y:auto; }
  .content.hp-home{ padding-top:12px; padding-bottom:14px; }
  .hp-home-t{ margin:0 0 8px !important; font-size:18px !important; line-height:1.2; }
  .hp-home-t small{ font-size:12px; font-weight:400; color:var(--slate-400); margin-left:10px; }
  @media (min-width:1181px){
    .hp-fit{ --hp-t:clamp(15px,2.2vh,24px); grid-template-rows:repeat(3,minmax(0,1fr)); gap:12px; margin-top:0; }
    .hp-fit .hp{ height:auto; min-height:0; overflow:hidden; }
    .hp-fit .hp-h{ font-size:var(--hp-t); padding:8px 14px 7px; line-height:1.15; }
    .hp-fit .hp-h .hp-mt button{ font-size:calc(var(--hp-t) * .6) !important; margin-right:9px !important; padding-bottom:2px; }
    .hp-fit .hp-h .hp-add{ font-size:11px; padding:2px 9px; }
    .hp-fit .hp-tabs,.hp-fit .hp-utabs{ flex:0 0 auto; flex-wrap:nowrap; overflow-x:auto; padding:7px 14px 3px; }
    .hp-fit .hp-tabs .loc-tab,.hp-fit .hp-utabs .loc-tab{ flex:0 0 auto; white-space:nowrap; }
    .hp-fit .hp-b{ padding:8px 14px 8px; }
    .hp-fit .hp-note{ padding:5px 14px 7px; }
    .hp-fit .hp-pkx-r{ min-height:0; padding:8px 10px; }
    .hp-fit .hp-pkx-ph{ width:40px; height:50px; }
    .hp-fit .hp-pkx-nm{ font-size:12.5px; }
    .hp-fit .hp-pkx-jb{ font-size:11.5px; margin-top:1px; }
    .hp-fit .hp-pkx-bd{ margin-top:4px; }
    .hp-fit .hp-pkx-dl{ gap:3px; margin-top:8px; }
    .hp-fit .hp-pkx-dl div{ display:flex; flex-wrap:wrap; gap:0 5px; }
    .hp-fit .hp-pkx-dl dt::after{ content:':'; }
    .hp-fit .hp-pkx-dl dt,.hp-fit .hp-pkx-dl dd{ font-size:11.5px; }
    .hp-fit .hp-pkx-foot{ margin-top:6px; }
    .hp-fit .hp-pkx-l{ max-height:none; }
  }
  .hp-bst{ position:relative; display:flex; flex-direction:column; height:100%; min-height:190px; }
  .hp-bst-card{ position:relative; flex:1 1 auto; min-height:0; overflow:hidden; border:1px solid var(--line); border-radius:8px; background:rgba(10,36,64,.45); padding:12px 14px; animation:hpPkxIn .55s ease both; display:flex; align-items:center; }
  /* Best of the Month: dua kolom (profil pegawai | kata motivasi acak) */
  .hp-bst2{ display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); grid-template-rows:minmax(0,1fr); gap:10px; }
  .hp-bst2 > *{ min-height:0; }
  .hp-bst2 .hp-bst-card{ padding:10px 10px; }
  .hp-bst2 .hp-bst-in{ gap:10px; }
  .hp-bst2 .hp-bst-ph{ width:56px; height:72px; }
  .hp-bst2 .hp-bst-jb{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .hp-bst2 .hp-bst-nm{ overflow-wrap:anywhere; }
  .hp-bst2 .hp-bst-nm{ font-size:15px; }
  .hp-bst2 .hp-bst-dl{ margin-top:5px; gap:1px; }
  .hp-bst2 .hp-bst-dl dt, .hp-bst2 .hp-bst-dl dd{ font-size:11px; line-height:1.3; }
  .hp-bst2 .hp-bst-jb{ font-size:11.5px; line-height:1.25; }
  .hp-mq{ position:relative; display:flex; flex-direction:column; height:100%; min-height:190px; }
  .hp-mq-slot{ position:relative; flex:1 1 auto; min-height:0; overflow:hidden; border:1px solid var(--line); border-radius:8px; background:rgba(10,36,64,.45); padding:12px 14px; display:flex; flex-direction:column; justify-content:center; }
  .hp-mq-q{ animation:hpPkxIn .55s ease both; }
  .hp-mq-q::before{ content:'\201C'; display:block; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:34px; line-height:.7; height:16px; color:var(--orange-400); }
  .hp-mq-t{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:clamp(13px,1.05vw,16px); line-height:1.4; color:#eaf3f6; overflow-wrap:anywhere; }
  .hp-mq .hp-bst-foot{ justify-content:flex-end; }
  @media (max-width:420px){ .hp-bst2{ grid-template-columns:minmax(0,1fr); grid-template-rows:none; } }
  @media (prefers-reduced-motion:reduce){ .hp-mq-q{ animation:none; } }
  @media (min-width:1181px) and (max-height:900px){
    .hp-bst2{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
    .hp-bst2 .hp-bst, .hp-mq{ min-height:0; }
    .hp-bst2 .hp-bst-card{ padding:4px 8px; }
    .hp-bst2 .hp-bst-in{ gap:8px; }
    .hp-bst2 .hp-bst-ph{ width:40px; height:50px; }
    .hp-bst2 .hp-bst-ph.hp-photo-fb{ font-size:15px; }
    .hp-bst2 .hp-bst-cat{ font-size:10.5px; padding:1px 7px; }
    .hp-bst2 .hp-bst-nm{ font-size:13px; margin-top:3px; line-height:1.15; }
    .hp-bst2 .hp-bst-jb{ font-size:11px; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .hp-bst2 .hp-bst-nm{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .hp-bst2 .hp-bst-cat{ max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; vertical-align:top; }
    .hp-bst2 .hp-bst-dl{ display:none; }
    .hp-mq-slot{ padding:6px 10px; }
    .hp-mq-q::before{ display:none; }
    .hp-mq-t{ font-size:12px; line-height:1.3; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; }
  }
  .hp-bst-in{ position:relative; display:flex; gap:16px; align-items:center; width:100%; min-width:0; }
  .hp-bst-ph{ width:92px; height:116px; flex:0 0 auto; border-radius:8px; object-fit:cover; box-shadow:0 0 0 2px rgba(238,125,67,.55); }
  .hp-bst-ph.hp-photo-fb{ font-size:30px; }
  .hp-bst-tx{ min-width:0; flex:1 1 auto; }
  .hp-bst-cat{ display:inline-block; font-size:11.5px; font-weight:600; color:var(--orange-400); border:1px solid rgba(238,125,67,.5); border-radius:999px; padding:2px 10px; }
  .hp-bst-nm{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:17px; line-height:1.2; margin-top:6px; }
  .hp-bst-jb{ font-size:12px; color:var(--slate-400); margin-top:2px; }
  .hp-bst-dl{ margin:8px 0 0; display:grid; gap:2px; }
  .hp-bst-dl div{ display:flex; flex-wrap:wrap; gap:0 6px; min-width:0; } .hp-bst-dl dt{ font-size:11.5px; color:var(--slate-400); margin:0; } .hp-bst-dl dt::after{ content:':'; } .hp-bst-dl dd{ margin:0; font-size:12px; overflow-wrap:anywhere; }
  .hp-bst-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:8px; }
  .hp-bst-dots{ display:flex; gap:6px; } .hp-bst-dots button{ width:9px; height:9px; padding:0; border-radius:50%; border:none; background:rgba(234,243,246,.25); cursor:pointer; } .hp-bst-dots button.on{ background:var(--orange-400); }
  .hp-bst-foot > button{ font-family:'IBM Plex Sans',sans-serif; font-size:12px; color:var(--orange-400); background:none; border:none; cursor:pointer; padding:0; white-space:nowrap; }
  .hp-bst-foot > button:hover{ text-decoration:underline; }
  @media (prefers-reduced-motion:reduce){ .hp-bst-card{ animation:none; } }
  /* Best of the Month: profil pegawai memenuhi seluruh kolom kiri (foto setinggi kartu, detail selalu tampil) */
  .hp-bst2{ grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
  .hp-bst2 .hp-bst-card{ padding:8px; align-items:stretch; }
  .hp-bst2 .hp-bst-in{ align-self:stretch; align-items:stretch; gap:14px; }
  .hp-bst2 .hp-bst-ph{ flex:0 0 auto; width:clamp(84px,36%,200px); height:auto; min-height:0; align-self:stretch; contain:size; object-fit:cover; }
  .hp-bst2 .hp-bst-ph.hp-photo-fb{ display:flex; align-items:center; justify-content:center; font-size:clamp(28px,4vw,56px); }
  .hp-bst2 .hp-bst-tx{ display:flex; flex-direction:column; justify-content:center; min-width:0; }
  .hp-bst2 .hp-bst-cat{ align-self:flex-start; max-width:100%; font-size:clamp(11px,1.5vh,14px); }
  .hp-bst2 .hp-bst-nm{ font-size:clamp(15px,2.4vh,22px); line-height:1.2; margin-top:6px; white-space:normal; overflow:visible; text-overflow:clip; }
  .hp-bst2 .hp-bst-jb{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; white-space:normal; overflow:hidden; font-size:clamp(11.5px,1.6vh,14px); line-height:1.3; margin-top:3px; }
  .hp-bst2 .hp-bst-dl{ display:grid; margin-top:clamp(4px,1.2vh,12px); gap:clamp(1px,.4vh,4px); }
  .hp-bst2 .hp-bst-dl dt, .hp-bst2 .hp-bst-dl dd{ font-size:clamp(11px,1.5vh,13.5px); line-height:1.3; }
  .hp-bst2 .hp-bst-dl dd{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  /* sembunyikan garis scrollbar di dalam panel beranda (scroll tetap berfungsi) */
  .hp-grid, .hp-grid *{ scrollbar-width:none !important; -ms-overflow-style:none !important; }
  .hp-grid::-webkit-scrollbar, .hp-grid *::-webkit-scrollbar{ display:none !important; width:0 !important; height:0 !important; }
  .hp-4{ grid-column:span 4; } .hp-8{ grid-column:span 8; } .hp-12{ grid-column:span 12; }
  .hp-h{ display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 10px; padding:13px 16px 11px; border-bottom:1px solid var(--line); font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:28px; line-height:1.15; }
  .hp-h small{ font-family:'IBM Plex Sans',sans-serif; font-weight:400; font-size:11.5px; color:var(--slate-400); }
  .hp-h button{ font:inherit; font-family:'IBM Plex Sans',sans-serif; font-weight:400; font-size:12px; color:var(--orange-400); background:none; border:none; cursor:pointer; }

  /* ===== Tombol Tambah + form (panel beranda) ===== */
  .hp-h-r{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
  .hp-h .hp-add{ font-family:'IBM Plex Sans',sans-serif; font-weight:600; font-size:11.5px; color:var(--orange-400); background:rgba(238,125,67,.08); border:1px solid rgba(238,125,67,.5); border-radius:999px; padding:3px 11px; cursor:pointer; white-space:nowrap; }
  .hp-h .hp-add:hover{ background:var(--orange-400); color:#0a1420; }
  .hp-h .hp-add:focus-visible{ outline:2px solid var(--sea-400); outline-offset:2px; }
  .hpm-bd{ position:fixed; inset:0; z-index:300; background:rgba(4,14,26,.72); display:flex; align-items:center; justify-content:center; padding:20px; }
  .hpm{ width:100%; max-width:480px; max-height:90vh; overflow-y:auto; background:var(--navy-900); border:1px solid var(--line); border-radius:8px; padding:22px 22px 18px; color:var(--foam-100); color-scheme:dark; box-shadow:0 20px 60px rgba(0,0,0,.5); }
  .hpm h2{ font-family:'Space Grotesk',sans-serif; font-size:17px; font-weight:600; margin-bottom:16px; }
  .hpm-f{ margin-bottom:13px; flex:1 1 0; min-width:0; }
  .hpm-row{ display:flex; gap:10px; }
  .hpm-f label{ display:block; font-size:11.5px; font-weight:600; color:var(--slate-300); margin-bottom:5px; }
  .hpm-f label i{ color:var(--orange-400); font-style:normal; }
  .hpm-f input, .hpm-f select, .hpm-f textarea{ width:100%; font:inherit; font-size:13.5px; color:var(--foam-100); background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:6px; padding:8px 10px; }
  .hpm-f select option{ background:var(--navy-900); color:var(--foam-100); }
  .hpm-f textarea{ resize:vertical; min-height:70px; }
  .hpm-f input:focus, .hpm-f select:focus, .hpm-f textarea:focus{ outline:none; border-color:var(--sea-400); box-shadow:0 0 0 3px rgba(95,163,204,.18); }
  .hpj-row{ align-items:flex-start; }
  .hpj-row .hpm-f{ margin-bottom:10px; }
  .hpj-del{ flex:0 0 34px; height:36px; font:inherit; font-size:18px; line-height:1; color:#ff8a8d; background:rgba(229,72,77,.08); border:1px solid rgba(229,72,77,.45); border-radius:6px; cursor:pointer; }
  .hpj-del:hover{ background:rgba(229,72,77,.22); }
  .hpj-add{ font:inherit; font-size:12.5px; font-weight:600; color:var(--orange-400); background:none; border:1px dashed rgba(238,125,67,.55); border-radius:6px; padding:6px 12px; cursor:pointer; margin:0 0 14px; }
  .hpj-add:hover{ background:rgba(238,125,67,.1); }
  .hpm-err{ min-height:18px; font-size:12.5px; color:#ff8a8d; margin:2px 0 6px; }
  .hpm-act{ display:flex; justify-content:flex-end; gap:8px; margin-top:6px; }
  .hpm-act button{ font:inherit; font-size:13px; border-radius:6px; padding:8px 16px; cursor:pointer; }
  .hpm-cancel{ background:transparent; color:var(--slate-300); border:1px solid var(--line); }
  .hpm-cancel:hover{ color:var(--foam-100); border-color:var(--slate-400); }
  .hpm-ok{ background:var(--orange-400); color:#0a1420; border:none; font-weight:600; }
  .hpm-ok:hover{ background:var(--orange-500); color:#fff; }
  .hpm-toast{ position:fixed; left:50%; bottom:28px; transform:translateX(-50%); z-index:400; background:var(--navy-800); color:var(--foam-100); border:1px solid var(--line); border-radius:6px; padding:10px 16px; font-size:13px; box-shadow:0 8px 24px rgba(0,0,0,.4); transition:opacity .3s; }
  .hpm-toast.out{ opacity:0; }
  .hpm.hpm-wide{ max-width:680px; }
  .hpm-meta{ font-size:12.5px; color:var(--slate-300); line-height:1.5; margin:-8px 0 14px; }
  .hpm-tw{ overflow-x:auto; margin-bottom:12px; }
  .hpt{ width:100%; border-collapse:collapse; font-size:13px; min-width:560px; }
  .hpt th, .hpt td{ border:1px solid var(--line); padding:9px 8px; text-align:center; vertical-align:top; }
  .hpt th{ background:rgba(255,255,255,.05); font-weight:600; font-size:12px; }
  .hpt th label{ cursor:pointer; }
  .hpt input[type=checkbox]{ width:20px; height:20px; accent-color:var(--orange-400); cursor:pointer; }
  .hpt textarea{ display:block; width:100%; min-width:150px; margin-top:8px; font:inherit; font-size:12.5px; color:var(--foam-100); background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:6px; padding:6px 8px; resize:vertical; min-height:62px; }
  .hpt textarea:disabled{ opacity:.45; }
  .hpt textarea:focus{ outline:none; border-color:var(--sea-400); }
  .hpm-last{ font-size:11.5px; color:var(--slate-400); margin-bottom:6px; }
  .hpm-act .hpm-link{ margin-right:auto; background:none; border:none; color:var(--orange-400); padding-left:0; }
  .hp-urg-row{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
  .hp-urg-row .hp-task-t{ flex:1 1 auto; min-width:0; }
  .hp-urg-st{ flex:0 1 46%; text-align:right; font-size:11.5px; font-weight:600; line-height:1.35; overflow-wrap:anywhere; }
  .hp-urg-st div{ color:rgb(var(--g)); text-shadow:0 0 6px rgba(var(--g),.95), 0 0 14px rgba(var(--g),.65); animation:hpGlow 2.4s ease-in-out infinite alternate; }
  .hp-urg-st div + div{ margin-top:2px; }
  .hp-urg-st .st-baca{ --g:255,210,60; }      /* kuning */
  .hp-urg-st .st-kerja{ --g:255,255,255; }    /* putih */
  .hp-urg-st .st-verif{ --g:255,170,60; }     /* oranye */
  .hp-urg-st .st-kend{ --g:255,82,82; }       /* merah */
  .hp-urg-st .st-selesai{ --g:80,175,255; }   /* biru */
  @keyframes hpGlow{ from{ text-shadow:0 0 4px rgba(var(--g),.7), 0 0 9px rgba(var(--g),.4); } to{ text-shadow:0 0 8px rgba(var(--g),1), 0 0 20px rgba(var(--g),.85); } }
  @media (prefers-reduced-motion:reduce){ .hp-urg-st div{ animation:none; } }
  @media (max-width:520px){ .hpm-row{ flex-direction:column; gap:0; } }
  .hp-urgsec{ position:relative; }
  .hp-pop-wrap{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:14px; pointer-events:none; z-index:5; }
  .hp-pop{ pointer-events:auto; width:100%; max-width:310px; background:rgba(7,27,46,.97); border:1px solid rgba(238,125,67,.75); border-radius:10px; padding:12px 14px 10px;
    box-shadow:0 12px 40px rgba(0,0,0,.65), 0 0 22px rgba(238,125,67,.35); animation:hpPopIn .35s ease-out, hpPopPulse 2.2s ease-in-out .35s infinite alternate; }
  .hp-pop-h{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; color:var(--orange-400); margin-bottom:8px; }
  .hp-pop-row{ display:block; width:100%; text-align:left; font:inherit; color:inherit; cursor:pointer; background:rgba(255,255,255,.05); border:1px solid var(--line); border-radius:6px; padding:8px 10px; margin-bottom:6px; }
  .hp-pop-row:hover, .hp-pop-row:focus-visible{ border-color:var(--sea-400); outline:none; }
  .hp-pop-n{ font-weight:600; font-size:13.5px; color:#fff; }
  .hp-pop-n::before{ content:'Pelaksana: '; font-weight:400; color:var(--slate-300); }
  .hp-pop-t{ font-size:12.5px; line-height:1.35; margin-top:2px; }
  .hp-pop-m{ font-size:11px; color:var(--slate-400); margin-top:2px; }
  .hp-pop-more, .hp-pop-f{ font-size:11px; color:var(--slate-400); margin-top:2px; }
  @keyframes hpPopIn{ from{ opacity:0; transform:scale(.92); } to{ opacity:1; transform:scale(1); } }
  @keyframes hpPopPulse{ from{ box-shadow:0 12px 40px rgba(0,0,0,.65), 0 0 12px rgba(238,125,67,.25); } to{ box-shadow:0 12px 40px rgba(0,0,0,.65), 0 0 30px rgba(238,125,67,.6); } }
  @media (prefers-reduced-motion:reduce){ .hp-pop{ animation:none; } }
  .hp-utabs{ display:flex; flex-wrap:wrap; gap:6px; padding:10px 16px 0; }
  .hp-utabs .loc-tab{ padding:5px 11px; font-size:12px; }
  .hp-b{ padding:12px 16px 14px; flex:1 1 auto; }
  .hp-note{ padding:0 16px 12px; font-size:11px; color:var(--slate-400); }
  .hp-person{ display:flex; align-items:center; gap:12px; width:100%; text-align:left; background:none; border:none; color:inherit; cursor:pointer; padding:8px 0; border-top:1px solid var(--line); }
  .hp-person:first-child{ border-top:none; }
  .hp-person:hover .hp-pn{ color:var(--sea-400); }
  .hp-pn{ font-size:13px; line-height:1.3; } .hp-pr{ font-size:11.5px; color:var(--slate-400); margin-top:1px; }
  .hp-tag{ margin-left:auto; flex:0 0 auto; font-size:10.5px; color:var(--orange-400); border:1px solid rgba(238,125,67,.4); border-radius:999px; padding:2px 8px; white-space:nowrap; }
  .hp-star{ text-align:center; padding:6px 0 2px; }
  .hp-photo{ width:96px; height:96px; border-radius:50%; object-fit:cover; border:3px solid var(--orange-400); margin:0 auto 10px; display:block; }
  .hp-photo-fb{ display:flex; align-items:center; justify-content:center; background:var(--navy-700); color:var(--sea-400); font-size:30px; font-weight:700; }
  .hp-star .hp-pn{ font-size:15px; font-weight:600; } .hp-star button{ background:none; border:none; color:inherit; cursor:pointer; }
  .hp-crown{ display:inline-block; margin-top:10px; font-size:11.5px; color:#0a1420; background:var(--orange-400); border-radius:999px; padding:3px 11px; font-weight:600; }
  .hp-chat{ flex:1 1 auto; max-height:none; min-height:200px; overflow-y:visible; padding:10px 16px; display:flex; flex-direction:column; gap:10px; }
  .hp-chat > .hp-cm{ flex:0 0 auto; }
  .hp-cm{ display:flex; gap:9px; align-items:flex-start; }
  .hp-cm-a{ flex:0 0 28px; height:28px; border-radius:50%; background:var(--navy-700); color:var(--sea-400); font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; }
  .hp-cm-n{ font-size:11.5px; font-weight:600; } .hp-cm-n small{ font-weight:400; color:var(--slate-400); margin-left:4px; }
  .hp-cm-t{ font-size:13px; line-height:1.35; margin-top:1px; overflow-wrap:anywhere; }
  .hp-cm.me{ justify-content:flex-end; text-align:right; } .hp-cm.me .hp-cm-t{ background:var(--sea-600); color:#0a1420; border-radius:10px 10px 2px 10px; padding:5px 10px; display:inline-block; text-align:left; }
  .hp-lcbody{ flex:1 1 auto; min-height:0; display:flex; flex-direction:column; }
  .hp-lc-f{ flex-direction:column; gap:5px; }
  .hp-lc-row{ display:flex; gap:8px; }
  .hp-lc-row input{ flex:1 1 auto; min-width:0; font:inherit; font-size:13px; color:inherit; background:rgba(255,255,255,.05); border:1px solid var(--line); border-radius:6px; padding:7px 10px; }
  .hp-lc-row button{ font:inherit; font-size:12.5px; font-weight:600; color:#0a1420; background:var(--orange-400); border:none; border-radius:6px; padding:0 14px; cursor:pointer; }
  .hp-lc-f select{ font:inherit; font-size:12px; color:inherit; background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:6px; padding:5px 6px; width:100%; min-width:0; color-scheme:dark; }
  .hp-lc-f select option{ color:#0a1420; background:#fff; }
  .hp-lc-as{ font-size:11.5px; color:var(--slate-400); } .hp-lc-as b{ color:var(--foam-100); font-weight:600; }
  .hp-cin .hp-lc-as button{ font:inherit; font-size:11.5px; font-weight:400; color:var(--orange-400); background:none; border:none; cursor:pointer; padding:0; text-decoration:underline; }
  .hp-lc-q{ flex:0 0 auto; margin:8px 14px 4px; font:inherit; font-size:13px; color:inherit; background:rgba(255,255,255,.05); border:1px solid var(--line); border-radius:6px; padding:6px 10px; min-width:0; }
  .hp-lcl{ flex:1 1 auto; min-height:0; overflow-y:auto; padding:2px 8px 6px; overscroll-behavior:contain; scrollbar-width:thin; }
  .hp-lcp{ display:flex; align-items:center; gap:8px; width:100%; text-align:left; font:inherit; color:inherit; background:none; border:none; border-bottom:1px solid var(--line); padding:6px 6px; cursor:pointer; }
  .hp-lcp:hover{ background:rgba(255,255,255,.06); }
  .hp-lcp-t{ min-width:0; display:flex; flex-direction:column; } .hp-lcp-t b{ font-weight:600; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .hp-lcp-t small{ font-size:11px; color:var(--slate-400); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .hp-lc-hd{ flex:0 0 auto; display:flex; align-items:center; gap:10px; padding:6px 14px 0; }
  .hp-lc-hd .hp-wa-back{ padding:0; } .hp-lc-who{ display:flex; align-items:center; gap:6px; font-weight:600; font-size:13px; }
  .hp-dot.off{ background:rgba(234,243,246,.3) !important; box-shadow:none !important; animation:none !important; }
  .hp-cin{ display:flex; gap:8px; padding:8px 16px 10px; border-top:1px solid var(--line); }
  .hp-cin input{ flex:1 1 auto; min-width:0; font:inherit; font-size:13px; color:inherit; background:rgba(255,255,255,.05); border:1px solid var(--line); border-radius:6px; padding:7px 10px; }
  .hp-cin button{ font:inherit; font-size:12.5px; font-weight:600; color:#0a1420; background:var(--orange-400); border:none; border-radius:6px; padding:0 14px; cursor:pointer; }
  .hp-dot{ display:inline-block; width:7px; height:7px; border-radius:50%; background:#6fcf97; margin-right:5px; }
  .hp-ann{ display:block; }
  .hp-an{ padding:10px 0; border-top:1px solid var(--line); }
  .hp-an:first-child{ border-top:none; }
  .hp-an-t{ display:flex; align-items:center; gap:8px; font-size:13.5px; font-weight:600; line-height:1.35; }
  .hp-an-t .hp-st{ margin-left:0; }
  .hp-st.penting{ color:#ff8a8d; border-color:rgba(229,72,77,.55); }
  .hp-st.info{ color:var(--sea-400); border-color:rgba(95,163,204,.5); }
  .hp-an-d{ margin-left:auto; font-size:11.5px; color:var(--slate-400); font-weight:400; white-space:nowrap; }
  .hp-an-by{ font-size:11.5px; color:var(--sea-400); margin-top:5px; }
  .hp-an-x{ font-size:12.5px; line-height:1.45; color:var(--slate-300); margin-top:4px; }
  .hp-pt{ display:flex; align-items:flex-start; gap:10px; padding:9px 0; border-top:1px solid var(--line); cursor:pointer; }
  .hp-pt:first-child{ border-top:none; }
  .hp-pt input{ margin-top:3px; accent-color:var(--orange-400); cursor:pointer; flex:0 0 auto; }
  .hp-pt.done .hp-task-t{ text-decoration:line-through; color:var(--slate-400); }
  .hp-pt .hp-st{ margin-left:auto; }
  .hp-pt .hp-st.hari{ color:#ff8a8d; border-color:rgba(229,72,77,.55); }
  .hp-padd{ display:flex; gap:8px; margin-top:10px; padding-top:10px; border-top:1px solid var(--line); }
  .hp-padd input{ flex:1 1 auto; min-width:0; font:inherit; font-size:13px; color:inherit; background:rgba(255,255,255,.05); border:1px solid var(--line); border-radius:6px; padding:7px 10px; }
  .hp-padd button{ font:inherit; font-size:12.5px; font-weight:600; color:#0a1420; background:var(--orange-400); border:none; border-radius:6px; padding:0 14px; cursor:pointer; }
  .hp-kata{ flex:1 1 auto; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:16px 18px; min-height:150px; }
  .hp-kata-t{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:24px; line-height:1.3; color:#9fd8ff; overflow-wrap:anywhere;
    text-shadow:0 0 6px rgba(95,190,255,.9), 0 0 16px rgba(60,160,255,.75), 0 0 32px rgba(40,130,255,.55); animation:hpGlow 3s ease-in-out infinite alternate; }
  .hp-kata-t.long{ font-size:19px; }
  .hp-kata-q{ width:100%; } .hp-kata-q + .hp-kata-q{ margin-top:12px; }
  .hp-kata.k2 .hp-kata-t{ font-size:19px; } .hp-kata.k2 .hp-kata-t.long{ font-size:16px; }
  .hp-kata.k3 .hp-kata-t{ font-size:16px; } .hp-kata.k3 .hp-kata-t.long{ font-size:14px; }
  .hp-kata.k2 .hp-kata-by,.hp-kata.k3 .hp-kata-by{ margin-top:4px; font-size:11.5px; }
  .hp-kata.k3{ padding:10px 16px; } .hp-kata.k3 .hp-kata-q + .hp-kata-q{ margin-top:8px; }
  .hp-kata-by{ margin-top:12px; font-size:12px; color:var(--slate-400); }
  @keyframes hpGlow{ from{ text-shadow:0 0 4px rgba(95,190,255,.8), 0 0 12px rgba(60,160,255,.6), 0 0 24px rgba(40,130,255,.4); } to{ text-shadow:0 0 8px rgba(120,205,255,1), 0 0 22px rgba(60,160,255,.9), 0 0 44px rgba(40,130,255,.7); } }
  @media (prefers-reduced-motion:reduce){ .hp-kata-t{ animation:none; } }
  .hp-pkt button{ font-size:13px !important; margin-right:10px !important; white-space:nowrap; }
  .hp-badge{ display:inline-block; min-width:16px; padding:0 5px; margin-left:4px; border-radius:999px; background:#25d366; color:#0a1420; font-size:10.5px; font-weight:700; line-height:16px; text-align:center; }
  .hp-wa{ display:block; width:100%; text-align:left; background:none; border:none; color:inherit; cursor:pointer; padding:9px 0; border-top:1px solid var(--line); }
  .hp-wa:first-child{ border-top:none; } .hp-wa:hover .hp-task-t{ color:var(--sea-400); }
  .hp-wa-r{ display:flex; align-items:center; gap:8px; }
  .hp-wa-r small{ margin-left:auto; font-size:11px; color:var(--slate-400); white-space:nowrap; }
  .hp-wa-p{ font-size:12px; color:var(--slate-400); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .hp-wa.unread .hp-wa-p{ color:var(--foam-100); font-weight:600; }
  .hp-unr{ width:8px; height:8px; border-radius:50%; background:#25d366; flex:0 0 auto; }
  .hp-wa-back{ font:inherit; font-size:12px; color:var(--orange-400); background:none; border:none; cursor:pointer; padding:0 0 8px; }
  .hp-wa-m{ max-width:85%; font-size:12.5px; line-height:1.4; padding:6px 10px; border-radius:10px 10px 10px 2px; background:rgba(255,255,255,.07); margin:0 0 7px; overflow-wrap:anywhere; }
  .hp-wa-m.me{ margin-left:auto; border-radius:10px 10px 2px 10px; background:var(--sea-600); color:#0a1420; }
  .hp-nt{ display:flex; flex-direction:column; flex:1 1 auto; min-height:0; height:100%; }
  .hp-nt-feed{ flex:1 1 auto; min-height:80px; overflow-y:auto; display:flex; flex-direction:column; padding-right:2px; overscroll-behavior:contain; }
  .hp-lcsub{ flex:0 0 auto; margin:0 0 8px; }
  .hp-chatfrm{ display:block; flex:1 1 auto; width:100%; height:100%; min-height:360px; border:0; border-radius:10px; background:#fff; }
  .hp-nt-n{ display:block; font-size:10.5px; font-weight:600; color:var(--sea-400); margin-bottom:1px; }
  .hp-wa-m.me .hp-nt-n{ color:#0a3a55; }
  .hp-nt-f{ flex:0 0 auto; display:flex; flex-direction:column; gap:4px; padding-top:6px; }
  .hp-nt-f select, .hp-nt-f input{ font:inherit; font-size:12px; color:inherit; background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:6px; padding:4px 6px; min-width:0; width:100%; color-scheme:dark; }
  .hp-nt-f select option{ color:#0a1420; background:#fff; }
  .hp-nt-row{ display:flex; gap:5px; }
  .hp-nt-row button{ flex:0 0 auto; font:inherit; font-size:12px; font-weight:600; color:#0a1420; background:var(--orange-400); border:none; border-radius:6px; padding:3px 12px; cursor:pointer; }
  .hp-wa-m small{ display:block; font-size:10px; opacity:.65; margin-top:2px; }
  .hp-mt{ display:flex; flex-wrap:wrap; row-gap:6px; gap:4px; }
  .hp-mt button{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px; color:var(--slate-400); background:none; border:none; border-bottom:2px solid transparent; padding:0 2px 3px; margin-right:12px; cursor:pointer; }
  .hp-mt button:hover{ color:var(--foam-100); }
  .hp-mt button[aria-selected="true"]{ color:var(--foam-100); border-bottom-color:var(--orange-400); }
  .hp-jd{ padding:10px 0; border-top:1px solid var(--line); }
  .hp-jd:first-child{ border-top:none; }
  .hp-h .hp-mt button{ font-size:28px !important; line-height:1.15; white-space:normal !important; margin-right:14px !important; text-align:left; }
  .hp-pkx{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; align-items:start; }
  .hp-pkx-l{ max-height:430px; overflow-y:auto; }
  .hp-pkn{ display:flex; align-items:center; gap:10px; width:100%; text-align:left; background:none; border:none; border-left:3px solid transparent; color:inherit; cursor:pointer; padding:8px 8px 8px 9px; border-top:1px solid var(--line); }
  .hp-pkn .avatar{ display:none; }
  .hp-pkn{ padding:8px 6px 8px 8px; }
  .hp-pkn:first-child{ border-top-color:transparent; }
  .hp-pkn:hover .hp-pn{ color:var(--sea-400); }
  .hp-pkn[aria-selected="true"]{ border-left-color:var(--orange-400); background:rgba(238,125,67,.07); }
  .hp-pkn:focus-visible{ outline:2px solid var(--sea-400); outline-offset:-2px; }
  .hp-pkx-r{ border:1px solid var(--line); border-radius:8px; background:rgba(10,36,64,.45); padding:14px; min-height:280px; padding:10px; display:flex; flex-direction:column; overflow:hidden; }
  .hp-pkx-card{ flex:1 1 auto; animation:hpPkxIn .55s ease both; }
  .hp-pkx-top{ display:flex; gap:8px; align-items:flex-start; }
  .hp-pkx-ph{ width:46px; height:58px; flex:0 0 auto; border-radius:8px; object-fit:cover; }
  .hp-pkx-ph.hp-photo-fb{ font-size:18px; }
  .hp-pkx-nm{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; line-height:1.25; }
  .hp-pkx-jb{ font-size:12.5px; color:var(--slate-400); margin-top:3px; }
  .hp-pkx-bd{ margin-top:8px; display:flex; flex-wrap:wrap; gap:6px; }
  .hp-pkx-dl{ display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin:14px 0 0; }
  .hp-pkx-dl div{ min-width:0; } .hp-pkx-dl dt{ font-size:11px; color:var(--slate-400); margin:0; } .hp-pkx-dl dd{ margin:1px 0 0; font-size:12px; overflow-wrap:anywhere; }
  .hp-pkx-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; }
  .hp-pkx-dots{ display:flex; gap:4px; flex-wrap:wrap; } .hp-pkx-dots i{ width:7px; height:7px; border-radius:50%; background:rgba(234,243,246,.25); } .hp-pkx-dots i.on{ background:var(--orange-400); }
  .hp-pkx-foot button{ white-space:nowrap; font-family:'IBM Plex Sans',sans-serif; font-size:12px; color:var(--orange-400); background:none; border:none; cursor:pointer; padding:0; }
  .hp-pkx-foot button:hover{ text-decoration:underline; }
  @keyframes hpPkxIn{ from{ opacity:0; transform:translateX(36px); } to{ opacity:1; transform:none; } }
  @media (prefers-reduced-motion:reduce){ .hp-pkx-card{ animation:none; } }
  @media (max-width:480px){ .hp-pkx{ grid-template-columns:minmax(0,1fr); } .hp-pkx-l{ max-height:220px; } }
  .hp-jdp{ display:flex; align-items:flex-start; gap:12px; width:100%; text-align:left; background:none; border:none; border-top:1px solid var(--line); color:inherit; font:inherit; cursor:pointer; padding:8px 0; }
  .hp-jdp:first-child{ border-top:none; }
  .hp-jdp:hover .hp-pn{ color:var(--sea-400); }
  .hp-jdp-b{ min-width:0; flex:1 1 auto; }
  .hp-jdp-t{ font-size:12px; line-height:1.4; color:var(--slate-400); margin-top:2px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; white-space:pre-line; }
  .hp-jdp.ok .hp-jdp-t{ color:var(--foam-100); }
  /* Pengumuman (2/3) | Ruang Rapat (1/3) */
  .hp-annwrap{ flex:1 1 auto; min-height:0; display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); grid-template-rows:minmax(0,1fr); }
  .hp-annl{ display:flex; flex-direction:column; min-height:0; min-width:0; }
  .hp-annl .hp-an-t{ flex-wrap:wrap; row-gap:3px; }
  .hp-annl .hp-an-t > span:nth-child(2){ flex:1 1 100%; order:3; min-width:0; overflow-wrap:anywhere; }
  .hp-annl .hp-an-d{ margin-left:auto; flex:0 0 auto; }
  .hp-annl > .hp-ann{ min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:rgba(255,255,255,.25) transparent; }
  .hp-annl > #hp-urglist{ min-height:0; overflow-y:auto; overscroll-behavior:contain; }
  .hp-annl > .hp-ann::-webkit-scrollbar{ width:6px; } .hp-annl > .hp-ann::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.25); border-radius:3px; }
  .hp-rr{ display:flex; flex-direction:column; min-height:0; min-width:0; border-left:1px solid var(--line); }
  .hp-fit .hp-rr .hp-h{ flex-direction:column; align-items:flex-start; flex-wrap:nowrap; gap:1px; padding:7px 8px 5px; font-size:clamp(12px,1.55vh,14px); white-space:nowrap; overflow-wrap:anywhere; line-height:1.15; }
  .hp-rr-b{ flex:1 1 auto; min-height:0; display:grid; grid-template-rows:minmax(0,1fr) minmax(0,1fr); gap:5px; padding:6px 8px 6px; }
  .hp-rrbox{ position:relative; display:flex; flex-direction:column; min-height:0; min-width:0; padding:3px 5px; font:inherit; color:inherit; text-align:left; background:rgba(255,255,255,.03); border:1px solid var(--line); border-radius:8px; cursor:pointer; overflow:hidden; }
  .hp-rrbox:hover{ border-color:rgba(238,125,67,.5); }
  .hp-rrbox[style*="--bg"]::before{ content:''; position:absolute; inset:-8px; z-index:0; background:var(--bg) center/cover no-repeat; filter:blur(2px) brightness(.85) saturate(1.15); transition:filter .2s; }
  .hp-rrbox[style*="--bg"]::after{ content:''; position:absolute; inset:0; z-index:0; background:linear-gradient(180deg, rgba(6,18,32,.12), rgba(6,18,32,.38)); }
  .hp-rrbox[style*="--bg"]:hover::before{ filter:blur(1.5px) brightness(.95) saturate(1.15); }
  .hp-rrbox[style*="--bg"] > span{ position:relative; z-index:1; text-shadow:0 1px 3px rgba(0,0,0,.9), 0 0 8px rgba(0,0,0,.7); }
  .hp-rrbox[style*="--bg"] .hp-rrn{ color:#e8eef5; }
  .hp-rrbox[style*="--bg"] .hp-rrt.empty{ color:#cfd9e4; }
  .hp-rrbox[style*="--bg"] .hp-rrw{ color:#dbe5ee; }
  .hp-rrbox[aria-pressed="true"]{ border-color:var(--orange-400); box-shadow:0 0 0 1px var(--orange-400) inset; }
  .hp-rrn{ flex:0 0 auto; font-size:clamp(8.5px,1vh,10.5px); font-weight:600; color:var(--slate-400); white-space:nowrap; letter-spacing:-.1px; overflow:hidden; text-overflow:ellipsis; }
  .hp-rrs{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .hp-rrt{ flex:1 1 auto; min-height:0; display:grid; place-items:center; text-align:center; padding:0 2px; font-weight:700; font-size:clamp(10.5px,1.4vh,14px); line-height:1.2; overflow:hidden; overflow-wrap:anywhere; color:#ffe27a; text-shadow:0 0 6px rgba(255,214,0,.95), 0 0 14px rgba(255,196,0,.75), 0 0 26px rgba(255,180,0,.45); }
  .hp-rrt.empty{ font-weight:400; font-size:10.5px; color:var(--slate-400); text-shadow:none; }
  .hp-rr-f{ flex:0 0 auto; display:flex; flex-direction:column; gap:4px; padding:0 8px 8px; }
  .hp-rr-f input{ flex:1 1 auto; min-width:0; font:inherit; font-size:12px; color:inherit; background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:6px; padding:4px 6px; width:100%; }
  .hp-rr-f button{ flex:0 0 auto; font:inherit; font-size:11.5px; font-weight:600; color:#0a1420; background:var(--orange-400); border:none; border-radius:6px; padding:3px 8px; cursor:pointer; }
  .hp-rrw{ display:block; font-weight:400; font-size:9.5px; line-height:1.25; color:var(--slate-400); margin-top:1px; }
  .hp-rrm-bg{ position:fixed; inset:0; z-index:9999; display:grid; place-items:center; background:rgba(4,10,18,.65); padding:16px; }
  .hp-rrm{ width:min(440px,100%); max-height:92vh; overflow:auto; background:#0f2236; color:#e8eef5; border:1px solid var(--line); border-radius:12px; padding:16px 18px; box-shadow:0 20px 60px rgba(0,0,0,.5); font-size:14px; }
  .hp-rrm h3{ margin:0 0 2px; font-size:16px; }
  .hp-rrm .sub{ margin:0 0 12px; font-size:12.5px; color:var(--slate-400); }
  .hp-rrm label{ display:block; margin:10px 0 4px; font-size:12.5px; font-weight:600; }
  .hp-rrm select, .hp-rrm input{ font:inherit; font-size:14px; color:inherit; background:rgba(255,255,255,.07); border:1px solid var(--line); border-radius:7px; padding:6px 8px; width:100%; min-width:0; color-scheme:dark; }
  .hp-rrm select option{ color:#0a1420; background:#fff; }
  .hp-rrm .row{ display:flex; gap:8px; align-items:center; }
  .hp-rrm .row > *{ flex:1 1 0; }
  .hp-rrm .row span{ flex:0 0 auto; color:var(--slate-400); }
  .hp-rrm .chips{ display:flex; flex-wrap:wrap; gap:5px; margin-top:6px; }
  .hp-rrm .chip{ font:inherit; font-size:12.5px; color:inherit; background:rgba(238,125,67,.18); border:1px solid rgba(238,125,67,.55); border-radius:999px; padding:2px 10px; cursor:pointer; width:auto; }
  .hp-rrm .chip:hover{ background:rgba(238,125,67,.35); }
  .hp-rrm .err{ min-height:16px; margin-top:8px; font-size:12.5px; color:#ff9b7a; }
  .hp-rrm .act{ display:flex; justify-content:flex-end; gap:8px; margin-top:8px; }
  .hp-rrm .act button{ font:inherit; font-weight:600; font-size:13.5px; border-radius:7px; padding:6px 16px; cursor:pointer; border:1px solid var(--line); background:transparent; color:inherit; }
  .hp-rrm .act button.ok{ background:var(--orange-400); color:#0a1420; border-color:transparent; }
  @media (max-width:1180px){ .hp-fit .hp-rr .hp-h{ font-size:14px; } .hp-rr-b{ min-height:150px; } }
  .hp-kpl{ flex:1 1 auto; min-height:0; overflow-y:auto; }
  /* Live Chat: dua kolom (chat 2/3 | User Online 1/3) */
  .hp-chatwrap.hp-pub{ grid-template-columns:minmax(0,1fr) !important; }
  .hp-chatwrap.hp-pub .hp-onl{ display:none !important; }
  .hp-chatwrap{ flex:1 1 auto; min-height:0; display:grid; grid-template-columns:minmax(0,3fr) minmax(0,1fr); grid-template-rows:minmax(0,1fr); }
  .hp-chatcol{ display:flex; flex-direction:column; min-height:0; min-width:0; }
  .hp-chatcol .hp-chat{ min-height:0; max-height:none; }
  .hp-onl{ position:relative; display:flex; flex-direction:column; min-height:0; min-width:0; border-left:1px solid var(--line); }
  .hp-onl-h{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12.5px; color:var(--sea-400); padding:10px 12px 6px; }
  .hp-onl-l{ flex:1 1 auto; min-height:0; overflow-y:auto; padding:6px 10px 6px; display:flex; flex-direction:column; gap:1px; }
  .hp-onl-n{ flex:0 0 auto; line-height:1.3; display:flex; align-items:center; background:none; border:none; font:inherit; font-size:13px; color:inherit; text-align:left; padding:4px 0; cursor:pointer; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .hp-onl-n:hover{ color:var(--sea-400); }
  .hp-onl-n .hp-dot{ flex:0 0 auto; }
  .hp-onl-t{ min-width:0; overflow:hidden; text-overflow:ellipsis; }
  .hp-onl-0{ font-size:11.5px; line-height:1.4; color:var(--slate-400); }
  /* daftar online bisa di-scroll; scrollbar tipis ditampilkan (menimpa aturan sembunyi-scrollbar milik .hp-grid) */
  .hp-grid .hp-onl-l, .hp-grid .hp-onl-pl{ overflow-y:auto !important; scrollbar-width:thin !important; scrollbar-color:rgba(234,243,246,.35) transparent !important; -ms-overflow-style:auto !important; }
  .hp-grid .hp-onl-l::-webkit-scrollbar, .hp-grid .hp-onl-pl::-webkit-scrollbar{ display:block !important; width:6px !important; }
  .hp-grid .hp-onl-l::-webkit-scrollbar-thumb, .hp-grid .hp-onl-pl::-webkit-scrollbar-thumb{ background:rgba(234,243,246,.35); border-radius:3px; }
  .hp-onl-foot{ flex:0 0 auto; padding:6px 10px 8px; border-top:1px solid var(--line); }
  .hp-fit .hp-onl .hp-h{ flex-direction:column; align-items:flex-start; flex-wrap:nowrap; gap:1px; padding:8px 8px 6px; font-size:clamp(12px,1.7vh,15px); white-space:normal; overflow-wrap:anywhere; line-height:1.15; }
  .hp-onl-foot button{ white-space:nowrap; font:inherit; font-size:12.5px; font-weight:600; color:#0a1420; background:var(--orange-400); border:none; border-radius:6px; padding:5px 14px; cursor:pointer; }
  @media (max-width:1180px){ .hp-fit .hp-onl .hp-h{ font-size:14px; } .hp-onl-l{ max-height:340px; } }
  .hp-onl-pop{ display:none; position:absolute; left:auto; right:6px; width:min(220px, calc(300% - 12px)); top:48px; bottom:46px; z-index:5; flex-direction:column; background:#0b2238; border:1px solid var(--line); border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.45); overflow:hidden; }
  .hp-onl-pop.on{ display:flex; }
  .hp-onl-pop input{ flex:0 0 auto; margin:6px; font:inherit; font-size:12.5px; color:inherit; background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:6px; padding:5px 8px; min-width:0; }
  .hp-onl-pl{ flex:1 1 auto; min-height:0; overflow-y:auto; padding:0 6px 6px; }
  .hp-onl-p{ display:flex; align-items:center; gap:6px; width:100%; background:none; border:none; font:inherit; font-size:12.5px; color:inherit; text-align:left; padding:5px 6px; border-radius:5px; cursor:pointer; }
  .hp-onl-p:hover{ background:rgba(255,255,255,.07); }
  .hp-onl-p[aria-pressed="true"]{ color:#6fcf97; }
  .hp-onl-p b{ flex:0 0 12px; font-weight:700; }
  .pg-onl{ font:inherit; font-size:12px; font-weight:600; border-radius:999px; padding:3px 12px; cursor:pointer; border:1px solid var(--line); background:transparent; color:var(--slate-400); white-space:nowrap; }
  .pg-onl[aria-pressed="true"]{ background:rgba(111,207,151,.15); border-color:#6fcf97; color:#6fcf97; }
  /* Desktop: Best of the Month, Piket, dan Jaldis disusun satu deret vertikal di kolom kanan; kolom kiri: Pengumuman, Tugas Urgent, Tugas Terbaru; kolom tengah: Kata-kata, Live Chat, Berita */
  @media (min-width:1181px){
    .hp-fit .hp-r1, .hp-fit .hp-r2, .hp-fit .hp-r3{ grid-column:9 / span 4; }
    .hp-fit .hp-c2{ grid-column:5 / span 4; }
    .hp-fit .hp-c1{ grid-column:1 / span 4; }
    /* Grid 30 baris (tiap "baris lama" = 5 baris): tiap panel biasa menempati 10 baris (= tinggi semula).
       Kolom tengah: Live Chat 12 baris (40% lebih pendek dari 20 baris semula), Broadcast + Permintaan Data mengisi sisanya (18 baris). */
    .hp-fit{ grid-template-rows:repeat(30,minmax(0,1fr)); }
    .hp-fit .hp-r1, .hp-fit .hp-w1{ grid-row:1 / span 10; } .hp-fit .hp-r2, .hp-fit .hp-w2{ grid-row:11 / span 10; } .hp-fit .hp-r3, .hp-fit .hp-w3{ grid-row:21 / span 10; }
    .hp-fit .hp-c2.hp-w1{ grid-row:1 / span 5; }
    .hp-fit .hp-c2.hp-w2{ grid-row:1 / span 12; }
    .hp-fit .hp-c2.hp-w3{ grid-row:13 / span 18; }
    /* Kata-kata Hari Ini versi ringkas */
    .hp-fit .hp-c2.hp-w1 .hp-kata{ min-height:0; padding:4px 14px; overflow-y:auto; scrollbar-width:none; }
    .hp-fit .hp-c2.hp-w1 .hp-kata::-webkit-scrollbar{ display:none; }
    .hp-fit .hp-c2.hp-w1 .hp-kata-t{ font-size:clamp(14px,2.1vh,19px); line-height:1.2; }
    .hp-fit .hp-c2.hp-w1 .hp-kata-t.long{ font-size:clamp(12px,1.7vh,15px); }
    .hp-fit .hp-c2.hp-w1 .hp-kata.k2 .hp-kata-t, .hp-fit .hp-c2.hp-w1 .hp-kata.k3 .hp-kata-t{ font-size:clamp(11.5px,1.6vh,14px); }
    .hp-fit .hp-c2.hp-w1 .hp-kata.k2 .hp-kata-t.long, .hp-fit .hp-c2.hp-w1 .hp-kata.k3 .hp-kata-t.long{ font-size:clamp(10.5px,1.4vh,12.5px); }
    .hp-fit .hp-c2.hp-w1 .hp-kata-by, .hp-fit .hp-c2.hp-w1 .hp-kata.k2 .hp-kata-by, .hp-fit .hp-c2.hp-w1 .hp-kata.k3 .hp-kata-by{ margin-top:2px; font-size:11px; }
    .hp-fit .hp-c2.hp-w1 .hp-kata-q + .hp-kata-q{ margin-top:4px; }
    .hp-fit .hp-c2.hp-w1 .hp-h{ padding:5px 14px 4px; }
    .hp-fit .hp-c2.hp-w1 .hp-cin{ padding:4px 14px 6px; }
    .hp-fit .hp-c2.hp-w1 .hp-cin input{ padding:4px 10px; }
  }
  /* Piket & Jaldis: kolom rincian profil disamakan dengan profil Best of the Month (foto setinggi kartu, teks & detail sama besar) */
  .hp .hp-pkx{ grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); align-items:stretch; }
  @media (max-width:480px){ .hp .hp-pkx{ grid-template-columns:minmax(0,1fr); } }
  @media (min-width:1181px){
    .hp-fit #hp-pkbody, .hp-fit #hp-jdbody{ display:flex; flex-direction:column; }
    .hp-fit .hp-pkx{ flex:1 1 auto; min-height:0; grid-template-rows:minmax(0,1fr); }
    .hp-fit .hp-pkx-l{ min-height:0; max-height:none; overflow-y:auto; }
  }
  .hp .hp-pkx-r{ padding:8px; }
  .hp .hp-pkx-r .hp-pkx-card{ flex:1 1 auto; min-height:0; overflow:hidden; display:grid; grid-template-columns:clamp(84px,36%,200px) minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto auto minmax(0,1fr); column-gap:14px; }
  .hp .hp-pkx-r .hp-pkx-top{ display:contents; }
  .hp .hp-pkx-r .hp-pkx-ph{ grid-column:1; grid-row:1 / 5; align-self:stretch; justify-self:stretch; width:100%; height:100%; min-height:60px; contain:size; object-fit:cover; border-radius:8px; box-shadow:0 0 0 2px rgba(238,125,67,.55); }
  .hp .hp-pkx-r .hp-pkx-ph.hp-photo-fb{ font-size:clamp(24px,2.6vw,40px); }
  .hp .hp-pkx-r .hp-pkx-top > div:not(.hp-pkx-ph){ grid-column:2; grid-row:2; min-width:0; }
  .hp .hp-pkx-r .hp-pkx-nm{ font-size:clamp(12.5px,1.9vh,17px); line-height:1.2; overflow-wrap:anywhere; }
  .hp .hp-pkx-r .hp-pkx-jb{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:clamp(11.5px,1.6vh,14px); line-height:1.3; margin-top:3px; }
  .hp .hp-pkx-r .hp-pkx-bd{ margin-top:6px; gap:4px; }
  .hp .hp-pkx-r .hp-pkx-dl{ grid-column:2; grid-row:3; display:grid; margin-top:clamp(4px,1.2vh,12px); gap:clamp(1px,.4vh,4px); }
  .hp .hp-pkx-r .hp-pkx-dl div{ display:flex; flex-wrap:wrap; gap:0 6px; min-width:0; }
  .hp .hp-pkx-r .hp-pkx-dl dt::after{ content:':'; }
  .hp .hp-pkx-r .hp-pkx-dl dt, .hp .hp-pkx-r .hp-pkx-dl dd{ margin:0; font-size:clamp(10.5px,1.4vh,12.5px); line-height:1.3; }
  .hp .hp-pkx-r .hp-pkx-dl dd{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .hp .hp-pkx-r .hp-pkx-foot{ margin-top:8px; }
  .hp-jdk{ display:flex; align-items:center; gap:8px; margin:12px 0 2px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12.5px; color:var(--sea-400); }
  .hp-jdk:first-child{ margin-top:2px; }
  .hp-jdk small{ margin-left:auto; font-size:11px; font-weight:400; color:var(--slate-400); }
  .hp-jd-now{ font-size:10.5px; font-weight:600; color:#0a1420; background:var(--sea-400); border-radius:999px; padding:1px 8px; }
  .hp-jd-t{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13px; line-height:1.35; }
  .hp-jd-d{ margin-left:auto; font-size:11px; color:var(--orange-400); border:1px solid rgba(238,125,67,.4); border-radius:999px; padding:2px 9px; white-space:nowrap; }
  .hp-tabs{ display:flex; flex-wrap:wrap; gap:6px; padding:10px 16px 0; }
  .hp-tabs .loc-tab{ padding:5px 11px; font-size:12px; }
  .hp-task{ display:flex; align-items:flex-start; gap:10px; padding:10px 0; border-top:1px solid var(--line); }
  .hp-task:first-child{ border-top:none; }
  .hp-task-t{ font-size:13px; line-height:1.35; } .hp-task-m{ font-size:11.5px; color:var(--slate-400); margin-top:2px; }
  .hp-st{ margin-left:auto; flex:0 0 auto; font-size:10.5px; border-radius:999px; padding:2px 9px; border:1px solid; white-space:nowrap; }
  .hp-st.baru{ color:var(--sea-400); border-color:rgba(95,163,204,.5); } .hp-st.proses{ color:var(--orange-400); border-color:rgba(238,125,67,.5); } .hp-st.review{ color:#6fcf97; border-color:rgba(111,207,151,.5); }
  .hp-urg{ display:block; width:100%; text-align:left; background:none; border:none; color:inherit; cursor:pointer; padding:10px 0 10px 12px; border-top:1px solid var(--line); border-left:3px solid #e5484d; margin-bottom:0; }
  .hp-urg:first-child{ border-top:none; } .hp-urg.tinggi{ border-left-color:var(--orange-400); }
  .hp-urg:hover .hp-task-t{ color:var(--sea-400); }
  .hp-due{ font-size:11.5px; color:#ff8a8d; margin-top:3px; font-weight:600; } .hp-urg.tinggi .hp-due{ color:var(--orange-400); }
  .hp-urg.baru{ border-left-color:var(--sea-400); } .hp-urg.baru .hp-due{ color:var(--sea-400); }
  .hp-urg.proses{ border-left-color:var(--orange-400); } .hp-urg.proses .hp-due{ color:var(--orange-400); }
  .hp-urg.review{ border-left-color:#6fcf97; } .hp-urg.review .hp-due{ color:#6fcf97; }
  .hp-updsec .hp-h > span:first-child{ font-family:'Space Grotesk',sans-serif; font-weight:700; letter-spacing:.04em; color:#ff8a8d; text-shadow:0 0 8px rgba(255,59,59,.55); }
  .hp-upd-r{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:9px 0; border-top:1px solid var(--line); font-size:14.5px; line-height:1.4; }
  .hp-upd-r:first-child{ border-top:none; }
  .hp-upd-t{ min-width:0; overflow-wrap:anywhere; color:var(--slate-300); }
  .hp-upd-t b{ font-weight:600; color:var(--foam-100); }
  .hp-upd-k{ font-weight:600; color:var(--foam-100); }
  .hp-upd-w{ flex:0 0 auto; font-size:12.5px; font-weight:700; white-space:nowrap; color:#ff5a5f; text-shadow:0 0 6px rgba(255,59,59,.95), 0 0 14px rgba(255,40,40,.7), 0 0 26px rgba(255,30,30,.45); animation:hpUpdGlow 1.8s ease-in-out infinite alternate; }
  @keyframes hpUpdGlow{ from{ text-shadow:0 0 4px rgba(255,59,59,.7), 0 0 10px rgba(255,40,40,.45); } to{ text-shadow:0 0 8px rgba(255,59,59,1), 0 0 18px rgba(255,40,40,.85), 0 0 30px rgba(255,30,30,.6); } }
  .hp-upd-0{ padding:14px 0; font-size:14.5px; color:var(--slate-400); }
  @media (prefers-reduced-motion:reduce){ .hp-upd-w{ animation:none; } }
  .hp-nw{ display:block; text-decoration:none; color:inherit; padding:10px 0; border-top:1px solid var(--line); }
  .hp-nw:first-child{ border-top:none; }
  .hp-nw-d{ font-size:11px; color:var(--slate-400); display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
  .hp-nw-t{ font-size:13px; line-height:1.4; margin-top:3px; font-weight:500; overflow-wrap:anywhere; }
  .hp-nw:hover .hp-nw-t, .hp-nw:focus-visible .hp-nw-t{ color:var(--sea-400); text-decoration:underline; }
  .hp-more{ display:block; text-align:right; font-size:12px; color:var(--sea-400); text-decoration:none; padding:8px 16px; border-top:1px solid var(--line); }
  .hp-more:hover{ text-decoration:underline; }
  .hp-logb{ padding:6px 16px 8px; flex:1 1 auto; max-height:380px; overflow-y:auto; }
  .hp-lg{ display:flex; gap:10px; align-items:flex-start; padding:10px 0; border-top:1px solid var(--line); }
  .hp-lg:first-child{ border-top:none; }
  .hp-lg-b{ min-width:0; flex:1 1 auto; }
  .hp-lg-n{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:12.5px; }
  .hp-lg-n b{ font-weight:600; } .hp-lg-n .hp-st{ margin-left:0; }
  .hp-lg-n small{ margin-left:auto; font-size:11px; color:var(--slate-400); white-space:nowrap; }
  .hp-lg-t{ font-size:13px; line-height:1.4; margin-top:3px; overflow-wrap:anywhere; }
  .hp-shift{ display:grid; grid-template-columns:1fr; }
  @media (max-width:1180px){ .hp-4{ grid-column:span 6; } .hp-8{ grid-column:span 12; } }
  @media (max-width:720px){ .hp-4,.hp-8{ grid-column:span 12; } }

  /* ===== Arahan Pimpinan — running text ===== */
  .arahan-bar{
    display:flex; align-items:stretch; overflow:hidden;
    background:linear-gradient(90deg, rgba(14,51,87,0.85), rgba(10,36,64,0.85));
    border-bottom:1px solid var(--line);
  }
  .arahan-label{
    flex:0 0 auto; display:flex; align-items:center; gap:10px; z-index:2;
    padding:9px 18px 9px clamp(16px,3vw,40px);
    font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:12.5px;
    letter-spacing:.08em; text-transform:uppercase; color:var(--foam-100);
    background:var(--navy-900); border-right:1px solid var(--line);
    box-shadow:6px 0 12px rgba(7,27,46,0.6);
  }
  .arahan-dot{
    width:11px; height:11px; border-radius:50%; flex:0 0 auto;
    background:#ff2a2a;
    box-shadow:0 0 4px 1px #ff2a2a, 0 0 10px 3px rgba(255,42,42,.75), 0 0 20px 6px rgba(255,42,42,.4);
    animation:arahanGlow 1.8s ease-in-out infinite;
  }
  @keyframes arahanGlow{
    0%,100%{ opacity:1; box-shadow:0 0 4px 1px #ff2a2a, 0 0 10px 3px rgba(255,42,42,.75), 0 0 20px 6px rgba(255,42,42,.4); }
    50%{ opacity:.55; box-shadow:0 0 2px 0 #ff2a2a, 0 0 6px 2px rgba(255,42,42,.5), 0 0 12px 3px rgba(255,42,42,.25); }
  }
  .arahan-view{ position:relative; flex:1 1 auto; overflow:hidden; display:flex; align-items:center; min-width:0; }
  .arahan-track{
    display:flex; width:max-content; will-change:transform;
    animation:arahanScroll var(--arahan-dur,120s) linear infinite;
  }
  .arahan-bar:hover .arahan-track, .arahan-bar:focus-within .arahan-track{ animation-play-state:paused; }
  .arahan-group{ display:flex; flex:0 0 auto; align-items:center; }
  .arahan-item{
    display:inline-flex; align-items:center; gap:10px; white-space:nowrap;
    font-size:14px; color:var(--foam-100); padding:0 28px 0 0;
  }
  .arahan-item::before{
    content:""; width:6px; height:6px; border-radius:50%; flex:0 0 auto; margin-left:28px;
    background:#ff2a2a; box-shadow:0 0 6px 2px rgba(255,42,42,.65);
  }
  .arahan-item b{ font-weight:600; color:var(--orange-400); }
  .arahan-item small{ color:var(--slate-400); font-size:12px; }
  @keyframes arahanScroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
  @media (prefers-reduced-motion:reduce){
    .arahan-track{ animation:none; }
    .arahan-view{ overflow-x:auto; }
    .arahan-dot{ animation:none; }
  }
  @media (max-width:560px){
    .arahan-label span.t{ display:none; }
    .arahan-label{ padding-right:14px; }
  }


/* ===== Tombol Ubah / Hapus di panel beranda ===== */
.hp-ed{ display:flex; justify-content:flex-end; gap:6px; margin-top:6px; }
.hp-ed-b{ font-family:'IBM Plex Sans',sans-serif; font-size:10.5px; font-weight:600; line-height:1; color:var(--slate-300); background:rgba(255,255,255,.05); border:1px solid var(--line); border-radius:999px; padding:3px 9px; cursor:pointer; white-space:nowrap; user-select:none; }
.hp-ed-b:hover{ color:var(--foam-100); border-color:var(--sea-400); }
.hp-ed-b.del:hover{ color:#fff; background:#e5484d; border-color:#e5484d; }
.hp-ed-b:focus-visible{ outline:2px solid var(--sea-400); outline-offset:2px; }
.hp-pkx-foot .hp-ed{ margin-top:0; }
.hpm-ok.hpm-danger{ background:#e5484d; color:#fff; }
.hpm-ok.hpm-danger:hover{ background:#c93a3f; }
.hp-rrm .act button.danger{ color:#ff8a8d; border-color:rgba(229,72,77,.6); }
.hp-urg.selesai{ border-left-color:#4aa3ff; }
.hp-urg.selesai .hp-due{ color:#4aa3ff; }

.hp-bst-foot .hp-ed{ margin-top:0; }
.hp-bst-foot #hp-bst-ed{ margin-left:auto; }

/* ===== Panel Live Chat: latar putih, tulisan hitam ===== */
.hp.hp-chatsec{ --line:#b9c0c7; --slate-400:#4b5963; --foam-100:#000; --sea-400:#0a6cb5; background:#d9dde1; color:#000; border-color:#aab2ba; }
.hp-chatsec .hp-h, .hp-chatsec .hp-h small, .hp-chatsec .hp-mt button[aria-selected="true"]{ color:#000; }
.hp-chatsec .hp-mt button{ color:#4b5963; }
.hp-chatsec .hp-mt button:hover{ color:#000; }
.hp-chatsec .hp-cm-t, .hp-chatsec .hp-cm-n{ color:#000; }
.hp-chatsec .hp-cm-a{ background:#c3ccd4; color:#0a3a5c; }
.hp-chatsec .hp-cm.me .hp-cm-t{ background:#bcd3e8; color:#000; }
.hp-chatsec .hp-cin input, .hp-chatsec .hp-lc-row input, .hp-chatsec .hp-lc-q, .hp-chatsec .hp-onl-pop input{ background:#eceff1; color:#000; border-color:#a3acb4; }
.hp-chatsec .hp-cin input::placeholder, .hp-chatsec .hp-lc-row input::placeholder, .hp-chatsec .hp-lc-q::placeholder, .hp-chatsec .hp-onl-pop input::placeholder{ color:#5a656e; }
.hp-chatsec .hp-lc-f select{ background:#eceff1; color:#000; border-color:#a3acb4; color-scheme:light; }
.hp-chatsec .hp-lc-as, .hp-chatsec .hp-note, .hp-chatsec .hp-lcp-t small, .hp-chatsec .hp-onl-0{ color:#4b5963; }
.hp-chatsec .hp-lc-as b, .hp-chatsec .hp-lcp-t b, .hp-chatsec .hp-lc-who, .hp-chatsec .hp-onl-n{ color:#000; }
.hp-chatsec .hp-lcp:hover{ background:#cbd1d7; }
.hp-chatsec .hp-onl-n:hover{ color:#0a6cb5; }
.hp-chatsec .hp-onl-pop{ background:#e4e7ea; border-color:#a3acb4; box-shadow:0 8px 24px rgba(0,0,0,.2); }
.hp-chatsec .hp-onl-p{ color:#000; }
.hp-chatsec .hp-onl-p:hover{ background:#cbd1d7; }
.hp-chatsec .hp-onl-p[aria-pressed="true"]{ color:#168a4b; }
.hp-chatsec .hp-dot.off{ background:rgba(0,0,0,.25) !important; }
.hp-grid .hp-chatsec .hp-onl-l, .hp-grid .hp-chatsec .hp-onl-pl{ scrollbar-color:rgba(0,0,0,.3) transparent !important; }
.hp-grid .hp-chatsec .hp-onl-l::-webkit-scrollbar-thumb, .hp-grid .hp-chatsec .hp-onl-pl::-webkit-scrollbar-thumb{ background:rgba(0,0,0,.3); }

/* ===== Best of the Month: kolom Ulang Tahun Minggu Ini ===== */
.hp-ul{ position:relative; display:flex; flex-direction:column; min-height:0; height:100%; border:1px solid var(--line); border-radius:8px; background:rgba(10,36,64,.45); padding:6px 10px 6px; overflow:hidden; }
.hp-ul-h{ flex:0 0 auto; display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:0 8px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12.5px; color:var(--sea-400); }
.hp-ul-h small{ font-family:'IBM Plex Sans',sans-serif; font-weight:400; font-size:10.5px; color:var(--slate-400); }
.hp-ul-slot{ flex:1 1 auto; min-height:0; display:flex; flex-direction:column; justify-content:center; overflow:hidden; }
.hp-ul-card{ animation:hpPkxIn .55s ease both; }
.hp-ul-age{ font-size:11.5px; font-weight:600; color:var(--orange-400); margin-top:2px; }
.hp-ul-empty{ text-align:center; font-size:12.5px; line-height:1.4; color:var(--slate-400); padding:6px 4px; }
.hp-ul-empty small{ display:block; margin-top:4px; font-size:11px; }
.hp-ul .hp-bst-foot{ flex:0 0 auto; margin-top:4px; }
.hp-ul .hp-bst-foot button#hp-ul-open{ font-family:'IBM Plex Sans',sans-serif; font-size:12px; color:var(--orange-400); background:none; border:none; cursor:pointer; padding:0; white-space:nowrap; }
.hp-ul .hp-bst-foot button#hp-ul-open:hover{ text-decoration:underline; }
@media (prefers-reduced-motion:reduce){ .hp-ul-card{ animation:none; } }
@media (min-width:1181px) and (max-height:900px){
  .hp-bst2 .hp-ul-age{ font-size:11px; margin-top:1px; }
  .hp-ul-h{ font-size:11.5px; }
}

/* ===== Ulang Tahun Minggu Ini: profil diperkecil (~1/2) agar foto & rincian tampil utuh ===== */
.hp-bst2 .hp-ul{ padding:5px 8px 5px; }
.hp-bst2 .hp-ul .hp-ul-h{ font-size:clamp(10.5px,1.4vh,12.5px); }
.hp-bst2 .hp-ul .hp-ul-h small{ font-size:clamp(9px,1.2vh,10.5px); }
.hp-bst2 .hp-ul .hp-ul-slot{ overflow-y:auto; justify-content:center; }
.hp-bst2 .hp-ul .hp-bst-in{ align-items:center; gap:8px; }
.hp-bst2 .hp-ul .hp-bst-ph{ width:clamp(44px,30%,84px); height:auto; aspect-ratio:3/4; align-self:center; contain:none; object-fit:cover; object-position:center top; border-radius:6px; }
.hp-bst2 .hp-ul .hp-bst-ph.hp-photo-fb{ font-size:clamp(14px,2.2vh,24px); }
.hp-bst2 .hp-ul .hp-bst-tx{ justify-content:flex-start; }
.hp-bst2 .hp-ul .hp-bst-cat{ font-size:clamp(9px,1.2vh,11px); padding:1px 7px; }
.hp-bst2 .hp-ul .hp-bst-nm{ font-size:clamp(11px,1.65vh,14px); line-height:1.2; margin-top:3px; }
.hp-bst2 .hp-ul .hp-ul-age{ font-size:clamp(9.5px,1.3vh,11.5px); margin-top:1px; }
.hp-bst2 .hp-ul .hp-bst-jb{ font-size:clamp(9px,1.25vh,11px); line-height:1.25; margin-top:1px; -webkit-line-clamp:2; }
.hp-bst2 .hp-ul .hp-bst-dl{ display:grid; margin-top:clamp(2px,.6vh,6px); gap:1px; }
.hp-bst2 .hp-ul .hp-bst-dl dt, .hp-bst2 .hp-ul .hp-bst-dl dd{ font-size:clamp(9px,1.2vh,11px); line-height:1.25; }
.hp-bst2 .hp-ul .hp-bst-dl dd{ -webkit-line-clamp:1; }
.hp-bst2 .hp-ul .hp-bst-foot{ margin-top:2px; }
.hp-bst2 .hp-ul .hp-bst-foot button#hp-ul-open{ font-size:clamp(10px,1.3vh,12px); }
.hp-bst2 .hp-ul .hp-bst-dots button{ width:7px; height:7px; }

/* ===== Tugas Mandiri: bar progress di samping judul tugas ===== */
.hp-pg{ flex:0 0 auto; display:flex; align-items:center; gap:6px; margin-top:2px; }
.hp-pg-bar{ display:block; width:clamp(54px,6vw,84px); height:7px; border-radius:999px; background:rgba(234,243,246,.18); overflow:hidden; }
.hp-pg-bar b{ display:block; height:100%; border-radius:999px; background:var(--orange-400); transition:width .4s ease; }
.hp-pg.full .hp-pg-bar b{ background:#6fcf97; }
.hp-pg em{ font-style:normal; font-size:11.5px; font-weight:600; min-width:32px; text-align:right; color:var(--foam-100); }
.hp-pg.full em{ color:#6fcf97; }
@media (prefers-reduced-motion:reduce){ .hp-pg-bar b{ transition:none; } }

/* ===== Halaman Virtual Office / Artificial Intelegent / Tips ===== */
.lay-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:12px; margin-top:14px; }
.lay-card{ position:relative; display:flex; flex-direction:column; gap:4px; text-align:left; font:inherit; color:inherit; text-decoration:none; padding:14px 16px 30px; background:rgba(10,36,64,.45); border:1px solid var(--line); border-radius:8px; cursor:pointer; transition:border-color .15s, transform .15s; }
.lay-card:hover{ border-color:var(--sea-400); transform:translateY(-1px); }
.lay-card b{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px; }
.lay-card span{ font-size:12.5px; line-height:1.4; color:var(--slate-400); }
.lay-card em{ position:absolute; right:14px; bottom:9px; font-style:normal; font-size:11.5px; font-weight:600; color:var(--orange-400); }
.lay-card.tip{ flex-direction:row; align-items:flex-start; gap:12px; padding:14px 16px; cursor:default; }
.lay-card.tip:hover{ border-color:var(--line); transform:none; }
.lay-card.tip i{ flex:0 0 26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-style:normal; font-size:12px; font-weight:700; color:#0a1420; background:var(--orange-400); }
.lay-card.tip div{ display:flex; flex-direction:column; gap:4px; min-width:0; }

/* ===== Sembunyikan garis scrollbar di layout halaman (scroll tetap berfungsi) =====
   Berlaku untuk halaman utama, sidebar, konten, dan modal. Daftar online di beranda
   tetap memakai aturan scrollbar tipis miliknya sendiri (lebih spesifik, !important). */
html, body, *{ scrollbar-width:none; -ms-overflow-style:none; }
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar{ display:none; width:0; height:0; }

/* ===== Isian Pelaksana: ketik untuk menyaring/mengurutkan nama ===== */
.hpm-cb{ position:relative; }
.hpm-cb-l{ position:absolute; left:0; right:0; top:calc(100% + 3px); z-index:30; max-height:210px; overflow-y:auto; background:var(--navy-900); border:1px solid var(--sea-400); border-radius:6px; box-shadow:0 10px 26px rgba(0,0,0,.5); padding:3px; }
.hpm-cb-o{ padding:7px 9px; font-size:13px; line-height:1.3; border-radius:4px; cursor:pointer; color:var(--foam-100); }
.hpm-cb-o:hover, .hpm-cb-o.on{ background:rgba(95,163,204,.25); }
.hpm-cb-o.sel{ font-weight:600; color:#9fd8ff; }
.hpm-cb-0{ padding:8px 9px; font-size:12.5px; color:var(--slate-400); }

/* ===== Panel Notifikasi: dua kolom sama lebar (kiri: Notifikasi Terbaru, kanan: Tugas Urgent Baru) ===== */
.hp-updwrap{ flex:1 1 auto; min-height:0; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-rows:minmax(0,1fr); }
.hp-updcol{ display:flex; flex-direction:column; min-height:0; min-width:0; }
.hp-updcol-r{ border-left:1px solid var(--line); }
.hp-updcol > .hp-b{ min-height:0; overflow-y:auto; }
.hp-updcol-r .hp-h > span:first-child{ font-family:'Space Grotesk',sans-serif; font-weight:700; letter-spacing:0; color:var(--orange-400); text-shadow:none; }
.hp-updsec .hp-pop-n{ font-size:14.5px; }
.hp-updsec .hp-pop-t{ font-size:14.5px; line-height:1.4; }
.hp-updsec .hp-pop-m{ font-size:12px; }
@media (max-width:640px){ .hp-updwrap{ grid-template-columns:minmax(0,1fr); grid-template-rows:none; } .hp-updcol-r{ border-left:none; border-top:1px solid var(--line); } }

/* ===== Halaman LOG INPUT ===== */
.lg-bar{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin:18px 0 14px; padding:10px 12px; border:1px solid var(--line); border-radius:6px; background:rgba(10,36,64,.35); }
.lg-seg{ display:flex; gap:6px; }
.lg-seg .loc-tab{ padding:6px 14px; font-size:13px; }
.lg-nav{ display:flex; align-items:center; gap:8px; }
.lg-nav button{ font:inherit; font-size:14px; color:var(--foam-100); background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:6px; padding:4px 10px; cursor:pointer; }
.lg-nav button:hover{ border-color:var(--sea-400); }
.lg-nav .lg-now{ font-size:12px; color:var(--orange-400); border-color:rgba(238,125,67,.55); }
.lg-lbl{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px; min-width:150px; text-align:center; }
.lg-f{ display:flex; align-items:center; gap:6px; font-size:12px; color:var(--slate-300); }
.lg-f select{ font:inherit; font-size:13px; color:var(--foam-100); background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:6px; padding:5px 8px; }
.lg-f select option{ background:var(--navy-900); color:var(--foam-100); }
.lg-tot{ margin-left:auto; font-size:12px; color:var(--slate-400); }
.lg-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; align-items:start; }
.lg-col{ border:1px solid var(--line); border-radius:6px; background:rgba(10,36,64,.35); display:flex; flex-direction:column; min-width:0; }
.lg-h{ display:flex; align-items:baseline; justify-content:space-between; gap:8px; padding:12px 14px 10px; border-bottom:1px solid var(--line); font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:16px; }
.lg-h small{ font-family:'IBM Plex Sans',sans-serif; font-weight:400; font-size:12px; color:var(--slate-400); }
.lg-b{ padding:4px 14px 8px; min-height:140px; overscroll-behavior:contain; scrollbar-width:thin; }
.lg-r{ padding:10px 0; border-top:1px solid var(--line); }
.lg-r:first-child{ border-top:none; }
.lg-rt{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.lg-bd{ font-size:11px; font-weight:600; padding:2px 8px; border-radius:999px; background:rgba(95,163,204,.2); color:#9fd8ff; }
.lg-bd.ubah{ background:rgba(238,125,67,.2); color:var(--orange-400); }
.lg-bd.hapus{ background:rgba(255,90,95,.2); color:#ff8a8d; }
.lg-w{ font-size:12px; font-weight:600; color:var(--slate-300); white-space:nowrap; }
.lg-j{ font-size:13.5px; line-height:1.4; margin-top:5px; overflow-wrap:anywhere; }
.lg-m{ font-size:11.5px; color:var(--slate-400); margin-top:2px; overflow-wrap:anywhere; }
.lg-0{ padding:18px 0; font-size:13px; color:var(--slate-400); }
@media (max-width:980px){ .lg-grid{ grid-template-columns:minmax(0,1fr); } .lg-tot{ margin-left:0; } }
/* ===== Halaman USER ACTIVITY ===== */
.ua-grid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; align-items:start; }
.ua-col .lg-h{ font-size:15px; }
.ua-b{ padding:4px 12px 8px; max-height:520px; overflow-y:auto; scrollbar-width:thin; }
.ua-r{ display:flex; align-items:center; gap:9px; padding:9px 0; border-top:1px solid var(--line); }
.ua-r:first-child{ border-top:none; }
.ua-r.top{ background:linear-gradient(90deg,rgba(238,125,67,.14),transparent 70%); margin:0 -12px; padding:9px 12px; border-radius:6px; }
.ua-rk{ flex:0 0 20px; text-align:center; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13px; color:var(--slate-400); }
.ua-ph-w{ position:relative; flex:0 0 36px; width:36px; height:36px; }
.ua-ph{ width:36px; height:36px; border-radius:50%; object-fit:cover; border:1px solid var(--line); }
.ua-ph.hp-photo-fb{ display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:600; background:rgba(95,163,204,.22); color:var(--foam-100); }
.ua-live{ position:absolute; right:-1px; bottom:-1px; width:10px; height:10px; border-radius:50%; background:#34d27b; border:2px solid var(--navy-900); box-shadow:0 0 6px #34d27b; }
.ua-i{ flex:1 1 auto; min-width:0; }
.ua-n{ font-size:13.5px; font-weight:600; line-height:1.3; overflow-wrap:anywhere; }
.ua-s{ font-size:11.5px; color:var(--slate-400); margin-top:1px; overflow-wrap:anywhere; }
.ua-bar{ height:4px; border-radius:99px; background:rgba(255,255,255,.08); margin-top:6px; overflow:hidden; }
.ua-bar i{ display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,var(--sea-600),var(--sea-400)); }
.ua-r.top .ua-bar i{ background:linear-gradient(90deg,var(--orange-500),var(--orange-400)); }
.ua-v{ flex:0 0 auto; text-align:right; font-size:13px; color:var(--foam-100); white-space:nowrap; }
.ua-v small{ font-size:11px; color:var(--slate-400); }
.ua-on{ color:#34d27b; font-size:12px; }
.ua-off{ color:var(--slate-400); font-size:11.5px; }
@media (max-width:1280px){ .ua-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:700px){ .ua-grid{ grid-template-columns:minmax(0,1fr); } .ua-b{ max-height:none; } }
.hp-urg-pg{ margin-top:6px; }
.hp-urg-pg .hp-pg{ display:flex; width:100%; margin-top:0; }
.hp-urg-pg .hp-pg-bar{ flex:1 1 auto; width:auto; }

/* ===== Panel RINCIAN TUGAS (Tugas Urgent + Tugas Mandiri + TUPOKSI) + Mobil Dinas + Tamu dan Kunjungan ===== */
.hp-rinc .hp-annwrap{ grid-template-columns:minmax(0,2fr) minmax(0,1fr); }   /* sama dengan panel Pengumuman, agar lebar kolom kanan = kolom Ruang Rapat */
.hp-rinc .hp-annl > #hp-tasklist{ min-height:0; overflow-y:auto; overscroll-behavior:contain; }
.hp-rinc .hp-rinc-modes{ padding-bottom:2px; }
.hp-rinc .hp-h .hp-h-r{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.hp-rinc #hp-openkg{ font:inherit; font-size:11.5px; font-weight:600; color:var(--foam-100); background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:999px; padding:2px 10px; cursor:pointer; }
.hp-rinc-r{ display:flex; flex-direction:column; min-height:0; min-width:0; border-left:1px solid var(--line); }
.hp-rinc-r > .hp-rr{ flex:1 1 0; min-height:0; border-left:none; }
.hp-rinc-r > .hp-rr + .hp-rr{ border-top:1px solid var(--line); }
.hp-tkd{ padding:8px 0; border-top:1px solid var(--line); }
.hp-tkd:first-of-type{ border-top:none; }
.hp-tkd .t{ font-weight:600; font-size:14px; overflow-wrap:anywhere; }
.hp-tkd .m{ font-size:12.5px; color:var(--slate-300); overflow-wrap:anywhere; }
.hp-tkd .w{ font-size:12px; font-weight:600; color:var(--orange-400); margin-top:1px; }
@media (min-width:1181px){ .hp-fit .hp-c1.hp-wr{ grid-row:11 / span 20; } }
@media (max-width:1180px){ .hp-rinc-r > .hp-rr{ flex:0 0 auto; } }
@media (max-width:720px){
  .hp-rinc .hp-annwrap{ grid-template-columns:minmax(0,1fr); grid-template-rows:none; }
  .hp-rinc-r{ border-left:none; border-top:1px solid var(--line); }
}

/* ===== Judul panel seragam: Space Grotesk 600, ukuran = judul Pengumuman, biru, huruf awal kapital ===== */
.hp-grid{ --hp-title:#5aaeff; }
.hp-grid .hp-chatsec{ --hp-title:#0a6cb5; }
.hp-grid .hp-h > span:first-child, .hp-grid .hp-h > .hp-ttl{
  font-family:'Space Grotesk',sans-serif; font-weight:600; letter-spacing:0; text-transform:none; text-shadow:none; color:var(--hp-title); }
.hp-grid .hp-h > .hp-ttl{ display:block; flex:0 0 100%; line-height:1.15; }
@media (min-width:1181px){
  .hp-fit .hp-rr .hp-h, .hp-fit .hp-onl .hp-h{ font-size:calc(var(--hp-t) * .72); white-space:nowrap; }
}

/* ===== Halaman SKP (menu header "SKP"): dua panel berdampingan, tinggi mengikuti layar (diatur skpFit di app.js) ===== */
.skp-duo{ display:grid; grid-template-columns:minmax(0,1fr); gap:14px; align-items:stretch; margin-top:6px; }
.skp-wrap{ display:flex; flex-direction:column; min-height:0; min-width:0; background:#10264a; border:1px solid rgba(234,243,246,.14); border-radius:14px; padding:12px; color:#0f2238; box-shadow:0 8px 24px rgba(0,0,0,.22); }
.skp-title{ margin:0 0 8px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:clamp(16px,1.9vh,20px); line-height:1.15; color:#fff; text-align:center; flex:0 0 auto; }
.skp-ann{ flex:0 0 auto; display:flex; align-items:center; gap:10px; background:#fff; border-left:8px solid #f08a24; border-radius:9px; padding:7px 12px; margin-bottom:8px; }
.skp-ann-i{ flex:0 0 auto; display:inline-flex; }
.skp-ann-t{ flex:1 1 auto; min-width:0; }
.skp-ann-t b{ font-family:'Space Grotesk',sans-serif; font-size:12.5px; letter-spacing:.01em; }
.skp-ann-t p{ margin:1px 0 0; font-size:12.5px; line-height:1.3; overflow-wrap:anywhere; }
.skp-annedit{ flex:0 0 auto; font:inherit; font-size:11px; font-weight:600; color:#0f2238; background:#fff4e6; border:1px solid #f08a24; border-radius:999px; padding:2px 10px; cursor:pointer; }
.skp-stats{ flex:0 0 auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-bottom:8px; }
.skp-card{ background:#fff; border:3px solid; border-radius:11px; text-align:center; padding:6px 6px 8px; min-width:0; }
.skp-card.belum{ border-color:#e0434f; } .skp-card.proses{ border-color:#f5b02e; } .skp-card.selesai{ border-color:#25a05a; }
.skp-card-t{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:11.5px; letter-spacing:.01em; line-height:1.15; }
.skp-card-n{ margin:1px 0 4px; font-weight:600; font-size:13px; }
.skp-card-n b{ font-family:'Space Grotesk',sans-serif; font-size:26px; font-weight:700; line-height:1; margin-right:3px; }
.skp-card button{ font:inherit; font-weight:600; font-size:11.5px; color:#fff; background:#1f6f8b; border:2px solid transparent; border-radius:7px; padding:3px 12px; cursor:pointer; }
.skp-card button[aria-pressed="true"]{ background:#0c4256; border-color:#0f2238; }
.skp-card button:hover{ background:#175a73; }
.skp-bar{ flex:0 0 auto; display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; margin-bottom:8px; }
.skp-tw{ display:inline-flex; background:#fff; border-radius:8px; overflow:hidden; border:1px solid #cfd8df; }
.skp-tw button{ font:inherit; font-size:12.5px; color:#12304a; background:#fff; border:none; border-right:1px solid #e0e6eb; padding:6px 12px; cursor:pointer; white-space:nowrap; }
.skp-tw button:last-child{ border-right:none; }
.skp-tw button[aria-selected="true"]{ background:#0e4660; color:#fff; font-weight:600; }
.skp-per{ color:#bcd0dc; font-size:12.5px; }
.skp-yr{ display:inline-flex; align-items:center; gap:6px; color:#eaf3f6; font-size:12.5px; }
.skp-yr select{ font:inherit; font-size:12.5px; color:#eaf3f6; background:transparent; border:1px solid rgba(234,243,246,.55); border-radius:7px; padding:4px 8px; }
.skp-yr select option{ color:#0f2238; }
.skp-main{ flex:1 1 auto; min-height:0; display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); background:#fff; border-radius:12px; overflow:hidden; }
.skp-left{ background:#1f6f8b; padding:8px; display:flex; flex-direction:column; gap:6px; min-width:0; min-height:0; }
.skp-search input{ width:100%; box-sizing:border-box; font:inherit; font-size:12.5px; padding:5px 10px; border-radius:7px; border:1px solid transparent; background:rgba(255,255,255,.95); color:#0f2238; }
.skp-filter{ display:flex; align-items:center; justify-content:space-between; gap:6px; font-size:11.5px; color:#fff; }
.skp-filter[hidden]{ display:none; }
.skp-filter button{ font:inherit; font-size:11px; color:#fff; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.4); border-radius:999px; padding:1px 8px; cursor:pointer; white-space:nowrap; }
.skp-list{ flex:1 1 auto; min-height:0; display:flex; flex-direction:column; gap:5px; overflow-y:auto; scrollbar-width:thin; padding-right:2px; }
.skp-emp{ flex:0 0 auto; background:#0e4660; border-radius:8px; color:#fff; }
.skp-emp.open{ outline:2px solid #5aaeff; }
.skp-emp-h{ width:100%; display:flex; align-items:center; gap:7px; font:inherit; font-size:13px; font-weight:500; color:inherit; background:none; border:none; padding:7px 8px; cursor:pointer; text-align:left; }
.skp-emp-h .n{ flex:1 1 auto; min-width:0; overflow-wrap:anywhere; line-height:1.2; }
.skp-bd{ flex:0 0 auto; font-size:10.5px; font-weight:700; letter-spacing:.02em; border-radius:999px; padding:2px 8px; color:#fff; }
.skp-bd.selesai{ background:#25b05f; } .skp-bd.proses{ background:#f5b02e; color:#3a2600; } .skp-bd.belum{ background:#e0434f; }
.skp-chev{ flex:0 0 auto; transition:transform .15s; } .skp-emp.open .skp-chev{ transform:rotate(180deg); }
.skp-emp-b{ display:flex; align-items:center; gap:6px; padding:2px 10px 8px 34px; font-size:11.5px; color:#d5e7ee; }
.skp-right{ padding:10px 12px; display:flex; flex-direction:column; gap:10px; min-width:0; min-height:0; overflow-y:auto; scrollbar-width:thin; }
.skp-blk{ border:1px solid #e1e6ea; border-radius:10px; padding:8px 12px; color:#12304a; }
.skp-kv{ display:grid; grid-template-columns:minmax(78px,128px) minmax(0,1fr); gap:3px 10px; align-items:center; padding:3px 0; font-size:13px; }
.skp-kv > span{ color:#12304a; }
.skp-kv b{ font-weight:500; overflow-wrap:anywhere; }
.skp-sub{ margin-top:4px; padding-top:5px; border-top:1px dashed #d5dde3; }
.skp-sub > b{ display:block; font-family:'Space Grotesk',sans-serif; font-size:13px; color:#0e4660; }
.skp-chk{ display:flex; flex-wrap:wrap; gap:4px 14px; }
.skp-chk label{ display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
.skp-chk input{ width:16px; height:16px; accent-color:#1f6f8b; cursor:pointer; }
.skp-date{ font:inherit; font-size:12.5px; border:1px solid #c5ced5; border-radius:7px; padding:2px 6px; color:#12304a; max-width:170px; }
.skp-upd{ display:flex; align-items:center; gap:6px; margin-top:4px; padding-top:6px; border-top:1px solid #e8ecef; font-size:11.5px; color:#5a6c7a; }
.skp-none{ padding:14px 8px; font-size:12.5px; color:#5a6c7a; text-align:center; }
.skp-left .skp-none{ color:#d5e7ee; }
@media (min-width:1280px){ .skp-duo{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); } }
@media (max-width:1279px){
  .skp-wrap{ padding:14px; }
  .skp-main{ min-height:380px; }
  .skp-list{ max-height:340px; }
  .skp-right{ max-height:480px; }
}
@media (max-width:760px){
  .skp-main{ grid-template-columns:minmax(0,1fr); }
  .skp-kv{ grid-template-columns:minmax(0,1fr); gap:2px; }
  .skp-stats{ grid-template-columns:minmax(0,1fr); }
  .skp-ann{ flex-wrap:wrap; }
}
.skp-jn button{ min-width:58px; }
.skp-jt{ font-size:9.5px; font-weight:700; letter-spacing:.03em; color:#bfe0f0; border:1px solid rgba(191,224,240,.55); border-radius:4px; padding:0 4px; margin-left:4px; white-space:nowrap; vertical-align:middle; }

.skp-bl{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.skp-gr button{ min-width:58px; }

.skp-dz{ flex:0 0 auto; box-sizing:border-box; min-height:240px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:16px; border:2px dashed #9db4c3; border-radius:12px; background:#f3f8fb; color:#12304a; cursor:pointer; text-align:center; transition:background .15s,border-color .15s; overflow:auto; }
.skp-dz:hover,.skp-dz:focus-visible,.skp-dz.over{ background:#e3f0f7; border-color:#0e4660; outline:none; }
.skp-dz.over{ border-style:solid; }
.skp-dz.off{ cursor:not-allowed; opacity:.6; }
.skp-dz-c{ display:flex; flex-direction:column; align-items:center; gap:4px; color:#1f6f8b; }
.skp-dz-c b{ font-size:14px; color:#12304a; }
.skp-dz-c span{ font-size:12.5px; color:#38566b; }
.skp-dz-c small{ font-size:11px; color:#5a6c7a; }
.skp-dz-note{ margin-top:4px; color:#a15c0a !important; }
.skp-dz-f{ width:100%; }
.skp-dz-ls{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:4px; text-align:left; }
.skp-dz-ls li{ display:flex; justify-content:space-between; gap:10px; background:#fff; border:1px solid #d5e0e8; border-radius:7px; padding:5px 10px; font-size:12px; }
.skp-dz-ls li span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.skp-dz-ls li em{ font-style:normal; color:#5a6c7a; flex:0 0 auto; }

/* ===== Panel Pengumuman dan Rincian Tugas: latar abu-abu terang seperti Live Chat ===== */
.hp.hp-lightsec{ --line:#b9c0c7; --slate-400:#4b5963; --slate-300:#2f3b45; --foam-100:#000; --sea-400:#0a6cb5; --orange-400:#b84a12; background:#d9dde1; color:#000; border-color:#aab2ba; }
.hp-grid .hp-lightsec{ --hp-title:#0a6cb5; }
.hp-lightsec .hp-h, .hp-lightsec .hp-h small{ color:#000; }
.hp-lightsec .hp-h .hp-add{ background:rgba(184,74,18,.08); border-color:rgba(184,74,18,.55); }
.hp-lightsec .hp-h .hp-add:hover{ background:#b84a12; color:#fff; }
.hp-lightsec .loc-tab{ border-color:#a3acb4; color:#2f3b45; }
.hp-lightsec .loc-tab:hover{ color:#000; border-color:#4b5963; }
.hp-lightsec .loc-tab[aria-pressed="true"]{ background:#0a6cb5; border-color:#0a6cb5; color:#fff; }
.hp-lightsec .hp-st.penting, .hp-lightsec .hp-pt .hp-st.hari{ color:#c0262b; border-color:rgba(192,38,43,.55); }
.hp-lightsec .hp-st.proses{ color:#b84a12; border-color:rgba(184,74,18,.55); }
.hp-lightsec .hp-st.review{ color:#168a4b; border-color:rgba(22,138,75,.55); }
.hp-lightsec .hp-an-x, .hp-lightsec .hp-tkd .m{ color:#2f3b45; }
.hp-lightsec .hp-ed-b{ color:#2f3b45; background:rgba(0,0,0,.05); border-color:#a3acb4; }
.hp-lightsec .hp-ed-b:hover{ color:#000; border-color:#0a6cb5; }
.hp-lightsec .hp-ed-b.del:hover{ color:#fff; background:#e5484d; border-color:#e5484d; }
.hp-lightsec .hp-rr-f input{ background:#eceff1; color:#000; border-color:#a3acb4; }
.hp-lightsec .hp-rr-f input::placeholder{ color:#5a656e; }
.hp-lightsec .hp-rr-f button{ color:#fff; }
.hp-lightsec #hp-openkg{ color:#000; background:rgba(0,0,0,.05); border-color:#a3acb4; }
.hp-lightsec .hp-rrbox{ background:rgba(0,0,0,.04); }
.hp-lightsec .hp-rrbox:not([style*="--bg"]) .hp-rrt:not(.empty){ color:#8a5a00; text-shadow:none; }
.hp-lightsec .hp-annl > .hp-ann{ scrollbar-color:rgba(0,0,0,.3) transparent; }
.hp-lightsec .hp-annl > .hp-ann::-webkit-scrollbar-thumb{ background:rgba(0,0,0,.3); }
/* Nama pegawai pelaksana: 2x lebih besar dari teks keterangan (11.5px → 23px) */
.hp-task-m .hp-pic{ font-size:23px; font-weight:600; line-height:1.25; color:#0a3a5c; overflow-wrap:anywhere; }

/* Menu folder per timja di sidebar */
.side-sub .tmenu{ font-size:12.5px; line-height:1.35; }   /* sama dengan Arsip / Laporan / Jadwal Kegiatan */

/* Zona upload di popout Upload dokumen */
.hpm .up-dz{ min-height:150px; margin:4px 0 10px; padding:12px; color:var(--foam-100); background:rgba(255,255,255,.04); border-color:var(--slate-400); }
.hpm .up-dz:hover,.hpm .up-dz:focus-visible,.hpm .up-dz.over{ background:rgba(95,163,204,.12); border-color:var(--sea-400); }
.hpm .up-dz .skp-dz-c{ color:var(--sea-400); }
.hpm .up-dz .skp-dz-c b{ color:var(--foam-100); }
.hpm .up-dz .skp-dz-c span{ color:var(--slate-300); }
.hpm .up-dz .skp-dz-c small{ color:var(--slate-400); }
.hpm .up-dz .skp-dz-note{ color:var(--orange-400) !important; }
.hpm .up-dz .skp-dz-ls li{ background:rgba(255,255,255,.07); border-color:var(--line); color:var(--foam-100); }
.hpm .up-dz .skp-dz-ls li em{ color:var(--slate-400); }

/* Menu Upload dokumen & Upload SPJ: huruf 2 tingkat lebih besar (12.5px → 16px), putih solid */
.side-sub .side-sublink[data-upload]{ font-size:16px; color:#fff; }
.side-sub .side-sublink[data-upload]:hover{ color:#fff; }

/* Tab wilayah Rincian Tugas: Pangkalan | SatWil */
.hp-rinc .hp-rinc-wil .loc-tab{ font-weight:600; padding:6px 16px; font-size:13px; }

/* Tab Pangkalan | SatWil di samping judul Rincian Tugas */
.hp-rinc .hp-h .hp-wil-h{ display:inline-flex; align-items:center; gap:6px; margin:0 auto 0 14px; align-self:center; }
.hp-rinc .hp-h .hp-wil-h .loc-tab{ font:inherit; font-family:'IBM Plex Sans',sans-serif; font-size:13px; font-weight:600; line-height:1.2; padding:4px 14px; border:1px solid #a3acb4; border-radius:999px; background:transparent; color:#2f3b45; cursor:pointer; }
.hp-rinc .hp-h .hp-wil-h .loc-tab:hover{ color:#000; border-color:#4b5963; }
.hp-rinc .hp-h .hp-wil-h .loc-tab[aria-pressed="true"]{ background:#0a6cb5; border-color:#0a6cb5; color:#fff; }


/* Tombol "Panel Pengaduan" di samping tab Chat Publik */
.hp-mt a.hp-lcgo{ display:inline-flex; align-items:center; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px; line-height:1.15; text-decoration:none; color:#fff; background:var(--orange-500); border:1px solid var(--orange-500); border-radius:999px; padding:3px 12px; margin-left:4px; white-space:nowrap; cursor:pointer; }
.hp-mt a.hp-lcgo:hover, .hp-mt a.hp-lcgo:focus-visible{ background:#fff; color:var(--orange-500); }
.hp-h .hp-mt a.hp-lcgo{ font-size:20px !important; }
@media (min-width:1181px){ .hp-fit .hp-h .hp-mt a.hp-lcgo{ font-size:calc(var(--hp-t) * .6) !important; padding:1px 10px; } }

/* Emoticon chat pegawai */
.hp-lc-row .hp-emo-b{ flex:0 0 auto; font-size:17px; line-height:1; padding:0 9px; color:inherit; background:rgba(255,255,255,.06); border:1px solid var(--line); border-radius:6px; cursor:pointer; }
.hp-lc-row .hp-emo-b:hover{ background:rgba(255,255,255,.14); }
.hp-chatsec .hp-lc-row .hp-emo-b{ background:#eceff1; border-color:#a3acb4; }
.hp-chatsec .hp-lc-row .hp-emo-b:hover{ background:#dfe4e8; }
.hp-emo-pop{ position:fixed; z-index:99999; width:272px; max-width:calc(100vw - 12px); background:#fff; color:#0a1420; border:1px solid #a3acb4; border-radius:10px; box-shadow:0 8px 28px rgba(0,0,0,.35); padding:6px; }
.hp-emo-tabs{ display:flex; gap:4px; border-bottom:1px solid #dfe4e8; padding-bottom:5px; margin-bottom:5px; }
.hp-emo-pop button{ font:inherit; background:none; border:none; cursor:pointer; color:inherit; padding:0; }
.hp-emo-t{ flex:1; font-size:17px !important; padding:3px 0 !important; border-radius:6px; opacity:.6; }
.hp-emo-t.on{ background:#fde6d2 !important; opacity:1; }
.hp-emo-g{ display:grid; grid-template-columns:repeat(8,1fr); gap:2px; max-height:150px; overflow-y:auto; }
.hp-emo-i{ font-size:20px !important; line-height:1; padding:5px 0 !important; border-radius:6px; }
.hp-emo-i:hover{ background:#eceff1 !important; }

/* ================= RESPONSIF LAYAR (Full HD / HD / laptop) =================
   Layar desktop >=1181px: skala otomatis lewat appScale() di app.js (zoom proporsional,
   tata letak dirancang ~1600x1050) sehingga tidak ada kartu yang terpotong di Full HD maupun HD.
   Di bawah 1181px: tata letak responsif bawaan (kolom bertumpuk). */
html{ -webkit-text-size-adjust:100%; }
body{ overflow-x:hidden; }

/* Wilayah Kerja (iframe): ikut tinggi layar, tanpa min-height kaku */
.wk-frame{ height:calc(100vh / var(--appz,1) - 190px); min-height:480px; }
/* 100vh ikut dikoreksi skala agar sidebar/halaman tetap penuh layar */
body{ min-height:calc(100vh / var(--appz,1)); }
aside{ max-height:calc(100vh / var(--appz,1)); }
@media (max-width:900px){ aside{ max-height:none; } }

/* Tabel & papan lebar: scroll horizontal di dalam wadah, bukan memotong */
.bd-table-wrap, .kg-body, .kg .table-wrap > div{ max-width:100%; overflow-x:auto; }

/* Modal/kartu profil selalu muat di layar pendek */
.pf-card{ max-height:calc(100vh - 24px); }
.kg .modal{ max-height:calc(100vh - 24px); }

/* ===== Perbaikan responsif tablet dan ponsel ===== */
@media (max-width:900px){
  html, body{
    width:100%;
    min-width:0;
    overflow-x:clip;
    overscroll-behavior-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  body{
    min-height:100vh;
    min-height:100dvh;
    background-attachment:scroll;
  }

  /* Header tidak lagi membiarkan deretan menu menentukan lebar halaman. */
  header{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"brand actions" "toggle toggle" "nav nav" "kata kata";
    align-items:center;
    gap:8px 10px;
    width:100%;
    min-width:0;
    padding:12px clamp(12px,3vw,20px);
  }
  header > *{ min-width:0; max-width:100%; }
  .brand{ grid-area:brand; min-width:0; gap:9px; }
  .brand-text{ min-width:0; }
  .brand-text .k1{ font-size:clamp(11px,2vw,13px); line-height:1.2; overflow-wrap:anywhere; }
  .hdr-actions{ grid-area:actions; justify-content:flex-end; flex-wrap:wrap; gap:6px; }
  .hdr-actions .chip-btn{ padding:6px 8px; font-size:11px; white-space:normal; text-align:center; }
  .mobile-nav-toggle{
    grid-area:toggle;
    display:flex;
    align-items:center;
    justify-content:space-between;
    width:100%;
    min-height:40px;
    padding:8px 11px;
    color:var(--foam-100);
    background:rgba(234,243,246,.06);
    border:1px solid var(--line);
    border-radius:5px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
  }
  .mobile-nav-toggle::after{ content:"⌄"; color:var(--slate-300); font-size:16px; }
  header.nav-open .mobile-nav-toggle::after{ content:"⌃"; }
  .hdr-nav{
    grid-area:nav;
    display:none;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
    width:100%;
    min-width:0;
    margin:0;
  }
  header.nav-open .hdr-nav{ display:grid; }
  .hdr-nav > *{ min-width:0; max-width:100%; }
  .hdr-nav .nav-link, .hdr-nav .nav-trigger{
    display:flex;
    width:100%;
    min-width:0;
    min-height:40px;
    justify-content:space-between;
    padding:8px 10px;
    font-size:12px;
    letter-spacing:0;
    text-align:left;
    overflow-wrap:anywhere;
  }
  .hdr-nav .nav-trigger span{ min-width:0; }
  .hdr-nav .nav-menu{
    position:static;
    width:100%;
    min-width:0;
    max-width:none;
    margin-top:4px;
    box-shadow:0 8px 20px rgba(0,0,0,.28);
  }
  .hdr-kata{ grid-area:kata; width:100%; min-width:0; margin:0; }
  .hdr-kata-view{ min-width:0; }

  /* Menu tim kerja tetap bisa dibuka, tetapi tidak mengambil alih seluruh halaman. */
  #side-toggle{ min-width:0; }
  #side-toggle-label{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  aside.open .side-body{
    max-height:min(62vh,480px);
    max-height:min(62dvh,480px);
    overflow-y:auto;
    overscroll-behavior-y:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:thin;
  }

  .shell{ grid-template-columns:minmax(0,1fr); width:100%; min-width:0; }
  .content{ width:100%; min-width:0; padding:18px 16px 28px; }
  .content > *{ min-width:0; max-width:100%; }

  /* Kartu beranda mengikuti isi; halaman utama yang menjadi area scroll utama. */
  .hp-grid{
    grid-template-columns:minmax(0,1fr);
    grid-auto-rows:auto;
    gap:12px;
    width:100%;
    min-width:0;
    height:auto !important;
    overflow:visible;
  }
  .hp-grid > .hp{
    grid-column:1 / -1;
    width:100%;
    height:auto !important;
    min-height:260px;
    max-height:none;
    overflow:visible;
  }
  .hp-grid > .hp.hp-c2.hp-w1{ min-height:210px; }
  .hp-grid > .hp.hp-chatsec{ min-height:390px; }
  .hp-grid > .hp > .hp-b{ overflow:visible !important; }
  .hp-grid .hp-annwrap{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto;
    min-height:0;
  }
  .hp-grid .hp-annl, .hp-grid .hp-rr, .hp-grid .hp-chatcol, .hp-grid .hp-onl,
  .hp-grid .hp-updcol{ min-width:0; }
  .hp-grid .hp-rr{ border-left:0; border-top:1px solid var(--line); }
  .hp-grid .hp-rr-b{ grid-template-rows:repeat(2,minmax(100px,auto)); }
  .hp-grid .hp-chatwrap, .hp-grid .hp-updwrap{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto;
  }
  .hp-grid .hp-onl{ border-left:0; border-top:1px solid var(--line); min-height:180px; }
  .hp-grid .hp-onl-l{ max-height:240px; overscroll-behavior-y:auto; -webkit-overflow-scrolling:touch; }
  .hp-grid .hp-ann, .hp-grid #hp-urglist, .hp-grid #hp-tasklist,
  .hp-grid .hp-lcl, .hp-grid .hp-chat, .hp-grid .hp-updcol > .hp-b{
    overscroll-behavior-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .hp-h{ font-size:clamp(18px,4.8vw,23px); line-height:1.2; }
  .hp-rinc .hp-rinc-r{ border-left:0; border-top:1px solid var(--line); }

  /* Panel SKP/LHK: daftar dan rincian jadi dua bagian vertikal yang seimbang. */
  .skp-duo{ grid-template-columns:minmax(0,1fr); width:100%; height:auto !important; }
  .skp-wrap{ min-width:0; min-height:0; width:100%; }
  .skp-main{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(220px,42dvh) minmax(280px,auto);
    min-height:0;
    overflow:visible;
  }
  .skp-left{ min-height:0; }
  .skp-list{ max-height:none; min-height:0; }
  .skp-right{ max-height:none; min-height:280px; overflow-y:visible; }

  /* Pulihkan petunjuk scrollbar dan biarkan scroll dalam panel diteruskan ke halaman. */
  html, body, body *{ scrollbar-width:thin; -ms-overflow-style:auto; }
  html::-webkit-scrollbar, body::-webkit-scrollbar, body *::-webkit-scrollbar{
    display:block;
    width:6px;
    height:6px;
  }
  .hp-grid, .hp-grid *{ scrollbar-width:thin !important; -ms-overflow-style:auto !important; }
  .hp-grid::-webkit-scrollbar, .hp-grid *::-webkit-scrollbar{
    display:block !important;
    width:6px !important;
    height:6px !important;
  }
}

@media (max-width:420px){
  header{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"brand" "actions" "toggle" "nav" "kata";
    gap:8px;
  }
  .hdr-actions{ justify-content:flex-start; }
  .hdr-nav{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .content{ padding:16px 12px 24px; }
  .hp-grid > .hp{ min-height:230px; }
  .hp-grid > .hp.hp-chatsec{ min-height:360px; }
  .skp-wrap{ padding:10px; }
  .skp-main{ grid-template-rows:minmax(210px,38dvh) minmax(260px,auto); }
  .skp-stats{ grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
  .skp-card{ padding:6px 3px; }
  .skp-card-t{ font-size:10px; }
  .skp-card-n b{ font-size:21px; }
  .skp-card button{ padding:3px 7px; }
}

/* ===== Menu Tampilan tab di header ===== */
.tab-view-wrap{ position:relative; display:inline-flex; flex:0 0 auto; }
.tab-view-toggle{ display:inline-flex; align-items:center; gap:6px; white-space:nowrap; font:inherit; }
.tab-view-menu{
  position:absolute; top:calc(100% + 8px); right:0; z-index:180;
  display:flex; flex-direction:column; width:min(310px,calc(100vw - 24px));
  max-height:min(72vh,520px); max-height:min(72dvh,520px); overflow-y:auto;
  padding:7px; background:var(--navy-900); color:var(--foam-100);
  border:1px solid rgba(234,243,246,.22); border-radius:8px;
  box-shadow:0 14px 36px rgba(0,0,0,.48); overscroll-behavior:contain;
}
.tab-view-menu[hidden]{ display:none; }
.tab-view-menu-title{ padding:7px 9px 9px; color:var(--slate-400); font-size:11px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; }
.tab-view-menu button{
  display:flex; align-items:center; gap:10px; width:100%; min-height:42px; padding:8px 10px;
  border:0; border-radius:5px; background:transparent; color:var(--foam-100);
  font:inherit; font-size:13px; text-align:left; cursor:pointer;
}
.tab-view-menu button > span:first-child{ flex:0 0 23px; text-align:center; font-size:16px; }
.tab-view-menu button:hover, .tab-view-menu button:focus-visible{ background:rgba(47,127,176,.24); color:#fff; }
.tab-view-label{ display:flex; flex-direction:column; gap:2px; }
.tab-view-label small{ color:var(--slate-400); font-size:10.5px; }

@media (max-width:900px){
  /* Dropdown berada di tengah viewport, tidak lagi terpotong oleh sisi header. */
  .tab-view-menu{
    position:fixed; top:50%; left:50%; right:auto;
    transform:translate(-50%,-50%);
    width:min(360px,calc(100vw - 24px));
    max-height:min(78vh,600px); max-height:min(78dvh,600px);
  }
}

/* ===== Panel beranda fullscreen (ponsel/tablet) ===== */
@media (max-width:900px){
  html.hp-tab-view-open, body.hp-tab-view-open{ overflow:hidden !important; overscroll-behavior:none; }
  .hp-grid.hp-view-grid{
    display:block !important; width:100%; height:auto !important; min-height:0;
    margin:0; overflow:visible !important;
  }
  .hp-grid.hp-view-grid > .hp:not(.hp-view-active){ display:none !important; }
  .hp-grid.hp-view-grid > .hp.hp-view-active{
    position:fixed !important; inset:0 !important; z-index:150 !important;
    display:flex !important; flex-direction:column;
    width:100vw !important; height:100vh !important; height:100dvh !important;
    min-width:0 !important; min-height:0 !important; max-height:none !important;
    margin:0 !important; padding:0 0 env(safe-area-inset-bottom,0px) !important;
    overflow-x:hidden !important; overflow-y:auto !important;
    overscroll-behavior-y:contain; -webkit-overflow-scrolling:touch;
    border:0 !important; border-radius:0 !important; box-shadow:none !important;
  }
  .hp-view-active > :not(.hp-view-toolbar){ padding-left:10px; padding-right:10px; }
  .hp-view-toolbar{
    position:sticky; top:0; z-index:20; flex:0 0 auto;
    display:flex; align-items:center; gap:14px; min-height:54px;
    padding:calc(7px + env(safe-area-inset-top,0px)) 14px 7px;
    background:#0a1d30; color:#f2f6f8; border-bottom:1px solid rgba(234,243,246,.16);
    box-shadow:0 4px 12px rgba(0,0,0,.16);
  }
  .hp-view-back{
    flex:0 0 auto; display:inline-flex; align-items:center; gap:5px;
    min-height:38px; padding:6px 10px; border:1px solid rgba(234,243,246,.26);
    border-radius:7px; background:rgba(255,255,255,.06); color:inherit;
    font:inherit; font-size:13px; font-weight:600; cursor:pointer;
  }
  .hp-view-back span{ font-size:22px; line-height:16px; }
  .hp-view-title{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:15px; }
  .hp-view-active.hp-lightsec .hp-view-toolbar,
  .hp-view-active.hp-chatsec .hp-view-toolbar{
    background:#eef1f3; color:#111; border-bottom-color:#c8cdd2;
  }
  .hp-view-active.hp-lightsec .hp-view-back,
  .hp-view-active.hp-chatsec .hp-view-back{ background:#fff; border-color:#b9c0c7; }

  /* Pengumuman dan ruang rapat dipilih terpisah dari kartu gabungan. */
  .hp-view-active[data-home-view-part="announcement"] .hp-annwrap,
  .hp-view-active[data-home-view-part="meeting"] .hp-annwrap{
    display:flex !important; flex:1 1 auto; flex-direction:column; min-height:0;
  }
  .hp-view-active[data-home-view-part="announcement"] #hp-meeting-panel,
  .hp-view-active[data-home-view-part="meeting"] #hp-announcement-panel{ display:none !important; }
  .hp-view-active[data-home-view-part="announcement"] #hp-announcement-panel{ flex:1 1 auto; min-height:0; }
  .hp-view-active[data-home-view-part="announcement"] .hp-annl > .hp-ann{
    flex:0 0 auto; max-height:none; overflow:visible !important;
  }
  .hp-view-active[data-home-view-part="meeting"] #hp-meeting-panel{
    flex:1 1 auto; min-height:0; border:0; display:flex;
  }
  .hp-view-active[data-home-view-part="meeting"] .hp-rr-b{
    flex:1 1 auto; grid-template-rows:repeat(2,minmax(130px,1fr)); min-height:280px;
  }

  /* Mobil dinas dan rincian tugas berada di satu kartu, tetapi tampil sendiri-sendiri. */
  .hp-view-active[data-home-view-part="fleet"] .hp-annwrap,
  .hp-view-active[data-home-view-part="tasks"] .hp-annwrap{
    display:flex !important; flex:1 1 auto; flex-direction:column; min-height:0;
  }
  .hp-view-active[data-home-view-part="fleet"] #hp-task-panel,
  .hp-view-active[data-home-view-part="tasks"] .hp-rinc-r{ display:none !important; }
  .hp-view-active[data-home-view-part="fleet"] .hp-rinc-r{
    display:flex; flex:1 1 auto; min-height:0; border:0;
  }
  .hp-view-active[data-home-view-part="fleet"] #hp-car-panel{
    flex:1 1 auto; min-height:260px; border:0; display:flex;
  }
  .hp-view-active[data-home-view-part="fleet"] #hp-car-panel .hp-rr-b{
    grid-template-rows:repeat(2,minmax(100px,auto)); min-height:220px;
  }
  .hp-view-active[data-home-view-part="tasks"] #hp-task-panel{ flex:1 1 auto; min-height:0; }
  .hp-view-active[data-home-view-part="tasks"] #hp-tasklist{
    flex:0 0 auto; max-height:none; overflow:visible !important;
  }
  .hp-view-active.hp-chatsec .hp-chatwrap{ flex:1 0 auto; min-height:0; }
  .hp-view-active.hp-updsec .hp-updwrap{ flex:1 0 auto; }
}

/* Identitas login */
.chip-btn#hdr-user{ max-width:170px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chip-btn#hdr-user[hidden]{ display:none; }
.lg-u{ font-size:11.5px; color:var(--orange-400, #e8742a); margin-top:2px; overflow-wrap:anywhere; }
.hp-upd-u{ color:var(--slate-400); font-size:.9em; white-space:nowrap; }
.lg-rl{ color:var(--orange-400, #e8742a); font-weight:600; text-decoration:none; }

/* ===== Chat pegawai: foto & file ===== */
.hp-cm-img{ display:inline-block; margin-top:3px; line-height:0; }
.hp-cm-img img{ display:block; max-width:220px; max-height:200px; height:auto; border-radius:8px; border:1px solid var(--line); cursor:zoom-in; background:rgba(255,255,255,.05); }
.hp-cm.me .hp-cm-b{ display:flex; flex-direction:column; align-items:flex-end; }
.hp-cm-file{ display:inline-flex; align-items:center; gap:6px; max-width:100%; margin-top:3px; padding:6px 10px; font-size:12.5px; color:inherit; text-decoration:none; background:rgba(255,255,255,.07); border:1px solid var(--line); border-radius:8px; }
.hp-cm-file span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.hp-cm-file small{ color:var(--slate-400); flex:0 0 auto; }
.hp-cm-file:hover{ background:rgba(255,255,255,.14); }
.hp-fl-pv{ display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:12px; padding:4px 8px; background:rgba(255,255,255,.07); border:1px dashed var(--line); border-radius:6px; }
.hp-fl-pv[hidden]{ display:none; }
.hp-fl-pv span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.hp-fl-pv small{ opacity:.7; }
.hp-fl-pv button{ flex:0 0 auto; font:inherit; font-size:12px; color:inherit; background:none; border:none; cursor:pointer; padding:0 4px; }
.hp-chatsec .hp-cm-file, .hp-chatsec .hp-fl-pv{ background:#eceff1; border-color:#a3acb4; color:#000; }
.hp-chatsec .hp-cm-file:hover{ background:#dfe4e8; }
.hp-chatsec .hp-cm-file small{ color:#4a5560; }
.hp-chatsec .hp-cm-img img{ border-color:#a3acb4; }

.hp-lnk{ color:inherit; text-decoration:underline; font-weight:600; overflow-wrap:anywhere; cursor:pointer; }
.hp-lnk:hover{ opacity:.8; }

/* ===== Pop-up "online" futuristik di kolom User Online ===== */
.hp-onl-snd{ position:absolute; top:6px; right:8px; z-index:7; width:26px; height:26px; padding:0; display:flex; align-items:center; justify-content:center; font-size:14px; line-height:1; cursor:pointer; color:#bff6ff; background:rgba(10,30,48,.85); border:1px solid rgba(34,229,255,.55); border-radius:7px; box-shadow:0 0 8px rgba(34,229,255,.25); }
.hp-onl-snd:hover{ box-shadow:0 0 12px rgba(34,229,255,.6); }
.hp-onl-snd[aria-pressed="false"]{ opacity:.7; border-color:rgba(255,255,255,.3); box-shadow:none; }
.hp-onl-ann{ position:absolute; left:6px; right:6px; top:44px; z-index:8; display:flex; flex-direction:column; align-items:center; gap:8px; max-height:calc(100% - 52px); padding:10px 8px 9px; overflow:hidden; color:#e8fbff; background:linear-gradient(135deg,rgba(6,22,40,.96),rgba(10,44,66,.96)); border:1px solid #22e5ff; border-radius:12px; box-shadow:0 0 0 1px rgba(34,229,255,.25),0 0 18px rgba(34,229,255,.55),inset 0 0 14px rgba(34,229,255,.15); opacity:0; transform:translateX(26px) scale(.94); filter:blur(3px); transition:opacity .4s ease, transform .4s cubic-bezier(.2,.9,.3,1.2), filter .4s ease; pointer-events:none; }
.hp-onl-ann.in{ opacity:1; transform:none; filter:none; }
.hp-onl-ann.out{ opacity:0; transform:translateX(-26px) scale(.94); filter:blur(3px); transition-duration:.45s; transition-timing-function:ease-in; }
.hp-ann-scan{ position:absolute; left:0; right:0; top:-30%; height:30%; background:linear-gradient(180deg,transparent,rgba(34,229,255,.38),transparent); animation:hpAnnScan 1.5s linear infinite; pointer-events:none; }
.hp-ann-ring{ position:relative; flex:0 1 auto; width:min(100%,92px); aspect-ratio:3/4; min-height:0; padding:2px; border-radius:12px; background:linear-gradient(120deg,#22e5ff,#7a5cff,#ff3df2,#22e5ff); background-size:300% 300%; box-shadow:0 0 14px rgba(34,229,255,.8); animation:hpAnnGlow 3s linear infinite; }
.hp-ann-ph{ display:block; width:100%; height:100%; border-radius:10px; object-fit:contain; background:#0a1a2c; }
.hp-ann-ph.hp-photo-fb{ display:flex; align-items:center; justify-content:center; font:700 26px 'Space Grotesk',system-ui,sans-serif; color:#22e5ff; }
.hp-ann-tx{ position:relative; width:100%; min-width:0; display:flex; flex-direction:column; align-items:center; gap:3px; text-align:center; }
.hp-ann-tx b{ max-width:100%; font:700 13px/1.2 'Space Grotesk',system-ui,sans-serif; color:#fff; letter-spacing:.2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-shadow:0 0 8px rgba(34,229,255,.7); }
.hp-ann-tx small{ display:flex; align-items:center; gap:5px; font:700 10.5px/1 'Space Grotesk',system-ui,sans-serif; letter-spacing:2.2px; color:#6fffb0; }
.hp-ann-tx small i{ width:7px; height:7px; border-radius:50%; background:#6fffb0; box-shadow:0 0 8px #6fffb0; animation:hpAnnBlink 1s ease-in-out infinite; }
@keyframes hpAnnScan{ to{ top:110%; } }
@keyframes hpAnnGlow{ to{ background-position:300% 0; } }
@keyframes hpAnnBlink{ 50%{ opacity:.25; } }
@media (prefers-reduced-motion:reduce){ .hp-ann-scan,.hp-ann-ring,.hp-ann-tx small i{ animation:none; } .hp-onl-ann{ transition-duration:.01s; } }
