    :root {
      color-scheme: light;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: #f3f4f6;
      color: #111827;
    }

    * {
      box-sizing: border-box;
    }

    html:not(.auth-navigation-ready) [data-admin-only="true"] {
      display: none !important;
    }

    body {
      margin: 0;
      min-height: 100vh;
      background: #ffffff;
      padding-left: calc(100vw / 6);
      position: relative;
    }

    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: calc(100vw / 6);
      height: 100vh;
      background: #057589;
      z-index: 0;
    }

    .app-sidebar-logo-wrap {
      position: fixed;
      top: 4px;
      left: 12px;
      width: calc((100vw / 6) - 32px);
      max-width: 150px;
      transform: scale(0.9504);
      transform-origin: left top;
      overflow: visible;
      z-index: 2;
      pointer-events: none;
    }

    .app-sidebar-logo {
      width: 100%;
      height: auto;
      object-fit: contain;
      display: block;
    }

    .flatpickr-calendar .flatpickr-months .flatpickr-month {
      height: 34px;
    }

    .flatpickr-calendar .flatpickr-months {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      padding: 0 8px;
    }

    .flatpickr-calendar .flatpickr-months .flatpickr-month {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: auto;
      flex: 1 1 auto;
      min-width: 0;
      position: relative;
      overflow: visible;
    }

    .flatpickr-calendar .flatpickr-months .flatpickr-prev-month,
    .flatpickr-calendar .flatpickr-months .flatpickr-next-month {
        position: static;
        width: 28px;
        height: 28px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        flex-shrink: 0;
      }

      .flatpickr-calendar .flatpickr-months .flatpickr-prev-month {
        order: 1;
      }

      .flatpickr-calendar .flatpickr-months .flatpickr-next-month {
        order: 3;
      }

      .flatpickr-calendar .flatpickr-months .flatpickr-month svg {
        display: none;
      }

      .flatpickr-calendar .flatpickr-current-month {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding-top: 0;
        width: auto;
        flex: 0 1 auto;
        position: static;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        margin: 0 auto;
        white-space: nowrap;
      }

      .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
        order: 1;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-color: transparent;
        border: 0;
        padding-right: 18px;
        margin: 0;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23057589' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right center;
        background-size: 14px 14px;
        color: #0f172a;
        font-size: 0.88rem;
        font-weight: 600;
        text-align: center;
      }

      .flatpickr-calendar .flatpickr-current-month .numInputWrapper {
        order: 2;
        width: auto;
      }

      .flatpickr-calendar .flatpickr-current-month .numInputWrapper span {
        display: none;
      }

      .flatpickr-calendar .flatpickr-current-month .cur-year {
        order: 2;
        width: 4.1em;
        padding: 0 2px;
        color: #0f172a;
        font-size: 0.88rem;
        font-weight: 600;
      }

      .flatpickr-calendar .flatpickr-current-month {
        font-size: 0.88rem;
        padding-top: 0;
      }

      .flatpickr-calendar .flatpickr-weekday {
        font-size: 0.66rem;
        color: #0b7285;
      }

      .flatpickr-calendar .flatpickr-day {
        width: 28px;
        height: 28px;
        line-height: 28px;
        max-width: 28px;
        font-size: 0.77rem;
        border-radius: 7px;
      }

    .app-sidebar-link {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      padding: 10px 14px;
      border-radius: 999px;
      text-decoration: none;
      color: #d4f2f7;
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: 0.1px;
      transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    }

    .app-sidebar-link:hover {
      background: rgba(212, 242, 247, 0.42);
      color: #f3fdff;
      transform: translateX(1px);
    }

    .app-sidebar-link .nav-icon {
      width: 21px;
      height: 21px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    .app-sidebar-link .home-icon {
      width: 26px;
      height: 26px;
      stroke-width: 2.4;
    }

    .app-sidebar-link .nav-label {
      white-space: nowrap;
      line-height: 1;
    }

    .flatpickr-calendar {
      box-sizing: border-box;
      overflow: hidden;
    }

    .flatpickr-calendar .flatpickr-months .flatpickr-month {
      height: 42px;
    }

    .flatpickr-calendar .flatpickr-months {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 4px 10px 0;
      box-sizing: border-box;
      overflow: hidden;
    }

    .flatpickr-calendar .flatpickr-months .flatpickr-month {
      display: block;
      height: 42px;
      width: 100%;
      position: relative;
      overflow: hidden;
      box-sizing: border-box;
    }

    .flatpickr-calendar .flatpickr-months .flatpickr-prev-month,
    .flatpickr-calendar .flatpickr-months .flatpickr-next-month,
    .flatpickr-calendar .flatpickr-current-month .numInputWrapper span {
      position: static;
      width: 20px;
      height: 20px;
      padding: 0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      flex-shrink: 0;
      margin: 0;
      color: #374151;
      background: transparent;
      border: 0;
      opacity: 1;
      box-sizing: border-box;
    }

    .flatpickr-calendar .calendar-nav-group {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      min-width: 0;
    }

    .flatpickr-calendar .calendar-nav-group--month {
      justify-content: flex-start;
      flex: 1 1 auto;
    }

    .flatpickr-calendar .calendar-nav-group--year {
      justify-content: flex-end;
      flex: 0 0 auto;
      margin-left: auto;
    }

    .flatpickr-calendar .flatpickr-months .flatpickr-month svg {
      display: none;
    }

    .flatpickr-calendar .flatpickr-current-month {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 0 2px 0 0;
      width: 100%;
      position: static;
      left: auto;
      right: auto;
      top: auto;
      transform: none;
      margin: 0;
      white-space: nowrap;
      font-size: 0.95rem;
      box-sizing: border-box;
    }

    .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months {
      appearance: none;
      -webkit-appearance: none;
      -moz-appearance: none;
      background-color: transparent;
      border: 0;
      margin: 0;
      color: #0f172a;
      font-size: 0.95rem;
      font-weight: 500;
      text-align: center;
      padding: 0;
    }

    .flatpickr-calendar .flatpickr-current-month .numInputWrapper {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      width: auto;
      min-width: 72px;
      justify-content: center;
      overflow: hidden;
    }

    .flatpickr-calendar .flatpickr-current-month .numInputWrapper .arrowUp {
      order: 3;
      transform: rotate(90deg);
    }

    .flatpickr-calendar .flatpickr-current-month .cur-year {
      order: 2;
      width: 3.2em;
      padding: 0;
      color: #0f172a;
      font-size: 0.95rem;
      font-weight: 500;
      text-align: center;
      background: transparent;
    }

    .flatpickr-calendar .flatpickr-current-month .numInputWrapper .arrowDown {
      order: 1;
      transform: rotate(90deg);
    }

    .flatpickr-calendar .flatpickr-current-month .numInputWrapper span:after {
      border-width: 4px;
    }

    .flatpickr-calendar .flatpickr-weekday {
      font-size: 0.75rem;
      color: #0b7285;
      background: #ffffff;
      border: 1px solid rgba(5, 117, 137, 0.12);
      border-radius: 14px;
      width: 34px;
      height: 34px;
      line-height: 34px;
      max-width: 34px;
      font-size: 0.84rem;
      overflow-x: auto;
    }

    .scoreboard-layout {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .scoreboard-summary {
      background: #f8fcfd;
      border: 1px solid #dbeafe;
      border-radius: 14px;
      padding: 14px 16px;
    }

    .scoreboard-title {
      margin: 0;
      font-size: 1.04rem;
      font-weight: 800;
      color: #0f172a;
    }

    .scoreboard-subtitle {
      margin: 6px 0 0;
      font-size: 0.88rem;
      color: #475569;
    }

    .scoreboard-table-card {
      border: 1px solid #e2e8f0;
      border-radius: 14px;
      background: #ffffff;
      overflow: hidden;
    }

    .scoreboard-table-wrap {
      width: 100%;
      overflow-x: hidden;
    }

    .scoreboard-table {
      width: 100%;
      border-collapse: collapse;
      min-width: 0;
      table-layout: fixed;
    }

    .scoreboard-table th,
    .scoreboard-table td {
      padding: 7px 6px;
      text-align: center;
      border-bottom: 1px solid #e2e8f0;
      font-size: 0.78rem;
      overflow: hidden;
      text-overflow: ellipsis;
      vertical-align: middle;
    }

    .scoreboard-table th {
      font-size: 0.67rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: #475569;
      background: #f8fcfd;
    }

    .culture-gallery-panel {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
      padding: 0;
      margin: 0;
    }

    .culture-slider-shell {
      position: relative;
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      min-height: 520px;
      height: clamp(420px, 58vh, 620px);
      background: #f8fafc;
      border: 1px solid #dbeafe;
      border-radius: 18px;
      padding: 14px;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
      box-sizing: border-box;
    }

    .culture-slider-viewport {
      position: relative;
      flex: 1;
      height: 100%;
      min-height: 100%;
      overflow: hidden;
      border-radius: 14px;
      background: #ffffff;
    }

    .culture-slider-track {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.35s ease;
    }

    .culture-slide {
      min-width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #f8fafc, #eef7ff);
      overflow: hidden;
      position: relative;
      cursor: zoom-in;
      user-select: none;
    }

    .culture-slide img {
      width: 100%;
      height: 100%;
      max-height: 100%;
      max-width: 100%;
      object-fit: contain;
      display: block;
      border-radius: 12px;
      background: #ffffff;
      padding: 0;
      transition: transform 0.25s ease;
    }

    .culture-slide.is-magnified img {
      transform: scale(1.12);
    }

    .culture-magnifier {
      position: absolute;
      width: 150px;
      height: 150px;
      border-radius: 14px;
      border: 2px solid rgba(5, 117, 137, 0.9);
      background-repeat: no-repeat;
      background-color: rgba(255, 255, 255, 0.96);
      box-shadow: 0 12px 24px rgba(15, 23, 42, 0.24);
      pointer-events: none;
      display: none;
      z-index: 3;
      overflow: hidden;
    }

    .culture-slide.is-hovering .culture-magnifier,
    .culture-slide.is-magnified .culture-magnifier {
      display: block;
    }

    .culture-slide.is-magnified {
      cursor: zoom-out;
    }

    .culture-slider-btn {
      width: 42px;
      height: 42px;
      border: 1px solid rgba(5, 117, 137, 0.18);
      background: rgba(255, 255, 255, 0.95);
      border-radius: 50%;
      color: #0f172a;
      font-size: 1.6rem;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
      transition: transform 0.2s ease, background 0.2s ease;
      flex-shrink: 0;
    }

    .culture-slider-btn:hover {
      background: #f0fdfd;
      transform: translateY(-1px);
    }

    .culture-slider-btn:focus-visible {
      outline: 2px solid #057589;
      outline-offset: 2px;
    }

    .culture-slider-dots {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      min-height: 18px;
    }

    .culture-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #cbd5e1;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
      padding: 0;
    }

    .culture-dot.active {
      width: 28px;
      border-radius: 999px;
      background: #057589;
    }

    #panelKlasmenCoC .scoreboard-layout {
      gap: 12px;
    }

    #panelKlasmenCoC .scoreboard-summary {
      display: flex;
      align-items: flex-start;
      background: #f7fbfd;
      border: 1px solid #dfeaf1;
      border-bottom: none;
      padding: 12px 18px;
      border-radius: 14px 14px 0 0;
      box-shadow: none;
    }

    .coc-header-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      gap: 18px;
    }

    .coc-title-wrap {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
      font-weight: 800;
      flex: 1 1 auto;
    }

    .coc-title-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 30px;
      height: 30px;
      border-radius: 10px;
      background: linear-gradient(135deg, #dfeff3, #d6edf7);
      font-size: 1rem;
      box-shadow: inset 0 0 0 1px rgba(11, 114, 133, 0.1);
      margin-top: 0;
      flex-shrink: 0;
    }

    .coc-title-text {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex: 1 1 auto;
      min-width: 0;
    }

    .coc-title-text h2 {
      margin: 0;
      line-height: 1.2;
      word-break: break-word;
    }

    .coc-period-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #0f9cbc, #0d7c91);
      color: #ffffff;
      border-radius: 12px;
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      padding: 10px 18px;
      text-transform: uppercase;
      white-space: nowrap;
      box-shadow: inset 0 -1px 0 rgba(0,0,0,0.08);
      margin-left: auto;
      flex-shrink: 0;
    }

    #panelKlasmenCoC .scoreboard-table-card {
      overflow: hidden;
      border-radius: 0 0 14px 14px;
      border: 1px solid #dfeaf1;
      border-top: none;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    }

    #panelKlasmenCoC .scoreboard-table-wrap {
      overflow: hidden;
      max-height: none;
      height: auto;
    }

    #panelKlasmenCoC .scoreboard-table {
      table-layout: auto;
      width: 100%;
      min-width: 0;
    }

    #panelKlasmenCoC .scoreboard-table thead th {
      background: linear-gradient(180deg, #0a8aa0, #057589);
      color: #ffffff !important;
      font-weight: 800;
      border-color: rgba(255, 255, 255, 0.14);
      padding-top: 7px;
      padding-bottom: 7px;
    }

    #panelKlasmenCoC .scoreboard-table thead th:first-child {
      border-top-left-radius: 10px;
    }

    #panelKlasmenCoC .scoreboard-table thead th:last-child {
      border-top-right-radius: 10px;
    }

    #panelScoreboard .scoreboard-summary {
      display: none;
    }

    #panelScoreboard .scoreboard-layout {
      gap: 0;
      height: 100%;
      min-height: 0;
    }

    #panelScoreboard .scoreboard-table-wrap {
      max-height: calc(100vh - 92px);
      overflow-y: auto;
    }

    #panelScoreboard .scoreboard-table-card {
      overflow: hidden;
      border-radius: 14px;
      border: 1px solid #dfeaf1;
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    }

    #panelScoreboard .scoreboard-table {
      border-collapse: collapse;
      border-spacing: 0;
      table-layout: fixed;
      width: 100%;
    }

    #panelScoreboard .scoreboard-table thead th {
      background: rgba(5, 117, 137, 0.88);
      color: #ffffff !important;
      font-weight: 800;
      border-color: rgba(255, 255, 255, 0.14);
      border-right: 1px solid rgba(255, 255, 255, 0.18);
      border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    }

    #panelScoreboard .scoreboard-table thead tr:first-child th:first-child {
      border-top-left-radius: 10px;
    }

    #panelScoreboard .scoreboard-table thead tr:first-child th:last-child {
      border-top-right-radius: 10px;
    }

    #panelScoreboard .scoreboard-table thead tr:last-child th {
      background: rgba(5, 117, 137, 0.62);
      border-top-color: rgba(5, 117, 137, 0.62);
    }

    #panelScoreboard .scoreboard-table thead tr:first-child th {
      border-bottom-color: rgba(5, 117, 137, 0.62);
    }

    #panelScoreboard .scoreboard-table thead tr:first-child th,
    #panelScoreboard .scoreboard-table thead tr:last-child th,
    #panelScoreboard .scoreboard-table th {
      color: #ffffff !important;
    }

    #panelScoreboard .scoreboard-table tbody td {
      color: #0f172a;
      font-weight: 600;
      background: #ffffff;
      padding-top: 5px;
      padding-bottom: 5px;
      font-size: 0.72rem;
      border: 1px solid #dfeaf1;
      border-top: none;
      border-left: none;
    }

    #panelScoreboard .scoreboard-table tbody tr:nth-child(even) td {
      background: #f9fdfd;
    }

    #panelScoreboard .scoreboard-table tbody td:first-child,
    #panelScoreboard .scoreboard-table thead th:first-child {
      border-left: 1px solid #dfeaf1;
    }

    #panelKlasmenCoC .scoreboard-table thead tr:first-child th,
    #panelKlasmenCoC .scoreboard-table thead tr:last-child th,
    #panelKlasmenCoC .scoreboard-table th {
      color: #ffffff !important;
    }

    #panelKlasmenCoC .scoreboard-table tbody td {
      font-size: 0.72rem;
      color: #0f172a;
      font-weight: 600;
      background: #ffffff;
      padding-top: 6px;
      padding-bottom: 6px;
      line-height: 1.2;
    }

    #panelKlasmenCoC .scoreboard-table tbody tr:nth-child(even) td {
      background: #f9fdfd;
    }

    #panelKlasmenCoC .scoreboard-table .col-unit {
      width: 18%;
      text-align: left;
      padding-left: 14px;
      font-weight: 800;
      color: #0f172a;
    }

    .coc-rank-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      font-size: 0.74rem;
      font-weight: 800;
      line-height: 1;
      background: #e2f1f5;
      color: #0b7285;
      box-shadow: inset 0 0 0 1px rgba(11, 114, 133, 0.12);
    }

    .coc-rank-badge.gold {
      background: linear-gradient(135deg, #f9d663, #f0b429);
      color: #6b3b00;
    }

    .coc-rank-badge.silver {
      background: linear-gradient(135deg, #e2e8f0, #bfc9d8);
      color: #334155;
    }

    .coc-rank-badge.bronze {
      background: linear-gradient(135deg, #f5c59d, #d9822d);
      color: #5a2b00;
    }

    .coc-progress-cell {
      min-width: 180px;
      padding-right: 12px;
    }

    .coc-progress-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 100%;
      min-width: 160px;
    }

    .coc-progress-bar {
      position: relative;
      flex: 1 1 auto;
      height: 8px;
      border-radius: 999px;
      background: #dfeef2;
      overflow: hidden;
      min-width: 80px;
    }

    .coc-progress-bar span {
      position: absolute;
      inset: 0 auto 0 0;
      display: block;
      width: 0;
      border-radius: inherit;
      background: linear-gradient(90deg, #12b7cc, #0d7c91);
    }

    .coc-progress-value {
      min-width: 42px;
      text-align: right;
      font-weight: 800;
      color: #0f172a;
    }

    .coc-rank-label {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 800;
      color: #0f172a;
    }

    .scoreboard-table tbody td {
      font-size: 0.7rem;
    }

    .scoreboard-table thead tr:last-child th {
      font-size: 0.58rem;
      line-height: 1;
      letter-spacing: 0;
    }

    .scoreboard-table th.score-implementasi-header {
      font-size: 0.62rem;
      line-height: 1;
      letter-spacing: 0;
      white-space: normal;
      word-break: break-word;
    }

    .scoreboard-table th.score-kom-budaya-header {
      font-size: 0.62rem;
      line-height: 1;
      letter-spacing: 0;
      white-space: normal;
      word-break: break-word;
    }

    .scoreboard-table th.ranking-header {
      font-size: 0.58rem;
      line-height: 1;
      letter-spacing: 0;
      white-space: normal;
      word-break: break-word;
    }

    .scoreboard-table thead tr:first-child th {
      background: #eef8fc;
    }

    .scoreboard-table tbody tr:nth-child(even) td {
      background: #fcfdff;
    }

    .scoreboard-table tr:last-child td {
      border-bottom: none;
    }

    .scoreboard-table .col-unit {
      text-align: left;
      font-weight: 700;
      color: #0f172a;
      white-space: nowrap;
      width: 14%;
    }

    .coc-semester-controls {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 12px;
      margin: 8px 0 0 auto;
      flex-wrap: wrap;
      padding: 0;
    }

    .coc-semester-control {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8rem;
      font-weight: 700;
      color: #334155;
      white-space: nowrap;
    }

    .coc-semester-control span {
      white-space: nowrap;
    }

    .coc-semester-control select {
      min-width: 150px;
      height: 34px;
      border: 1px solid #cbd5e1;
      border-radius: 10px;
      background: #ffffff;
      color: #0f172a;
      padding: 0 10px;
      font-size: 0.82rem;
      font-weight: 600;
      outline: none;
      box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
    }

    .coc-semester-control select:focus {
      border-color: #0d7c91;
      box-shadow: 0 0 0 2px rgba(13, 124, 145, 0.12);
    }

    .scoreboard-table th:first-child,
    .scoreboard-table td:first-child {
      width: 6%;
    }

    .scoreboard-table th:last-child,
    .scoreboard-table td:last-child {
      width: 7%;
    }

    .search-card {
      background: transparent;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
      margin-bottom: 12px;
      display: inline-flex;
      align-items: center;
      width: auto;
      position: relative;
    }

    .content {
      display: flex;
      gap: 24px;
      align-items: flex-start;
      position: relative;
      min-height: 0;
      height: 100%;
    }

    .content::before {
      content: "";
      position: absolute;
      top: 16px;
      bottom: 16px;
      left: 37%;
      width: 2px;
      background: #d1d5db;
      pointer-events: none;
    }

    .main-col {
      flex: 0 0 60%;
      min-width: 0;
      order: 2;
      position: relative;
      padding-left: 20px;
      display: flex;
      flex-direction: column;
      align-self: stretch;
      min-height: 0;
    }

    .main-col::before {
      content: none;
    }

    .side-col {
      flex: 0 0 28%;
      order: 1;
      margin-left: auto;
      margin-right: auto;
      height: 100%;
      min-height: 0;
    }

    .gauge {
      width: 100%;
      height: auto;
      max-width: none;
      padding: 0 8px 2px;
      margin: 0 auto;
      border-radius: 14px;
      background: linear-gradient(180deg, #f8fcfd, #f1f8fa);
      border: 1px solid rgba(5, 117, 137, 0.1);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
    }

    .gauge-scale {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      font-size: 0.62rem;
      font-weight: 800;
      color: #0f172a;
      line-height: 1;
    }

    .gauge-tag {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 2px 6px;
      border-radius: 999px;
      background: rgba(5, 117, 137, 0.08);
      border: 1px solid rgba(5, 117, 137, 0.12);
      white-space: nowrap;
    }

    .gauge-tag .tag-icon {
      width: 14px;
      height: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      line-height: 0;
      font-size: 0;
    }

    .gauge-tag .tag-icon svg {
      width: 14px;
      height: 14px;
      display: block;
      overflow: visible;
    }

    .gauge svg { display:block; width:100%; height:auto; aspect-ratio: 2.35 / 1; max-height: 134px; margin: 0 auto; overflow: visible; }

    .dashboard .gauge {
      padding: 0 6px 4px;
    }

    .dashboard .gauge svg {
      max-height: 112px;
    }

    .gauge .needle { transform-origin: 0px 0px; transition: transform 0.6s cubic-bezier(.2,.9,.2,1); }
    .gauge .gauge-bg { stroke: #d8e3e8; stroke-width: 6.5; }
    .gauge .gauge-arc { stroke-width: 6.5; filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.2)); }
    .gauge .needle { fill: #0f172a; }

    .dash-card { text-align: center; }

    /* Dashboard: completion by category */
    .dashboard {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 0;
      align-items: stretch;
      margin-top: 0;
      height: 100%;
    }

    .dash-card {
      background: linear-gradient(180deg, #ffffff 0%, #fbfeff 100%);
      border-radius: 16px;
      padding: 6px 9px 5px;
      box-shadow: 0 14px 24px rgba(15, 23, 42, 0.07);
      border: 1px solid rgba(5, 117, 137, 0.12);
      flex: 1 1 0;
      width: 88%;
      max-width: 310px;
      min-width: 0;
      min-height: 0;
      display: flex;
      flex-direction: column;
      gap: 2px;
      overflow: visible;
      margin: 0 auto;
    }

    .dash-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
    }

    .dash-category {
      font-size: 0.75rem;
      color: #334155;
      font-weight: 800;
      letter-spacing: 0.03em;
    }

    .dash-percent {
      font-size: 1.02rem;
      font-weight: 900;
      color: #0b7285;
    }

    .dash-progress {
      background: #eef2ff;
      height: 8px;
      border-radius: 999px;
      overflow: hidden;
    }

    .dash-progress > .dash-fill {
      height: 100%;
      background: linear-gradient(90deg,#2563eb,#60a5fa);
      width: 0%;
      transition: width 0.5s ease;
    }

    .dash-subtext {
      font-size: 0.72rem;
      color: #64748b;
      font-weight: 600;
      margin: 1px 0 0;
      text-align: center;
      line-height: 1.15;
    }

    /* LOCKED: speedometer must stay fully visible even when other styles change. */
    #dashboard {
      height: auto !important;
      gap: 8px !important;
    }

    #dashboard .dash-card {
      flex: 0 0 auto !important;
      min-height: 138px !important;
      overflow: visible !important;
    }

    #dashboard .gauge {
      min-height: 84px !important;
      padding: 1px 5px 4px !important;
      overflow: hidden !important;
    }

    #dashboard .gauge svg {
      width: 100% !important;
      max-height: 78px !important;
      min-height: 70px !important;
      overflow: visible !important;
      display: block !important;
    }

    #dashboard .gauge-scale {
      margin-top: 2px !important;
    }

    .top-tabs {
      display: flex;
      gap: 12px;
      border-bottom: 2px solid #e5e7eb;
      padding: 0 0 12px 0;
      margin: 0 0 16px 0;
      list-style: none;
    }

    .top-tab {
      padding: 8px 12px;
      border: none;
      background: transparent;
      color: #6b7280;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: color 0.2s ease, border-color 0.2s ease;
      border-bottom: 2px solid transparent;
      margin-bottom: -14px;
    }

    .top-tab:hover {
      color: #111827;
    }

    .top-tab.active {
      color: #057589;
      border-bottom-color: #057589;
    }

    .page {
      background: #ffffff;
      padding: 24px 32px;
      position: relative;
      z-index: 1;
    }

    .tab-panel {
      display: block;
    }

    .tab-panel[hidden] {
      display: none;
    }

    .tab-panel#panelMisiRanger:not([hidden]) {
      display: flex;
      flex-direction: column;
    }

    .app-sidebar-nav {
      position: fixed;
      left: 12px;
      top: 112px;
      width: calc((100vw / 6) - 24px);
      max-width: 230px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      z-index: 2;
    }

    .sidebar-user-info {
      position: fixed;
      left: 12px;
      bottom: 14px;
      width: calc((100vw / 6) - 24px);
      max-width: 230px;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 14px;
      border-radius: 999px;
      background: rgba(212, 242, 247, 0.2);
      border: 1px solid rgba(212, 242, 247, 0.4);
      backdrop-filter: blur(2px);
      z-index: 2;
    }

    .sidebar-user-text {
      min-width: 0;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .sidebar-user-info .user-name {
      color: #f3fdff;
      font-weight: 700;
      font-size: 14px;
      line-height: 1.2;
    }

    .sidebar-user-info .user-handle,
    .sidebar-user-info .user-role {
      color: #d1ecf2;
      font-size: 12px;
      line-height: 1.2;
    }

    .profile-more-btn {
      width: 30px;
      height: 30px;
      border: 0;
      border-radius: 999px;
      background: transparent;
      color: #d4f2f7;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background-color 0.18s ease, color 0.18s ease;
      flex-shrink: 0;
    }

    .profile-more-btn:hover {
      background: rgba(212, 242, 247, 0.28);
      color: #f3fdff;
    }

    .profile-more-btn:focus-visible {
      outline: 2px solid #d4f2f7;
      outline-offset: 2px;
    }

    .profile-menu-popup {
      position: absolute;
      right: 6px;
      bottom: calc(100% + 8px);
      min-width: 170px;
      background: #0a6b7e;
      border: 1px solid rgba(212, 242, 247, 0.35);
      border-radius: 12px;
      box-shadow: 0 12px 28px rgba(4, 43, 52, 0.35);
      padding: 6px;
      display: none;
      z-index: 4;
    }

    .profile-menu-popup.show {
      display: block;
    }

    .profile-menu-item {
      width: 100%;
      border: 0;
      background: transparent;
      color: #d4f2f7;
      text-decoration: none;
      font-size: 0.93rem;
      font-weight: 600;
      border-radius: 8px;
      padding: 9px 10px;
      display: flex;
      align-items: center;
      gap: 8px;
      text-align: left;
      cursor: pointer;
    }

    .profile-menu-item .item-icon {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    .profile-menu-item:hover {
      background: rgba(212, 242, 247, 0.28);
      color: #f3fdff;
    }

    @media (min-width: 521px) {
      body {
        height: 100vh;
        overflow: hidden;
      }

      .page {
        height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        background: #ffffff;
        padding: 24px 32px;
      }

      #panelMisiRanger:not([hidden]) {
        display: flex;
        flex-direction: column;
      }

      .tab-panel {
        flex: 1 1 auto;
      }

      .content {
        flex: 1 1 auto;
      }
    }

    .filter-btn {
      border: none;
      border-radius: 999px;
      background: linear-gradient(180deg, #0a8aa0, #057589);
      color: #f8fdff;
      font-size: 0.88rem;
      font-weight: 700;
      padding: 7px 13px 7px 10px;
      letter-spacing: 0.01em;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      box-shadow: none;
      transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    }

    .filter-btn:hover {
      background: linear-gradient(180deg, #087e92, #046577);
      transform: translateY(-1px);
      box-shadow: none;
    }

    .filter-btn:focus-visible {
      outline: none;
      box-shadow: 0 0 0 3px rgba(89, 195, 212, 0.25);
    }

    .filter-btn[aria-expanded="true"] {
      background: linear-gradient(180deg, #087e92, #035e6e);
    }

    .filter-btn-icon {
      width: 16px;
      height: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .filter-btn-icon svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      stroke-width: 2;
      fill: none;
    }

    .filter-btn-label {
      line-height: 1;
    }

    .filter-btn-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #34d399;
      box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
      transform: scale(0.6);
      opacity: 0;
      transition: opacity 0.18s ease, transform 0.18s ease;
    }

    .filter-btn.has-active .filter-btn-dot {
      opacity: 1;
      transform: scale(1);
    }

    .filter-popup {
      position: absolute;
      top: calc(100% + 8px);
      left: 0;
      width: 250px;
      background: #ffffff;
      border: 1px solid rgba(15, 23, 42, 0.1);
      border-radius: 12px;
      box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
      padding: 10px;
      display: none;
      z-index: 40;
    }

    .filter-popup.show {
      display: block;
    }

    .filter-field {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 8px;
    }

    .filter-field label {
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: #475569;
      font-weight: 700;
    }

    .filter-field select,
    .filter-field input[type="text"] {
      border: 1px solid #cbd5e1;
      border-radius: 9px;
      padding: 7px 8px;
      font-size: 0.85rem;
      color: #0f172a;
      background: #f8fafc;
      outline: none;
    }

    .filter-field select:focus,
    .filter-field input[type="text"]:focus {
      border-color: #0d7c91;
      box-shadow: 0 0 0 2px rgba(13, 124, 145, 0.18);
    }

    .filter-deadline-range {
      width: 100%;
    }

    .flatpickr-calendar{z-index:100 !important;font-size:.88rem;border-radius:10px;width:258px;min-width:258px;border:1px solid rgba(5,117,137,.18);box-shadow:0 10px 20px rgba(15,23,42,.14);box-sizing:border-box;overflow:hidden}
    .flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{display:none}
    .flatpickr-calendar .flatpickr-months{display:flex;align-items:center;justify-content:center;padding:4px 10px 0;box-sizing:border-box;overflow:hidden}
    .flatpickr-calendar .flatpickr-months .flatpickr-month{display:block;height:42px;width:100%;position:relative;overflow:hidden;box-sizing:border-box}
    .flatpickr-calendar .flatpickr-months .flatpickr-month svg{display:none}
    .flatpickr-calendar .flatpickr-current-month{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px 0 0;width:100%;position:static;left:auto;right:auto;top:auto;transform:none;margin:0;white-space:nowrap;font-size:.95rem;box-sizing:border-box}
    .flatpickr-calendar .calendar-nav-group{display:inline-flex;align-items:center;gap:4px;min-width:0}
    .flatpickr-calendar .calendar-nav-group--month{justify-content:flex-start;flex:1 1 auto}
    .flatpickr-calendar .calendar-nav-group--year{justify-content:flex-end;flex:0 0 auto;margin-left:auto}
    .flatpickr-calendar .flatpickr-months .flatpickr-prev-month,.flatpickr-calendar .flatpickr-months .flatpickr-next-month,.flatpickr-calendar .flatpickr-current-month .numInputWrapper span{position:static;width:20px;height:20px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;flex-shrink:0;margin:0;color:#374151;background:transparent;border:0;opacity:1;box-sizing:border-box}
    .flatpickr-calendar .flatpickr-current-month .flatpickr-monthDropdown-months{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:transparent;border:0;margin:0;color:#0f172a;font-size:.95rem;font-weight:500;text-align:center;padding:0}
    .flatpickr-calendar .flatpickr-current-month .numInputWrapper{display:inline-flex;align-items:center;gap:4px;width:auto;min-width:72px;justify-content:center;overflow:hidden}
    .flatpickr-calendar .flatpickr-current-month .numInputWrapper .arrowUp{order:3;transform:rotate(90deg)}
    .flatpickr-calendar .flatpickr-current-month .numInputWrapper .cur-year{order:2}
    .flatpickr-calendar .flatpickr-current-month .numInputWrapper .arrowDown{order:1;transform:rotate(90deg)}
    .flatpickr-calendar .flatpickr-current-month .numInputWrapper span:after{border-width:4px}
    .flatpickr-calendar .flatpickr-current-month .cur-year{width:3.2em;padding:0;color:#0f172a;font-size:.95rem;font-weight:500;text-align:center;background:transparent}
    .flatpickr-calendar .flatpickr-weekday{font-size:.75rem}
    .flatpickr-calendar .flatpickr-day{width:34px;height:34px;line-height:34px;max-width:34px;font-size:.84rem}
    .flatpickr-calendar .flatpickr-rContainer,.flatpickr-calendar .dayContainer{width:236px;min-width:236px;max-width:236px}
    .flatpickr-calendar .flatpickr-day.selected,
    .flatpickr-calendar .flatpickr-day.startRange,
    .flatpickr-calendar .flatpickr-day.endRange,
    .flatpickr-calendar .flatpickr-day.selected:hover,
    .flatpickr-calendar .flatpickr-day.startRange:hover,
    .flatpickr-calendar .flatpickr-day.endRange:hover{background:#057589;border-color:#057589;color:#f8fdff}
    .flatpickr-calendar .flatpickr-day.inRange{background:rgba(5,117,137,.16);border-color:rgba(5,117,137,.06);color:#0f172a;box-shadow:none}
    .flatpickr-calendar .flatpickr-day.today{border-color:#0a8aa0;color:#046577}
    .flatpickr-calendar .flatpickr-day:hover{background:rgba(5,117,137,.12);border-color:rgba(5,117,137,.2)}

    .filter-actions {
      display: flex;
      gap: 6px;
      margin-top: 4px;
    }

    .filter-apply,
    .filter-reset {
      border: none;
      border-radius: 8px;
      padding: 8px 10px;
      font-size: 0.82rem;
      font-weight: 700;
      cursor: pointer;
    }

    .filter-apply {
      background: #057589;
      color: #f3fdff;
      flex: 1;
    }

    .filter-reset {
      background: #e2e8f0;
      color: #334155;
    }

    .activity-table-wrap {
      width: 100%;
      border-radius: 14px;
      border: 1px solid #dbe4ea;
      overflow: hidden;
      background: #ffffff;
      box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
      flex: 1 1 auto;
      min-height: 0;
    }

    .activity-table {
      width: 100%;
      border-collapse: collapse;
      table-layout: fixed;
    }

    .activity-table .col-misi {
      width: 40%;
    }

    .activity-table .col-kategori {
      width: 22%;
    }

    .activity-table .col-status {
      width: 20%;
    }

    .activity-table .col-deadline {
      width: 18%;
    }

    .activity-table th,
    .activity-table td {
      padding: 9px 12px;
      border-right: 1px solid #dbe4ea;
      box-sizing: border-box;
      overflow: hidden;
    }

    .activity-table th:last-child,
    .activity-table td:last-child {
      border-right: none;
    }

    .activity-table thead th {
      background: linear-gradient(180deg, #0b8fa1 0%, #057589 100%);
      color: #f4fbff;
      text-transform: uppercase;
      font-size: clamp(0.6rem, 0.54rem + 0.28vw, 0.72rem);
      letter-spacing: 0.03em;
      font-weight: 800;
      text-align: center;
      line-height: 1.1;
    }

    .activity-table tbody td {
      border-top: 1px solid #e6edf2;
      color: #0f172a;
      font-size: clamp(0.72rem, 0.66rem + 0.26vw, 0.84rem);
      vertical-align: middle;
      overflow-wrap: anywhere;
      word-break: break-word;
      line-height: 1.15;
    }

    .activity-pagination {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 10px;
      margin: 0;
      padding-top: 8px;
      color: #64748b;
      font-size: 0.82rem;
      font-weight: 600;
      align-self: flex-end;
      margin-top: auto;
    }

    .activity-pagination-info {
      white-space: nowrap;
    }

    .pagination-nav {
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .pagination-btn {
      width: 30px;
      height: 30px;
      border: 1px solid rgba(5, 117, 137, 0.15);
      border-radius: 999px;
      background: #ffffff;
      color: #0f172a;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    }

    .pagination-btn:hover:not(:disabled) {
      background: rgba(5, 117, 137, 0.08);
      border-color: rgba(5, 117, 137, 0.3);
      transform: translateY(-1px);
    }

    .pagination-btn:disabled {
      opacity: 0.45;
      cursor: not-allowed;
    }

    .pagination-btn svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .activity-row {
      cursor: pointer;
      transition: background-color 0.14s ease;
    }

    .activity-row:hover {
      background: #f8fbfd;
    }

    .activity-misi-cell {
      width: 42%;
    }

    .activity-category-cell,
    .activity-status-cell,
    .activity-deadline-cell {
      text-align: center;
      font-weight: 700;
      color: #1e2f57;
    }

    .activity-category-cell {
      font-size: clamp(0.56rem, 0.52rem + 0.14vw, 0.64rem);
      font-weight: 600;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .activity-status-cell {
      font-size: clamp(0.64rem, 0.6rem + 0.2vw, 0.74rem);
    }

    .activity-deadline-cell {
      font-size: clamp(0.62rem, 0.58rem + 0.18vw, 0.72rem);
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow-wrap: normal;
      line-height: 1.2;
    }

    .activity-status {
      font-size: clamp(0.58rem, 0.54rem + 0.18vw, 0.68rem);
      font-weight: 700;
      white-space: nowrap;
      padding: clamp(4px, 0.35vw, 6px) clamp(7px, 0.6vw, 9px);
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 0;
      max-width: 100%;
      line-height: 1.1;
      text-align: center;
    }

    .activity-status.warn {
      font-size: clamp(0.52rem, 0.48rem + 0.14vw, 0.6rem);
    }

    .activity-status.success {
      color: #0f8d6f;
      background: #d9f2ea;
    }

    .activity-status.warn {
      color: #dc2626;
      background: #fde8e8;
    }

    .activity-title {
      margin: 0;
      font-size: clamp(0.74rem, 0.68rem + 0.28vw, 0.88rem);
      font-weight: 800;
      color: #1b2e5a;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: break-word;
      line-height: 1.2;
      max-width: 100%;
    }

    .activity-title.title-long {
      font-size: clamp(0.68rem, 0.62rem + 0.24vw, 0.8rem);
      line-height: 1.18;
    }

    .activity-title.title-xlong {
      font-size: clamp(0.62rem, 0.56rem + 0.2vw, 0.74rem);
      line-height: 1.16;
    }

    .activity-title.title-xxlong {
      font-size: clamp(0.56rem, 0.52rem + 0.18vw, 0.68rem);
      line-height: 1.14;
    }

    .empty-state {
      text-align: center;
      color: #6b7280;
      padding: 24px 18px;
      border-radius: 22px;
      background: rgba(37, 99, 235, 0.08);
      font-size: 0.97rem;
    }

    @media (max-width: 520px) {
      body {
        padding-left: 0;
      }

      body::before {
        display: none;
      }

      .sidebar-logo-wrap {
        display: none;
      }

      .sidebar-nav {
        display: none;
      }

      .sidebar-user-info {
        display: none;
      }

      .page {
        padding: 18px 16px 28px;
      }

      .top-tabs {
        gap: 18px;
      }

      .top-tab {
        font-size: 0.96rem;
      }

      .activity-table-wrap {
        overflow-x: auto;
      }

      .activity-table {
        min-width: 680px;
      }
      .content {
        flex-direction: column;
        min-height: 0;
      }
      .content::before {
        display: none;
      }
      .main-col {
        padding-left: 0;
      }
      .main-col::before {
        display: none;
      }
      .side-col {
        width: 100%;
        flex: 0 0 auto;
        height: auto;
      }
      .dashboard {
        height: auto;
      }
      .dash-card {
        width: 100%;
        max-width: none;
        flex: none;
      }

      .scoreboard-summary {
        padding: 12px 14px;
      }

      .scoreboard-title {
        font-size: 1rem;
      }

      .scoreboard-subtitle {
        font-size: 0.84rem;
      }
    }