:root {
        --hijau: #1e7d5f;
        --hijau-d: #14604a;
        --hijau-dd: #0c4636;
        --hijau-l: #e8f5f0;
        --hijau-ll: #f4faf7;
        --jingga: #f2790f;
        --jingga-l: #fef3e8;
        --biru: #2e7cd6;
        --biru-l: #eaf2fc;
        --ungu: #7c5cbf;
        --ungu-l: #f1edfa;
        --merah: #d6455c;
        --merah-l: #fbedf0;
        --kuning: #e5a814;
        --kuning-l: #fdf6e3;
        --base: #f7f7f4;
        --putih: #ffffff;
        --ink: #1c2420;
        --ink2: #46524c;
        --abu: #7d8983;
        --ghost: #c2ccc7;
        --garis: rgba(30, 125, 95, 0.1);
        --sh: 0 2px 14px rgba(28, 36, 32, 0.07);
        --sh-lg: 0 10px 30px rgba(28, 36, 32, 0.13);
        --r: 18px;
        --rS: 12px;
        --p: 20px;
      }
      * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        -webkit-tap-highlight-color: transparent;
      }
      button {
        cursor: pointer;
        font-family: inherit;
        border: none;
        background: none;
      }
      textarea,
      input {
        font-family: inherit;
      }
      body {
        min-height: 100vh;
        background: #dce5e0;
        font-family: "Plus Jakarta Sans", sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        color: var(--ink);
      }
      .outer {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: 100vh;
      }
      .cap {
        display: none;
      }

      .phone {
        width: 100%;
        height: 100%;
        background: var(--base);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        position: relative;
      }

      @media (max-width: 767px) {
        .sb {
          padding-top: 12px;
          height: auto;
        }
        .bnav {
          padding-bottom: 24px;
        }
      }

      @media (min-width: 768px) {
        body {
          padding: 40px 20px;
        }
        .outer {
          height: calc(100vh - 80px);
        }
        .phone {
          max-width: 800px;
          border-radius: 24px;
          box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
          margin: 0 auto;
        }
        .sb {
          display: none;
        }
        .ak-grid {
          grid-template-columns: repeat(4, 1fr);
        }
        .jtype-list {
          display: grid;
          grid-template-columns: 1fr 1fr;
        }
        .art-list {
          display: grid;
          grid-template-columns: 1fr 1fr;
        }
        .stat-row {
          gap: 16px;
        }
        .mood-btn {
          padding: 16px 8px;
        }
      }

      @media (min-width: 1024px) {
        .phone {
          max-width: 960px;
        }
      }
      .sb {
        height: 42px;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        padding: 0 24px 7px;
        font-size: 12px;
        font-weight: 600;
        flex-shrink: 0;
        position: relative;
        z-index: 5;
      }

      .body {
        flex: 1;
        overflow: hidden;
        position: relative;
      }
      .screen {
        position: absolute;
        inset: 0;
        display: none;
        flex-direction: column;
        background: var(--base);
      }
      .screen.on {
        display: flex;
        animation: up 0.28s cubic-bezier(0.4, 0, 0.2, 1);
      }
      @keyframes up {
        from {
          opacity: 0;
          transform: translateY(8px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }
      .scroll {
        flex: 1;
        overflow-y: auto;
        scrollbar-width: none;
      }
      .scroll::-webkit-scrollbar {
        display: none;
      }

      /* ══════════ SPLASH / MASUK ══════════ */
      .splash {
        position: absolute;
        inset: 0;
        z-index: 90;
        background: linear-gradient(
          165deg,
          var(--hijau) 0%,
          var(--hijau-d) 55%,
          var(--hijau-dd) 100%
        );
        display: flex;
        flex-direction: column;
        transition:
          opacity 0.4s ease,
          visibility 0.4s;
      }
      .splash.hide {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
      }
      .sp-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 36px;
        text-align: center;
      }
      .logo-badge {
        width: 88px;
        height: 88px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        border: 2px solid rgba(255, 255, 255, 0.35);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
        position: relative;
      }
      .logo-badge::after {
        content: "LOGO UNSIKA";
        position: absolute;
        bottom: -16px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 6.5px;
        letter-spacing: 0.14em;
        color: rgba(255, 255, 255, 0.35);
        white-space: nowrap;
        font-weight: 700;
      }
      .logo-badge svg {
        width: 48px;
        height: 48px;
      }
      .sp-uni {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.65);
        margin-top: 20px;
      }
      .sp-fak {
        font-size: 9.5px;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.45);
        margin-top: 4px;
      }
      .sp-app {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 38px;
        color: #fff;
        margin-top: 22px;
        line-height: 1.1;
      }
      .sp-tag {
        font-size: 12.5px;
        color: rgba(255, 255, 255, 0.7);
        margin-top: 8px;
        line-height: 1.6;
      }
      .sp-bottom {
        flex-shrink: 0;
        padding: 0 28px 40px;
      }
      .sp-field {
        width: 100%;
        background: rgba(255, 255, 255, 0.12);
        border: 1.5px solid rgba(255, 255, 255, 0.25);
        border-radius: 14px;
        padding: 14px 16px;
        font-size: 14px;
        color: #fff;
        margin-bottom: 10px;
      }
      .sp-field::placeholder {
        color: rgba(255, 255, 255, 0.5);
      }
      .sp-field:focus {
        outline: none;
        border-color: rgba(255, 255, 255, 0.6);
      }
      .sp-btn {
        width: 100%;
        background: #fff;
        color: var(--hijau-d);
        border-radius: 14px;
        padding: 15px;
        font-size: 14.5px;
        font-weight: 800;
        box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.35);
        transition: transform 0.12s;
      }
      .sp-btn:active {
        transform: scale(0.98);
      }
      .sp-note {
        text-align: center;
        font-size: 10px;
        color: rgba(255, 255, 255, 0.45);
        margin-top: 12px;
        line-height: 1.6;
      }

      /* ══════════ NAV ══════════ */
      .bnav {
        display: flex;
        background: var(--putih);
        border-top: 1px solid var(--garis);
        padding: 8px 0 18px;
        flex-shrink: 0;
      }
      .nb {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 6px 0;
        color: var(--ghost);
        transition: color 0.15s;
      }
      .nb svg {
        width: 21px;
        height: 21px;
        stroke-width: 1.9;
      }
      .nb span {
        font-size: 9.5px;
        font-weight: 700;
      }
      .nb.on {
        color: var(--hijau);
      }

      /* ══════════ BERANDA ══════════ */
      .topbar {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px var(--p) 0;
      }
      .tb-logo {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        flex-shrink: 0;
        background: var(--hijau);
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .tb-logo svg {
        width: 19px;
        height: 19px;
      }
      .tb-tx {
        flex: 1;
        line-height: 1.25;
      }
      .tb-tx b {
        display: block;
        font-size: 11.5px;
        font-weight: 800;
        color: var(--ink);
      }
      .tb-tx span {
        font-size: 9px;
        font-weight: 600;
        color: var(--abu);
        letter-spacing: 0.03em;
      }
      .tb-bell {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--putih);
        border: 1px solid var(--garis);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ink2);
        position: relative;
      }
      .tb-bell::after {
        content: "";
        position: absolute;
        top: 8px;
        right: 9px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--jingga);
      }

      .hero {
        margin: 12px var(--p) 0;
        border-radius: var(--r);
        background: linear-gradient(
          135deg,
          var(--hijau) 0%,
          var(--hijau-d) 100%
        );
        padding: 22px;
        position: relative;
        overflow: hidden;
      }
      .hero::after {
        content: "";
        position: absolute;
        top: -70px;
        right: -70px;
        width: 190px;
        height: 190px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
      }
      .hero::before {
        content: "";
        position: absolute;
        bottom: -46px;
        left: -30px;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
      }
      .hero-greet {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 25px;
        line-height: 1.28;
        color: #fff;
        position: relative;
      }
      .hero-sub {
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.65);
        margin-top: 5px;
        position: relative;
      }

      .mood-wrap {
        margin: 18px var(--p) 0;
      }
      .mood-lbl {
        font-size: 11px;
        font-weight: 800;
        color: var(--abu);
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-bottom: 10px;
      }
      .mood-row {
        display: flex;
        gap: 7px;
      }
      .mood-btn {
        flex: 1;
        padding: 11px 3px;
        border-radius: var(--rS);
        background: var(--putih);
        border: 1.5px solid var(--garis);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .mood-btn .em {
        font-size: 21px;
        line-height: 1;
      }
      .mood-btn .ml {
        font-size: 9px;
        font-weight: 700;
        color: var(--abu);
      }
      .mood-btn.on {
        border-color: var(--hijau);
        background: var(--hijau-ll);
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(30, 125, 95, 0.18);
      }
      .mood-btn.on .ml {
        color: var(--hijau);
      }

      .cta {
        margin: 15px var(--p) 0;
        padding: 17px 19px;
        border-radius: var(--r);
        background: var(--jingga);
        width: calc(100% - 40px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-shadow: 0 10px 26px -6px rgba(242, 121, 15, 0.45);
        transition: transform 0.12s;
      }
      .cta:active {
        transform: scale(0.98);
      }
      .cta-t strong {
        display: block;
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 17.5px;
        color: #fff;
        margin-bottom: 2px;
      }
      .cta-t span {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.8);
      }
      .cta-arr {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.22);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }

      .stat-row {
        display: flex;
        gap: 9px;
        margin: 14px var(--p) 0;
      }
      .stat {
        flex: 1;
        background: var(--putih);
        border: 1px solid var(--garis);
        border-radius: var(--rS);
        padding: 12px 13px;
      }
      .stat .sv {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 22px;
        color: var(--ink);
        line-height: 1;
        margin-bottom: 3px;
      }
      .stat .sl {
        font-size: 9.5px;
        font-weight: 600;
        color: var(--abu);
      }
      .stat.hi {
        border-color: rgba(229, 168, 20, 0.4);
        background: var(--kuning-l);
      }
      .stat.hi .sv {
        color: var(--kuning);
      }

      .sec-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin: 20px var(--p) 10px;
      }
      .sec-head h3 {
        font-size: 13.5px;
        font-weight: 800;
        color: var(--ink);
      }
      .sec-head a {
        font-size: 11px;
        font-weight: 700;
        color: var(--hijau);
        cursor: pointer;
      }
      .feat-card {
        margin: 0 var(--p);
        border-radius: var(--r);
        overflow: hidden;
        background: var(--putih);
        border: 1px solid var(--garis);
        box-shadow: var(--sh);
        text-align: left;
        width: calc(100% - 40px);
        transition: transform 0.12s;
      }
      .feat-card:active {
        transform: scale(0.99);
      }
      .feat-img {
        height: 106px;
        background: linear-gradient(135deg, var(--biru), #1a5fad);
        display: flex;
        align-items: flex-end;
        padding: 14px;
        position: relative;
        overflow: hidden;
      }
      .feat-img::before {
        content: "📖";
        position: absolute;
        font-size: 68px;
        right: 6px;
        top: 8px;
        opacity: 0.22;
      }
      .feat-badge {
        background: rgba(255, 255, 255, 0.93);
        border-radius: 99px;
        padding: 4px 11px;
        font-size: 9.5px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--biru);
      }
      .feat-body {
        padding: 14px 16px 15px;
      }
      .feat-title {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 15.5px;
        line-height: 1.35;
        color: var(--ink);
        margin-bottom: 6px;
      }
      .feat-exc {
        font-size: 11.5px;
        line-height: 1.6;
        color: var(--abu);
        margin-bottom: 9px;
      }
      .feat-meta {
        font-size: 10px;
        font-weight: 600;
        color: var(--ghost);
      }

      .bk-strip {
        margin: 14px var(--p) 0;
        background: var(--biru-l);
        border: 1.5px solid rgba(46, 124, 214, 0.18);
        border-radius: var(--r);
        padding: 13px 15px;
        display: flex;
        align-items: center;
        gap: 11px;
      }
      .bk-strip .ic {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        background: var(--biru);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        flex-shrink: 0;
      }
      .bk-strip .tx {
        flex: 1;
      }
      .bk-strip .tx b {
        display: block;
        font-size: 12.5px;
        font-weight: 800;
        color: var(--ink);
      }
      .bk-strip .tx span {
        font-size: 10.5px;
        color: var(--abu);
      }
      .bk-strip .go {
        color: var(--biru);
        flex-shrink: 0;
      }

      /* ══════════ JURNAL ══════════ */
      .pg-head {
        padding: 16px var(--p) 0;
        flex-shrink: 0;
      }
      .pg-head h2 {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 24px;
        color: var(--ink);
        margin-bottom: 3px;
      }
      .pg-head p {
        font-size: 12px;
        color: var(--abu);
        margin-bottom: 14px;
      }

      .jtype-list {
        padding: 0 var(--p) 24px;
        display: flex;
        flex-direction: column;
        gap: 9px;
      }
      .jtype {
        display: flex;
        align-items: center;
        gap: 13px;
        background: var(--putih);
        border: 1px solid var(--garis);
        border-radius: var(--r);
        padding: 14px 15px;
        box-shadow: var(--sh);
        text-align: left;
        width: 100%;
        transition: transform 0.13s;
      }
      .jtype:active {
        transform: scale(0.99);
      }
      .jic {
        width: 44px;
        height: 44px;
        border-radius: 13px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 21px;
      }
      .jtx strong {
        display: block;
        font-size: 13.5px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 2px;
      }
      .jtx span {
        font-size: 11.5px;
        color: var(--abu);
        line-height: 1.4;
      }
      .jarr {
        margin-left: auto;
        color: var(--ghost);
        flex-shrink: 0;
      }

      .wov {
        position: absolute;
        inset: 0;
        z-index: 40;
        background: var(--base);
        flex-direction: column;
        display: none;
      }
      .wov.on {
        display: flex;
        animation: up 0.25s ease;
      }
      .wov-top {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 14px var(--p) 12px;
      }
      .wov-back {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: rgba(255, 255, 255, 0.28);
      }
      .wov-title {
        font-weight: 800;
        font-size: 15px;
        flex: 1;
        color: #fff;
      }
      .wov-save {
        padding: 8px 17px;
        border-radius: 99px;
        font-size: 12.5px;
        font-weight: 800;
        background: rgba(255, 255, 255, 0.25);
        color: #fff;
      }
      .wov-scroll {
        flex: 1;
        overflow-y: auto;
        scrollbar-width: none;
        padding: 20px var(--p) 26px;
      }
      .wov-scroll::-webkit-scrollbar {
        display: none;
      }
      .wov-fields {
        display: flex;
        flex-direction: column;
        gap: 17px;
      }

      .f-lbl {
        font-size: 10.5px;
        font-weight: 800;
        color: var(--abu);
        letter-spacing: 0.06em;
        text-transform: uppercase;
        display: block;
        margin-bottom: 7px;
      }
      textarea,
      input[type="text"] {
        width: 100%;
        background: var(--putih);
        border: 1.5px solid var(--garis);
        border-radius: var(--rS);
        padding: 13px 14px;
        font-size: 14px;
        color: var(--ink);
        resize: none;
        line-height: 1.65;
      }
      textarea:focus,
      input[type="text"]:focus {
        outline: none;
        border-color: var(--hijau);
      }
      /* ── Validation States ── */
      .inp-err {
        border-color: var(--merah) !important;
        background: var(--merah-l) !important;
        animation: shake 0.3s ease;
      }
      .inp-err:focus { border-color: var(--merah) !important; }
      @keyframes shake {
        0%,100% { transform: translateX(0); }
        20%      { transform: translateX(-5px); }
        60%      { transform: translateX(5px); }
      }
      .err-msg {
        font-size: 10px;
        font-weight: 700;
        color: var(--merah);
        margin-top: 4px;
        display: none;
      }
      .err-msg.show { display: block; }
      .inp-ok { border-color: var(--hijau) !important; }
      textarea::placeholder,
      input::placeholder {
        color: var(--ghost);
      }
      .tt {
        min-height: 150px;
      }
      .tm {
        min-height: 86px;
      }
      .ts {
        min-height: 62px;
      }

      .prompt-box {
        border-radius: var(--rS);
        padding: 15px;
        background: var(--hijau-l);
        border: 1.5px solid rgba(30, 125, 95, 0.18);
      }
      .pb-l {
        font-size: 9.5px;
        font-weight: 800;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--hijau);
        margin-bottom: 7px;
      }
      .pb-q {
        font-family: "Lora", serif;
        font-style: italic;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.55;
        color: var(--ink);
      }

      .chips {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
      }
      .chip {
        padding: 7px 14px;
        border-radius: 99px;
        font-size: 12px;
        font-weight: 700;
        color: var(--ink2);
        border: 1.5px solid var(--garis);
        background: var(--putih);
        transition: all 0.12s;
      }
      .chip.on {
        background: var(--hijau-l);
        border-color: var(--hijau);
        color: var(--hijau);
      }

      .g-rows {
        display: flex;
        flex-direction: column;
        gap: 9px;
      }
      .g-row {
        display: flex;
        align-items: center;
        gap: 10px;
      }
      .g-n {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--kuning-l);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 13px;
        color: var(--kuning);
        flex-shrink: 0;
      }

      .mini-moods {
        display: flex;
        gap: 6px;
      }
      .mm {
        flex: 1;
        padding: 9px 2px;
        border-radius: 10px;
        border: 1.5px solid var(--garis);
        background: var(--putih);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font-size: 8.5px;
        font-weight: 700;
        color: var(--abu);
        transition: all 0.15s;
      }
      .mm .em {
        font-size: 16px;
      }
      .mm.on {
        border-color: var(--hijau);
        background: var(--hijau-ll);
        color: var(--hijau);
      }
      input[type="range"] {
        width: 100%;
        accent-color: var(--hijau);
        height: 4px;
      }

      /* ══════════ MAJALAH ══════════ */
      .mag-hero {
        margin: 12px var(--p) 0;
        border-radius: var(--r);
        background: linear-gradient(135deg, var(--ungu), #5a3f96);
        padding: 20px;
        position: relative;
        overflow: hidden;
      }
      .mag-hero::after {
        content: "✨";
        position: absolute;
        font-size: 58px;
        right: 10px;
        bottom: -8px;
        opacity: 0.25;
      }
      .mh-eyebrow {
        font-size: 9.5px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 7px;
      }
      .mh-title {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 1.3;
        color: #fff;
        margin-bottom: 6px;
      }
      .mh-sub {
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.7);
      }

      .mag-cats {
        display: flex;
        gap: 7px;
        padding: 14px var(--p) 4px;
        overflow-x: auto;
        scrollbar-width: none;
      }
      .mag-cats::-webkit-scrollbar {
        display: none;
      }
      .mc {
        padding: 7px 14px;
        border-radius: 99px;
        font-size: 11.5px;
        font-weight: 700;
        color: var(--abu);
        border: 1.5px solid var(--garis);
        background: var(--putih);
        white-space: nowrap;
        flex-shrink: 0;
        transition: all 0.12s;
      }
      .mc.on {
        background: var(--hijau);
        border-color: var(--hijau);
        color: #fff;
      }

      .art-list {
        padding: 10px var(--p) 24px;
        display: flex;
        flex-direction: column;
        gap: 11px;
      }
      .art-card {
        display: flex;
        gap: 13px;
        background: var(--putih);
        border: 1px solid var(--garis);
        border-radius: var(--r);
        padding: 13px;
        box-shadow: var(--sh);
        text-align: left;
        width: 100%;
        transition: transform 0.12s;
      }
      .art-card:active {
        transform: scale(0.99);
      }
      .art-thumb {
        width: 64px;
        height: 64px;
        border-radius: 13px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 27px;
      }
      .art-body {
        flex: 1;
        min-width: 0;
      }
      .art-cat {
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        margin-bottom: 4px;
      }
      .art-title {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 13.5px;
        line-height: 1.35;
        color: var(--ink);
        margin-bottom: 4px;
      }
      .art-meta {
        font-size: 10px;
        font-weight: 600;
        color: var(--ghost);
      }

      .reader {
        position: absolute;
        inset: 0;
        z-index: 50;
        background: var(--putih);
        flex-direction: column;
        display: none;
      }
      .reader.on {
        display: flex;
        animation: up 0.25s ease;
      }
      .rd-top {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px var(--p) 10px;
        border-bottom: 1px solid var(--garis);
      }
      .rd-back {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--base);
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .rd-actions {
        display: flex;
        gap: 8px;
      }
      .rd-act {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--base);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--ink2);
      }
      .rd-scroll {
        flex: 1;
        overflow-y: auto;
        scrollbar-width: none;
        padding: 20px var(--p) 40px;
      }
      .rd-scroll::-webkit-scrollbar {
        display: none;
      }
      .rd-cat {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--biru);
        margin-bottom: 8px;
      }
      .rd-title {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 23px;
        line-height: 1.32;
        color: var(--ink);
        margin-bottom: 10px;
      }
      .rd-meta {
        font-size: 11px;
        color: var(--abu);
        font-weight: 600;
        margin-bottom: 18px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--garis);
      }
      .rd-body {
        font-family: "Lora", serif;
        font-size: 15px;
        line-height: 1.85;
        color: var(--ink2);
      }
      .rd-body p {
        margin-bottom: 16px;
      }
      .rd-body h4 {
        font-family: "Plus Jakarta Sans", sans-serif;
        font-weight: 800;
        font-size: 15px;
        color: var(--ink);
        margin: 22px 0 10px;
      }
      .rd-tip {
        background: var(--hijau-l);
        border-left: 4px solid var(--hijau);
        border-radius: 0 var(--rS) var(--rS) 0;
        padding: 14px 16px;
        margin: 18px 0;
      }
      .rd-tip .tip-l {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--hijau);
        margin-bottom: 6px;
        font-family: "Plus Jakarta Sans", sans-serif;
      }
      .rd-tip p {
        font-size: 13.5px;
        line-height: 1.7;
        margin: 0;
        color: var(--ink2);
      }
      .rd-cta {
        margin-top: 24px;
        background: var(--jingga-l);
        border: 1.5px solid rgba(242, 121, 15, 0.25);
        border-radius: var(--r);
        padding: 16px;
        text-align: center;
      }
      .rd-cta p {
        font-family: "Plus Jakarta Sans", sans-serif;
        font-size: 12.5px;
        color: var(--ink2);
        margin-bottom: 10px;
        line-height: 1.6;
      }
      .rd-cta button {
        background: var(--jingga);
        color: #fff;
        border-radius: 99px;
        padding: 10px 22px;
        font-size: 12.5px;
        font-weight: 800;
      }

      /* ══════════ RIWAYAT ══════════ */
      .ins-card {
        margin: 0 var(--p);
        border-radius: var(--r);
        background: linear-gradient(135deg, var(--hijau), var(--hijau-d));
        padding: 18px;
      }
      .ic-l {
        font-size: 9.5px;
        font-weight: 800;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.55);
        margin-bottom: 8px;
      }
      .ic-n {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 40px;
        color: #fff;
        line-height: 1;
      }
      .ic-s {
        font-size: 11.5px;
        color: rgba(255, 255, 255, 0.65);
        margin-top: 4px;
      }
      .ic-bar {
        display: flex;
        height: 5px;
        gap: 2px;
        margin-top: 14px;
        border-radius: 99px;
        overflow: hidden;
      }
      .icb {
        height: 100%;
        border-radius: 3px;
      }

      .filt {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 14px var(--p) 4px;
      }
      .filt::-webkit-scrollbar {
        display: none;
      }
      .fp {
        padding: 7px 14px;
        border-radius: 99px;
        font-size: 11.5px;
        font-weight: 700;
        color: var(--abu);
        border: 1.5px solid var(--garis);
        background: var(--putih);
        white-space: nowrap;
        flex-shrink: 0;
      }
      .fp.on {
        background: var(--hijau);
        border-color: var(--hijau);
        color: #fff;
      }

      .rw-list {
        padding: 8px var(--p) 24px;
      }
      .rw-month {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--hijau);
        padding: 10px 0 8px;
      }
      .rw-entry {
        display: flex;
        gap: 12px;
        padding: 13px 0;
        border-bottom: 1px solid var(--garis);
      }
      .rw-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        flex-shrink: 0;
        margin-top: 4px;
      }
      .rw-b {
        flex: 1;
      }
      .rw-t {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--abu);
        margin-bottom: 4px;
      }
      .rw-x {
        font-family: "Lora", serif;
        font-style: italic;
        font-size: 13.5px;
        line-height: 1.6;
        color: var(--ink2);
        margin-bottom: 5px;
      }
      .rw-m {
        font-size: 10px;
        color: var(--ghost);
        font-weight: 600;
      }

      /* ══════════ AKADEMIK ══════════ */
      .sem-hero {
        margin: 0 var(--p);
        border-radius: var(--r);
        background: linear-gradient(135deg, var(--biru), #1a5fad);
        padding: 18px;
        position: relative;
        overflow: hidden;
      }
      .sem-hero::after {
        content: "";
        position: absolute;
        top: -60px;
        right: -60px;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
      }
      .sh-l {
        font-size: 9.5px;
        font-weight: 800;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 6px;
      }
      .sh-t {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 21px;
        color: #fff;
      }
      .sh-s {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.65);
        margin-top: 3px;
      }
      .sem-dots {
        display: flex;
        gap: 5px;
        margin-top: 14px;
        position: relative;
      }
      .sem-dot {
        flex: 1;
        height: 24px;
        border-radius: 7px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.18);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.5);
      }
      .sem-dot.done {
        background: rgba(255, 255, 255, 0.9);
        color: var(--biru);
        border-color: transparent;
      }
      .sem-dot.now {
        background: rgba(255, 255, 255, 0.25);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.65);
      }
      .sem-stats {
        display: flex;
        gap: 0;
        margin-top: 14px;
        position: relative;
      }
      .sem-stat {
        flex: 1;
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
      }
      .sem-stat:last-child {
        border-right: none;
      }
      .sem-stat .v {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 19px;
        color: #fff;
        line-height: 1;
      }
      .sem-stat .l {
        font-size: 8.5px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
        margin-top: 3px;
      }

      .jadwal-h {
        display: flex;
        gap: 10px;
        padding: 0 var(--p) 4px;
        overflow-x: auto;
        scrollbar-width: none;
      }
      .jadwal-h::-webkit-scrollbar {
        display: none;
      }
      .jd-card {
        flex-shrink: 0;
        width: 172px;
        background: var(--putih);
        border: 1px solid var(--garis);
        border-radius: var(--r);
        padding: 13px 14px;
        box-shadow: var(--sh);
        border-top: 3px solid var(--hijau);
      }
      .jd-time {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.03em;
        color: var(--hijau);
        margin-bottom: 6px;
      }
      .jd-mk {
        font-size: 12.5px;
        font-weight: 800;
        color: var(--ink);
        line-height: 1.35;
        margin-bottom: 5px;
      }
      .jd-info {
        font-size: 10px;
        color: var(--abu);
        line-height: 1.5;
      }
      .jd-card.next {
        border-top-color: var(--jingga);
      }
      .jd-card.next .jd-time {
        color: var(--jingga);
      }
      .jd-badge {
        display: inline-block;
        margin-top: 7px;
        font-size: 8.5px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 3px 8px;
        border-radius: 99px;
        background: var(--jingga-l);
        color: var(--jingga);
      }

      .tugas-list {
        padding: 0 var(--p);
        display: flex;
        flex-direction: column;
        gap: 8px;
      }
      .tg-item {
        display: flex;
        align-items: center;
        gap: 12px;
        background: var(--putih);
        border: 1px solid var(--garis);
        border-radius: var(--rS);
        padding: 12px 13px;
        box-shadow: var(--sh);
      }
      .tg-check {
        width: 22px;
        height: 22px;
        border-radius: 7px;
        flex-shrink: 0;
        border: 2px solid var(--ghost);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.15s;
      }
      .tg-check svg {
        opacity: 0;
        transition: opacity 0.15s;
      }
      .tg-item.done .tg-check {
        background: var(--hijau);
        border-color: var(--hijau);
      }
      .tg-item.done .tg-check svg {
        opacity: 1;
      }
      .tg-tx {
        flex: 1;
        min-width: 0;
      }
      .tg-tx b {
        display: block;
        font-size: 12.5px;
        font-weight: 700;
        color: var(--ink);
        transition: all 0.15s;
      }
      .tg-item.done .tg-tx b {
        text-decoration: line-through;
        color: var(--ghost);
      }
      .tg-tx span {
        font-size: 10px;
        color: var(--abu);
        font-weight: 600;
      }
      .tg-due {
        font-size: 8.5px;
        font-weight: 800;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        padding: 4px 9px;
        border-radius: 99px;
        flex-shrink: 0;
      }
      /* ── Entity Action Buttons ── */
      .item-actions {
        display: flex;
        gap: 6px;
        flex-shrink: 0;
        margin-left: 4px;
      }
      .act-btn {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border: none;
        transition: transform 0.12s, opacity 0.12s;
        font-size: 13px;
        line-height: 1;
        padding: 0;
      }
      .act-btn:active { transform: scale(0.9); }
      .act-edit { background: var(--biru-l); color: var(--biru); }
      .act-del  { background: var(--merah-l); color: var(--merah); }
      .rw-entry { position: relative; }
      .rw-actions {
        display: flex;
        gap: 5px;
        margin-top: 6px;
      }
      .rw-act-btn {
        font-size: 10px;
        font-weight: 700;
        padding: 3px 9px;
        border-radius: 99px;
        border: none;
        cursor: pointer;
        transition: opacity 0.12s;
      }
      .rw-act-btn:active { opacity: 0.7; }
      .rw-edit { background: var(--biru-l); color: var(--biru); }
      .rw-del  { background: var(--merah-l); color: var(--merah); }
      .bimb-item { position: relative; }
      .bi-actions {
        display: flex;
        gap: 6px;
        margin-top: 10px;
        padding-top: 8px;
        border-top: 1px solid var(--garis);
      }

      .ak-grid {
        padding: 0 var(--p);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
      }
      .ak-type {
        background: var(--putih);
        border: 1px solid var(--garis);
        border-radius: var(--r);
        padding: 14px 12px;
        box-shadow: var(--sh);
        text-align: left;
        transition: transform 0.12s;
      }
      .ak-type:active {
        transform: scale(0.98);
      }
      .ak-type .em {
        font-size: 22px;
        display: block;
        margin-bottom: 8px;
      }
      .ak-type b {
        display: block;
        font-size: 12px;
        font-weight: 800;
        color: var(--ink);
        line-height: 1.3;
        margin-bottom: 3px;
      }
      .ak-type span {
        font-size: 10px;
        color: var(--abu);
        line-height: 1.4;
      }

      .agenda-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0 var(--p);
      }
      .ag-item {
        display: flex;
        align-items: center;
        gap: 12px;
        background: var(--putih);
        border: 1px solid var(--garis);
        border-radius: var(--rS);
        padding: 11px 13px;
        box-shadow: var(--sh);
      }
      .ag-date {
        width: 44px;
        flex-shrink: 0;
        text-align: center;
        border-radius: 10px;
        padding: 6px 0;
      }
      .ag-date .d {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 17px;
        line-height: 1;
      }
      .ag-date .m {
        font-size: 8.5px;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        margin-top: 2px;
      }
      .ag-tx {
        flex: 1;
      }
      .ag-tx b {
        display: block;
        font-size: 12.5px;
        font-weight: 700;
        color: var(--ink);
      }
      .ag-tx span {
        font-size: 10.5px;
        color: var(--abu);
      }
      .ag-tag {
        font-size: 8.5px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 4px 8px;
        border-radius: 99px;
        flex-shrink: 0;
      }

      .skripsi-card {
        margin: 0 var(--p);
        border-radius: var(--r);
        background: linear-gradient(135deg, var(--ungu), #5a3f96);
        padding: 18px;
        position: relative;
        overflow: hidden;
      }
      .skripsi-card::after {
        content: "🎓";
        position: absolute;
        font-size: 56px;
        right: 8px;
        bottom: -6px;
        opacity: 0.22;
      }
      .sk-l {
        font-size: 9.5px;
        font-weight: 800;
        letter-spacing: 0.09em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 7px;
      }
      .sk-title {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 15.5px;
        line-height: 1.4;
        color: #fff;
        margin-bottom: 4px;
      }
      .sk-dosen {
        font-size: 11px;
        color: rgba(255, 255, 255, 0.65);
        margin-bottom: 14px;
      }
      .sk-prog-l {
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.55);
        margin-bottom: 7px;
      }
      .sk-babs {
        display: flex;
        gap: 5px;
      }
      .sk-bab {
        flex: 1;
        height: 26px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 9px;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.55);
      }
      .sk-bab.done {
        background: rgba(255, 255, 255, 0.92);
        color: var(--ungu);
        border-color: transparent;
      }
      .sk-bab.now {
        background: rgba(255, 255, 255, 0.25);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.6);
      }
      .sk-btn {
        margin-top: 14px;
        width: 100%;
        background: #fff;
        color: var(--ungu);
        border-radius: 12px;
        padding: 12px;
        font-size: 12.5px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
      }

      .bimb-list {
        padding: 0 var(--p);
        display: flex;
        flex-direction: column;
        gap: 9px;
      }
      .bimb-item {
        background: var(--putih);
        border: 1px solid var(--garis);
        border-radius: var(--r);
        padding: 13px 15px;
        box-shadow: var(--sh);
      }
      .bi-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 6px;
      }
      .bi-date {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--ungu);
      }
      .bi-status {
        font-size: 8.5px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        padding: 3.5px 9px;
        border-radius: 99px;
      }
      .bi-topic {
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
        margin-bottom: 4px;
      }
      .bi-note {
        font-family: "Lora", serif;
        font-style: italic;
        font-size: 12.5px;
        line-height: 1.55;
        color: var(--ink2);
      }

      /* ══════════ PROFIL ══════════ */
      .prof-hero {
        margin: 12px var(--p) 0;
        border-radius: var(--r);
        background: linear-gradient(135deg, var(--hijau), var(--hijau-d));
        padding: 20px;
        position: relative;
        overflow: hidden;
      }
      .prof-hero::after {
        content: "";
        position: absolute;
        top: -60px;
        right: -60px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.07);
      }
      .prof-row {
        display: flex;
        align-items: center;
        gap: 14px;
        position: relative;
      }
      .av {
        width: 54px;
        height: 54px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--kuning), var(--jingga));
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 21px;
        color: #fff;
        flex-shrink: 0;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
      }
      .pf-n {
        font-family: "Lora", serif;
        font-weight: 700;
        font-size: 17px;
        color: #fff;
      }
      .pf-e {
        font-size: 10.5px;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 2px;
      }
      .prof-inst {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-top: 15px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 12px;
        padding: 10px 12px;
        position: relative;
      }
      .prof-inst .li {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .prof-inst .li svg {
        width: 15px;
        height: 15px;
      }
      .prof-inst .lt {
        line-height: 1.35;
      }
      .prof-inst .lt b {
        display: block;
        font-size: 10px;
        font-weight: 800;
        color: #fff;
        letter-spacing: 0.03em;
      }
      .prof-inst .lt span {
        font-size: 9px;
        color: rgba(255, 255, 255, 0.55);
        font-weight: 600;
      }

      .pset {
        padding: 16px var(--p) 0;
      }
      .pset-t {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--abu);
        margin-bottom: 9px;
      }
      .pset-l {
        background: var(--putih);
        border: 1px solid var(--garis);
        border-radius: var(--r);
        overflow: hidden;
        box-shadow: var(--sh);
      }
      .pi {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 13px 15px;
        border-bottom: 1px solid var(--garis);
      }
      .pi:last-child {
        border-bottom: none;
      }
      .pi-ic {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
      }
      .pi-t {
        flex: 1;
      }
      .pi-t strong {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--ink);
      }
      .pi-t span {
        font-size: 11px;
        color: var(--abu);
      }
      .pi-c {
        color: var(--ghost);
      }
      .tog {
        width: 42px;
        height: 24px;
        border-radius: 99px;
        background: var(--hijau);
        position: relative;
        cursor: pointer;
        flex-shrink: 0;
        transition: background 0.15s;
      }
      .tog::after {
        content: "";
        position: absolute;
        top: 3px;
        left: 21px;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #fff;
        transition: left 0.15s;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
      }
      .tog.off {
        background: var(--garis);
      }
      .tog.off::after {
        left: 3px;
      }

      .bk-card {
        margin: 14px var(--p) 0;
        background: var(--biru-l);
        border: 1.5px solid rgba(46, 124, 214, 0.2);
        border-radius: var(--r);
        padding: 15px 16px;
        display: flex;
        gap: 11px;
      }
      .bk-card .ic {
        font-size: 18px;
        flex-shrink: 0;
      }
      .bk-card p {
        font-size: 12px;
        line-height: 1.65;
        color: var(--ink2);
      }
      .bk-card strong {
        color: var(--biru);
      }
      .bk-card button {
        margin-top: 8px;
        background: var(--biru);
        color: #fff;
        border-radius: 99px;
        padding: 7px 16px;
        font-size: 11.5px;
        font-weight: 800;
      }

      .priv {
        margin: 12px var(--p) 0;
        background: var(--hijau-l);
        border: 1px solid rgba(30, 125, 95, 0.15);
        border-radius: var(--rS);
        padding: 13px 14px;
        display: flex;
        gap: 10px;
      }
      .priv .ic {
        font-size: 15px;
        flex-shrink: 0;
        margin-top: 1px;
      }
      .priv p {
        font-size: 11.5px;
        line-height: 1.65;
        color: var(--ink2);
      }
      .priv strong {
        color: var(--hijau);
      }
      .out {
        text-align: center;
        padding: 18px 0 8px;
        font-size: 12px;
        font-weight: 800;
        color: var(--merah);
        opacity: 0.85;
        cursor: pointer;
      }