/* Phone list. Desktop keeps the existing Agenda surface. Roboto is self-hosted in styles/base.css. */
.agenda-v2 {
  display: none;
  --av2-bg: #F4F6FA;
  --av2-card: #FFFFFF;
  --av2-text: #0F172A;
  --av2-meta: #46505E;
  --av2-muted: #5C6778;
  --av2-line: #E3E8EF;
  --av2-navy: #0D3B66;
  --av2-on-navy: #FFFFFF;
  --av2-active: #E8EEF5;
  --av2-late: #B91C1C;
  --av2-late-bg: #FEE2E2;
  --av2-star: #E85D04;
  --av2-on-acc: #FFFFFF;
  --av2-focus: #2F6FD6;
  --av2-acc-hariini: #0D3B66;
  --av2-acc-penting: #BE185D;
  --av2-acc-terjadwal: #0B6E80;
  --av2-acc-ditugaskan: #6A2C91;
  --av2-acc-semua: #4338CA;
  --av2-acc-notulen: #0F766E;
  --av2-acc: var(--av2-acc-hariini);
  --agenda-v2-kb: 0px;
  color: var(--av2-text);
  background: var(--av2-bg);
  font-family: Roboto, sans-serif;
}

.agenda-v2[data-list="penting"] { --av2-acc: var(--av2-acc-penting); }
.agenda-v2[data-list="terjadwal"] { --av2-acc: var(--av2-acc-terjadwal); }
.agenda-v2[data-list="ditugaskan"] { --av2-acc: var(--av2-acc-ditugaskan); }
.agenda-v2[data-list="semua"] { --av2-acc: var(--av2-acc-semua); }

html[data-theme="dark"] .agenda-v2,
body[data-theme="dark"] .agenda-v2 {
  --av2-bg: #0F172A;
  --av2-card: #1E293B;
  --av2-text: #F8FAFC;
  --av2-meta: #CBD5E1;
  --av2-muted: #CBD5E1;
  --av2-line: #334155;
  --av2-navy: #DBEAFE;
  --av2-on-navy: #0F172A;
  --av2-active: #1E3A5F;
  --av2-late: #FECACA;
  --av2-late-bg: #450A0A;
  --av2-star: #FDBA74;
  --av2-on-acc: #0F172A;
  --av2-focus: #93C5FD;
  --av2-acc-hariini: #93C5FD;
  --av2-acc-penting: #F9A8D4;
  --av2-acc-terjadwal: #67E8F9;
  --av2-acc-ditugaskan: #D8B4FE;
  --av2-acc-semua: #A5B4FC;
  --av2-acc-notulen: #5EEAD4;
}

/* Team priority sits on the meta line. Fixed colors: tokens --error-text is
   #FCA5A5 and would fade Kritis on #FEE2E2. */
.agenda-v2 .agenda-v2-priority {
  display: inline-flex;
  flex: none;
  align-self: center;
  box-sizing: border-box;
  width: fit-content;
  max-width: none;
  margin: 0;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0;
  white-space: nowrap;
}

.agenda-v2 .agenda-priority-chip.priority-high {
  background: #FFEDD5;
  color: #9A3412;
}

.agenda-v2 .agenda-priority-chip.priority-critical {
  background: #FEE2E2;
  color: #991B1B;
}

.agenda-v2-split {
  display: none;
}

@media (max-width: 768px), (max-height: 520px) and (orientation: landscape) {
  html.agenda-v2-on #tasks-tab > :not(#agenda-v2) {
    display: none !important;
  }

  html.agenda-v2-on .agenda-fab {
    display: none !important;
  }

  html.agenda-v2-on #tasks-tab > .agenda-view-toolbar {
    display: none !important;
  }

  html.agenda-v2-on .agenda-v2 {
    --agenda-v2-add-h: 64px;
    --agenda-v2-nav-h: 70px;
    --agenda-v2-nav-float: 8px;
    --agenda-v2-nav-gap: 8px;
    /* Shell bottom → nav top. Scroll/detail stop here; overlay --av2-bg fills the band. */
    --agenda-v2-nav-band: var(--agenda-v2-nav-footprint, calc(var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + var(--safe-bottom, env(safe-area-inset-bottom, 0px))));
    --agenda-v2-list-pad: calc(56px + 16px);
    --av2-type-row: 16px;
    --av2-type-row-weight: 400;
    --av2-type-name: 16px;
    --av2-type-name-weight: 500;
    --av2-type-email: 13px;
    --av2-type-count: 14px;
    --av2-type-title: 16px;
    --av2-type-title-weight: 400;
    --av2-type-meta: 13px;
    --av2-type-icon: 24px;
    --av2-row-h: 48px;
    display: flex;
    position: fixed;
    z-index: 900;
    /* Sit under the app header and above the bottom nav so neither covers the list. */
    top: calc(48px + var(--safe-top, env(safe-area-inset-top, 0px)));
    right: 0;
    bottom: calc(var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + var(--safe-bottom, env(safe-area-inset-bottom, 0px)));
    left: 0;
    flex-direction: column;
    overflow: hidden;
    /* Nav stays tappable through this layer; paint the band so the previous
       tab does not show under the glass. */
    pointer-events: none;
    background: var(--av2-bg);
  }

  /* Above .agenda-v2 (z-index 900). The header stacking context is lifted
     in phone-landscape.css; this file does not restyle app chrome. */
  html.agenda-v2-on:has(#tasks-tab.active) #notification-dropdown {
    z-index: 1200 !important;
  }

  html.agenda-v2-on .agenda-v2 > * {
    pointer-events: auto;
  }

  /* The direct-child rule above is broader than `.agenda-v2-add`. Keep the
     padded nav slot from taking taps; only the input row's controls do. */
  html.agenda-v2-on .agenda-v2 > .agenda-v2-add {
    pointer-events: none;
  }

  html.agenda-v2-on .agenda-v2.is-kb {
    bottom: var(--agenda-v2-kb, 0px);
    --agenda-v2-nav-band: 0px;
    --agenda-v2-list-pad: calc(56px + 16px);
    background: var(--av2-bg);
  }

  /* Native resize already shortened the WebView. Do not lift again. */
  html.is-native-shell.agenda-v2-on .agenda-v2.is-kb {
    bottom: 0;
  }

  /* Quick add docks itself with the keyboard inset. The list stays put. */
  html.agenda-v2-on .agenda-v2.is-kb.is-quickadd {
    bottom: 0;
  }

  html.agenda-v2-on .agenda-v2.is-quickadd {
    z-index: 1200;
  }

  html.agenda-v2-on .toast-container {
    bottom: calc(var(--agenda-v2-nav-h, 70px) + var(--safe-bottom, env(safe-area-inset-bottom, 0px)) + 8px);
  }

  html.agenda-v2-on:has(.agenda-v2.is-quickadd) .toast-container {
    /* add-h row + 48px chips + 16px sheet padding, then nav band + 8px gap */
    bottom: calc(var(--agenda-v2-add-h, 64px) + 48px + 16px + var(--agenda-v2-nav-gap, 8px) + var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + var(--safe-bottom, env(safe-area-inset-bottom, 0px)) + 8px);
  }

  html.keyboard-open.agenda-v2-on .toast-container {
    bottom: calc(76px + var(--keyboard-inset, 0px));
  }

  html.agenda-v2-on .agenda-v2.is-overlay {
    z-index: 1200;
  }

  /* List menu covers the app header (z-index 100) and bottom nav (z-index 1000). */
  html.agenda-v2-on .agenda-v2.is-panel {
    top: 0;
    z-index: 1400;
    background: var(--av2-card);
  }

  html.agenda-v2-on .agenda-v2.is-panel > .agenda-v2-panel {
    padding-top: var(--safe-top, env(safe-area-inset-top, 0px));
    padding-bottom: var(--safe-bottom, env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
  }

  html.agenda-v2-menu-open,
  html.agenda-v2-menu-open body {
    overflow: hidden;
  }

  .agenda-v2,
  .agenda-v2 button,
  .agenda-v2 input,
  .agenda-v2 textarea,
  .agenda-v2 select {
    font-family: Roboto, sans-serif;
  }

  /* Keep this at (0,1,1). A :not(.agenda-v2-fab) exclusion raises it to
     (0,3,1) and beats .agenda-v2-star.is-on, so the filled star inherits
     --av2-text (#0F172A) instead of --av2-star (#E85D04). FAB and quick-add
     set their own color below, scoped to those buttons only. */
  .agenda-v2 button,
  .agenda-v2 input,
  .agenda-v2 textarea,
  .agenda-v2 select {
    color: inherit;
  }

  .agenda-v2 .agenda-v2-open:hover,
  .agenda-v2 .agenda-v2-open:focus,
  .agenda-v2 .agenda-v2-open:active,
  .agenda-v2 .agenda-v2-check:hover,
  .agenda-v2 .agenda-v2-star:hover,
  .agenda-v2 .agenda-v2-icon-btn:hover,
  .agenda-v2 .agenda-v2-gh:hover,
  .agenda-v2 .agenda-v2-gh:focus,
  .agenda-v2 .agenda-v2-gh:active,
  .agenda-v2 .agenda-v2-lp-it:hover,
  .agenda-v2 .agenda-v2-sa:hover,
  .agenda-v2 .agenda-v2-row:hover,
  .agenda-v2 .agenda-v2-step:hover {
    background-color: transparent;
    color: inherit;
  }

  .agenda-v2-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .agenda-v2 [hidden] {
    display: none !important;
  }

  .agenda-v2 button:focus-visible,
  .agenda-v2 input:focus-visible,
  .agenda-v2 textarea:focus-visible,
  .agenda-v2 select:focus-visible {
    outline: 3px solid var(--av2-focus);
    outline-offset: 2px;
  }

  .agenda-v2-ic {
    width: 24px;
    height: 24px;
    flex: none;
  }

  .agenda-v2-ic-sm {
    width: 16px;
    height: 16px;
  }

  /* Beat #main-app svg { max-width: 100% }. That cap collapses these
     grid-item glyphs to a used width of 8px. */
  #main-app .agenda-v2-star .agenda-v2-ic,
  #main-app .agenda-v2-icon-btn .agenda-v2-ic,
  #main-app .agenda-v2-lp-ic .agenda-v2-ic,
  #main-app .agenda-v2-gh .agenda-v2-ic {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
  }

  .agenda-v2-scroll {
    flex: 1;
    overflow: auto;
    padding: 0 0 var(--agenda-v2-list-pad, 72px);
  }

  html.agenda-v2-on .agenda-v2-scroll {
    min-height: 0;
    padding-top: 0;
    margin-bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    clip-path: inset(0);
  }

  html.agenda-v2-on .agenda-v2-sticky {
    top: 0;
    width: 100%;
    background: var(--av2-bg);
    background-color: var(--av2-bg);
  }

  /* Opaque fill in the nav band so overflowing list paint cannot show
     through the glass. Stays under the sheet (z 5), detail/panel (z 6),
     and the app nav. */
  html.agenda-v2-on .agenda-v2::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 4;
    height: 0;
    pointer-events: none;
    background: var(--av2-bg);
    background-color: var(--av2-bg);
  }

  .agenda-v2-sticky {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0 16px 4px;
    box-sizing: border-box;
    background: var(--av2-bg);
    background-color: var(--av2-bg);
  }

  .agenda-v2-head {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding-top: var(--safe-top, env(safe-area-inset-top, 0px));
    background: var(--av2-bg);
    background-color: var(--av2-bg);
  }

  .agenda-v2-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    max-width: 100%;
    margin: 0;
    padding: 0 4px 0 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--av2-navy);
    font-family: Roboto, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-align: left;
  }

  .agenda-v2-filter-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .agenda-v2-filter-caret {
    flex: none;
    font-size: 18px;
    line-height: 1;
  }

  .agenda-v2-summary {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    overflow: hidden;
  }

  .agenda-v2-chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--av2-line);
    border-radius: 999px;
    background: var(--av2-active);
    color: var(--av2-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }

  .agenda-v2-chip.agenda-v2-count {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .agenda-v2-chip.is-late {
    border-color: transparent;
    background: var(--av2-late-bg);
    color: var(--av2-late);
    font-weight: 600;
  }

  .agenda-v2-summary-date {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    color: var(--av2-meta);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .agenda-v2-icon-btn {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--av2-navy, #0D3B66);
    padding: 0;
  }

  .agenda-v2-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    width: auto;
    min-height: var(--av2-row-h, 48px);
    margin: 0 16px 4px;
    padding: 0;
    background: var(--av2-card);
    border-radius: 8px;
    box-shadow: 0 1px 1px rgba(15, 23, 42, 0.07);
  }

  .agenda-v2 .agenda-v2-card.is-row-focus,
  .agenda-v2 .agenda-v2-card:focus-within,
  .agenda-v2 .agenda-v2-card:active {
    background: #E8EEF5;
    outline: 2px solid #0D3B66;
    outline-offset: -2px;
    border-radius: 8px;
    color: #0F172A;
  }

  .agenda-v2 .agenda-v2-card :is(button, a):focus,
  .agenda-v2 .agenda-v2-card :is(button, a):focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-title,
  .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-title,
  .agenda-v2 .agenda-v2-card:active .agenda-v2-title,
  .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-open,
  .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-open,
  .agenda-v2 .agenda-v2-card:active .agenda-v2-open {
    color: #0F172A;
  }

  .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-meta,
  .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-meta,
  .agenda-v2 .agenda-v2-card:active .agenda-v2-meta {
    color: #46505E;
  }

  .agenda-v2 .agenda-v2-check {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    height: 48px;
    flex: none;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--av2-on-navy);
    padding: 0;
  }

  .agenda-v2-check::before {
    content: "";
    width: 22px;
    height: 22px;
    border: 2px solid var(--av2-muted);
    border-radius: 50%;
    grid-area: 1 / 1;
  }

  .agenda-v2-check .agenda-v2-ic {
    grid-area: 1 / 1;
    z-index: 1;
  }

  .agenda-v2 .agenda-v2-check[aria-checked="true"]::before {
    background: var(--av2-navy);
    border-color: var(--av2-navy);
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-check[aria-checked="true"],
  body[data-theme="dark"] .agenda-v2 .agenda-v2-check[aria-checked="true"] {
    color: #0F172A;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-check[aria-checked="true"]::before,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-check[aria-checked="true"]::before {
    background: #93C5FD;
    border-color: #93C5FD;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-check,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-check,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-check,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-check,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-check,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-check {
    border-color: transparent;
    outline: none;
    box-shadow: none;
    background: transparent;
    color: inherit;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-check::before,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-check::before,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-check::before,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-check::before,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-check::before,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-check::before {
    border-color: #0D3B66;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-check[aria-checked="true"]::before,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-check[aria-checked="true"]::before,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-check[aria-checked="true"]::before,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-check[aria-checked="true"]::before,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-check[aria-checked="true"]::before,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-check[aria-checked="true"]::before {
    background: #93C5FD;
    border-color: #93C5FD;
  }

  .agenda-v2 .agenda-v2-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 6px 0 6px 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
    overflow: hidden;
  }

  .agenda-v2 .agenda-v2-title {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: Roboto, sans-serif;
    font-size: var(--av2-type-title, 16px);
    font-weight: var(--av2-type-title-weight, 400);
    line-height: 1.25;
    color: #0F172A;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-title,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-title {
    color: #F8FAFC;
  }

  .agenda-v2-card.is-done .agenda-v2-title,
  .agenda-v2-detail-title-row.is-done h1 {
    text-decoration: line-through;
    color: var(--av2-meta);
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-done .agenda-v2-title,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-done .agenda-v2-title {
    color: #CBD5E1;
  }

  .agenda-v2 .agenda-v2-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 4px;
    min-width: 0;
    max-height: 1.35em;
    margin-top: 2px;
    overflow: hidden;
    color: var(--av2-meta);
    font-family: Roboto, sans-serif;
    font-size: var(--av2-type-meta, 13px);
    font-weight: 400;
    line-height: 1.35;
    white-space: nowrap;
  }

  html[data-theme="dark"] .agenda-v2-meta,
  body[data-theme="dark"] .agenda-v2-meta {
    color: #CBD5E1;
  }

  .agenda-v2-dot {
    color: var(--av2-meta);
  }

  .agenda-v2-late {
    color: var(--av2-late);
    background: var(--av2-late-bg);
    border-radius: 999px;
    padding: 1px 8px;
  }

  .agenda-v2-note-ic {
    display: inline-flex;
    flex: none;
    color: var(--av2-muted);
  }

  .agenda-v2-meta > span {
    flex: none;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
  }

  .agenda-v2-meta > span.agenda-v2-meta-name {
    flex: 0 1 auto;
    min-width: 0;
    text-overflow: ellipsis;
  }

  .agenda-v2-meta > .agenda-v2-meta-pin,
  .agenda-v2-meta > .agenda-v2-late,
  .agenda-v2-meta > .agenda-v2-note-ic,
  .agenda-v2-meta > .agenda-v2-involved {
    flex: none;
  }

  .agenda-v2 .agenda-v2-meta .agenda-v2-involved {
    min-width: 0;
    height: auto;
    margin-left: 4px;
    padding: 0;
    background: transparent;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-dot,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-dot,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-dot,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-dot,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-dot,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-dot,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-note-ic,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-note-ic,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-note-ic,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card.is-row-focus .agenda-v2-note-ic,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:focus-within .agenda-v2-note-ic,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-card:active .agenda-v2-note-ic {
    color: #46505E;
  }

  .agenda-v2-star {
    box-sizing: border-box;
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--av2-star, #E85D04);
    padding: 0;
    position: relative;
  }

  .agenda-v2-star.is-on {
    color: var(--av2-star);
  }

  /* (0,3,1) or higher, so this beats `.agenda-v2 button { color: inherit }`
     and the star:hover inherit reset. List row and task detail share the
     class; data-act keeps each surface explicit. Dark theme keeps #FDBA74
     via --av2-star. */
  .agenda-v2 button.agenda-v2-star.is-on[data-act="star"],
  .agenda-v2 button.agenda-v2-star.is-on[data-act="detail-star"],
  .agenda-v2 button.agenda-v2-star.is-on[data-act="star"]:hover,
  .agenda-v2 button.agenda-v2-star.is-on[data-act="detail-star"]:hover,
  .agenda-v2 button.agenda-v2-star.is-on[data-act="star"]:focus,
  .agenda-v2 button.agenda-v2-star.is-on[data-act="detail-star"]:focus,
  .agenda-v2 button.agenda-v2-star.is-on[data-act="star"]:active,
  .agenda-v2 button.agenda-v2-star.is-on[data-act="detail-star"]:active,
  .agenda-v2 button.agenda-v2-star.is-on[data-act="star"] .agenda-v2-ic,
  .agenda-v2 button.agenda-v2-star.is-on[data-act="detail-star"] .agenda-v2-ic {
    color: var(--av2-star);
  }

  /* styles.css gives every section a full-width border-top. That line
     sat under the last open card and ran past the card edges. */
  .agenda-v2 .agenda-v2-group {
    border-top: 0;
  }

  .agenda-v2-gh {
    display: flex;
    align-items: center;
    gap: 8px;
    width: calc(100% - 32px);
    min-height: 48px;
    margin: 10px 16px 0;
    padding: 0 4px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--av2-text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
  }

  .agenda-v2 .agenda-v2-gh.is-selesai,
  .agenda-v2 .agenda-v2-gh.is-selesai:is(:hover, :focus, :focus-visible, :active) {
    background: var(--av2-bg);
    background-color: var(--av2-bg);
    color: #0D3B66;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    box-shadow: none;
    border-radius: 8px;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-gh.is-selesai,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-gh.is-selesai:is(:hover, :focus, :focus-visible, :active),
  body[data-theme="dark"] .agenda-v2 .agenda-v2-gh.is-selesai,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-gh.is-selesai:is(:hover, :focus, :focus-visible, :active) {
    background: var(--av2-bg);
    background-color: var(--av2-bg);
    color: #DBEAFE;
  }

  .agenda-v2-gh.is-late,
  .agenda-v2-gh.is-late .agenda-v2-ic,
  .is-late-text {
    color: var(--av2-late);
  }

  .agenda-v2-empty {
    padding: 28px 16px;
    text-align: center;
    color: var(--av2-meta);
    font-size: 16px;
    font-weight: 400;
  }

  .agenda-v2-empty-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    color: var(--av2-acc);
  }

  .agenda-v2-empty p {
    margin: 0;
  }

  .agenda-v2-empty-clear {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 8px;
    padding: 0 16px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: var(--av2-navy);
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
  }

  html[data-theme="dark"] .agenda-v2-empty-clear,
  body[data-theme="dark"] .agenda-v2-empty-clear {
    color: #93C5FD;
  }

  .agenda-v2-add {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    /* Shared form styles stack children in a column. This bar stays one row. */
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: calc(var(--agenda-v2-add-h, 64px) + var(--agenda-v2-nav-gap, 8px) + var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + env(safe-area-inset-bottom, 0px));
    margin: 0;
    padding: 0 8px calc(var(--agenda-v2-nav-gap, 8px) + var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + env(safe-area-inset-bottom, 0px)) 16px;
    /* Only the input row is painted. The padded nav slot stays clear. */
    background: transparent;
    border-top: 0;
    box-shadow: none;
    pointer-events: none;
  }

  .agenda-v2-add::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    left: 0;
    height: var(--agenda-v2-add-h, 64px);
    background: var(--av2-card);
    border-top: 1px solid var(--av2-line);
    box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.06);
    pointer-events: none;
  }

  .agenda-v2-add > :not(.agenda-v2-sr) {
    position: relative;
    z-index: 1;
    pointer-events: auto;
  }

  .agenda-v2.is-kb .agenda-v2-add {
    bottom: 0;
    height: var(--agenda-v2-add-h, 64px);
    padding-bottom: 0;
  }

  /* Phone web keeps the padded bottom:0 bar. Native shell lifts the 64px
     bar by the nav's real footprint (height + float + safe-area) plus 8px.
     JS writes --agenda-v2-nav-footprint from getBoundingClientRect. */
  html.is-native-shell .agenda-v2-add {
    bottom: calc(var(--agenda-v2-nav-footprint, calc(var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + env(safe-area-inset-bottom, 0px))) + var(--agenda-v2-nav-gap, 8px));
    height: var(--agenda-v2-add-h, 64px);
    padding-bottom: 0;
  }

  html.is-native-shell .agenda-v2.is-kb .agenda-v2-add {
    bottom: 0;
  }

  .agenda-v2.is-panel .agenda-v2-add,
  .agenda-v2.is-sheet .agenda-v2-add,
  .agenda-v2.is-detail .agenda-v2-add,
  .agenda-v2.is-confirm .agenda-v2-add {
    visibility: hidden;
    pointer-events: none;
  }

  .agenda-v2-add-ring {
    width: 24px;
    height: 24px;
    flex: none;
    border: 2px solid var(--av2-navy, #0D3B66);
    border-radius: 50%;
  }

  .agenda-v2-add input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 48px;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
  }

  .agenda-v2-add input::placeholder {
    color: var(--av2-meta);
    opacity: 1;
  }

  /* Global `button` fades background-color for 0.2s, and `button:disabled`
     forces opacity 0.5. Either one leaves this control looking washed out
     (#B3C2D2) the moment a title appears. Land on the end color immediately. */
  .agenda-v2 .agenda-v2-add-go,
  .agenda-v2 .agenda-v2-add-go:hover,
  .agenda-v2 .agenda-v2-add-go:focus,
  .agenda-v2 .agenda-v2-add-go:focus-visible,
  .agenda-v2 .agenda-v2-add-go:active,
  .agenda-v2 .agenda-v2-add-go.is-ready,
  .agenda-v2 .agenda-v2-add-go.is-ready:hover,
  .agenda-v2 .agenda-v2-add-go.is-ready:focus,
  .agenda-v2 .agenda-v2-add-go.is-ready:focus-visible,
  .agenda-v2 .agenda-v2-add-go.is-ready:active {
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    flex: none;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #0D3B66;
    background-color: #0D3B66;
    color: #FFFFFF;
    opacity: 1 !important;
    padding: 0;
    transition: none;
  }

  .agenda-v2 .agenda-v2-add-go .agenda-v2-ic,
  .agenda-v2 .agenda-v2-add-go.is-ready .agenda-v2-ic {
    color: #FFFFFF;
    stroke: #FFFFFF;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:hover,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:focus,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:active,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready:hover,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready:focus,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready:active,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:hover,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:focus,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:active,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready:hover,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready:focus,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready:active {
    background: var(--av2-acc);
    background-color: var(--av2-acc);
    color: #0F172A;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go .agenda-v2-ic,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready .agenda-v2-ic,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go .agenda-v2-ic,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go.is-ready .agenda-v2-ic {
    color: #0F172A;
    stroke: #0F172A;
  }

  .agenda-v2 .agenda-v2-add-go:disabled,
  .agenda-v2 .agenda-v2-add-go:disabled:hover,
  .agenda-v2 .agenda-v2-add-go:disabled:focus,
  .agenda-v2 .agenda-v2-add-go:disabled:focus-visible,
  .agenda-v2 .agenda-v2-add-go:disabled:active {
    background: #F0F3F7;
    background-color: #F0F3F7;
    color: #D1D7E0;
    opacity: 1 !important;
    transition: none;
  }

  .agenda-v2 .agenda-v2-add-go:disabled .agenda-v2-ic {
    color: #D1D7E0;
    stroke: #D1D7E0;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled:hover,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled:focus,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled:active,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled:hover,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled:focus,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled:active {
    background: #334155;
    background-color: #334155;
    color: #94A3B8;
    opacity: 1 !important;
    transition: none;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled .agenda-v2-ic,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-add-go:disabled .agenda-v2-ic {
    color: #94A3B8;
    stroke: #94A3B8;
  }

  #agenda-v2-add[hidden],
  .agenda-v2-fab[hidden],
  .agenda-v2-qa-dim[hidden],
  .agenda-v2-qa-menu[hidden] {
    display: none !important;
  }

  .agenda-v2-fab {
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0D3B66;
    background-color: #0D3B66;
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(13, 59, 102, 0.35);
  }

  .agenda-v2 .agenda-v2-fab:hover,
  .agenda-v2 .agenda-v2-fab:focus,
  .agenda-v2 .agenda-v2-fab:focus-visible,
  .agenda-v2 .agenda-v2-fab:active {
    background: #0D3B66;
    background-color: #0D3B66;
    color: #FFFFFF;
  }

  /* Beats `.agenda-v2 button { color: inherit }` (0,1,1) and any svg color reset. */
  .agenda-v2 button.agenda-v2-fab,
  .agenda-v2 button.agenda-v2-fab:hover,
  .agenda-v2 button.agenda-v2-fab:focus,
  .agenda-v2 button.agenda-v2-fab:focus-visible,
  .agenda-v2 button.agenda-v2-fab:active {
    background: #0D3B66;
    background-color: #0D3B66;
    color: #FFFFFF;
  }

  .agenda-v2 button.agenda-v2-fab .agenda-v2-ic,
  .agenda-v2 button.agenda-v2-fab:hover .agenda-v2-ic,
  .agenda-v2 button.agenda-v2-fab:focus .agenda-v2-ic,
  .agenda-v2 button.agenda-v2-fab:active .agenda-v2-ic {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    color: #FFFFFF;
    stroke: #FFFFFF;
    stroke-width: 2px;
  }

  html.is-native-shell .agenda-v2-fab {
    bottom: 16px;
  }

  .agenda-v2.is-kb .agenda-v2-fab {
    bottom: 16px;
  }

  .agenda-v2.is-panel .agenda-v2-fab,
  .agenda-v2.is-sheet .agenda-v2-fab,
  .agenda-v2.is-detail .agenda-v2-fab,
  .agenda-v2.is-confirm .agenda-v2-fab,
  .agenda-v2.is-quickadd .agenda-v2-fab {
    visibility: hidden;
    pointer-events: none;
  }

  .agenda-v2-qa-dim {
    position: absolute;
    inset: 0;
    z-index: 5;
    border: 0;
    padding: 0;
    background: rgba(15, 23, 42, 0.2);
  }

  /* Global `button:hover` paints primary-hover and would turn the scrim solid. */
  .agenda-v2-qa-dim:hover,
  .agenda-v2-qa-dim:focus,
  .agenda-v2-qa-dim:focus-visible,
  .agenda-v2-qa-dim:active {
    background: rgba(15, 23, 42, 0.2);
    background-color: rgba(15, 23, 42, 0.2);
    color: transparent;
    transform: none;
    outline: none !important;
    box-shadow: none !important;
  }

  html[data-theme="dark"] .agenda-v2-qa-dim,
  body[data-theme="dark"] .agenda-v2-qa-dim {
    background: rgba(15, 23, 42, 0.45);
  }

  .agenda-v2-qa-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
  }

  html.agenda-v2-on .agenda-v2.is-quickadd > #agenda-v2-add {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 10px 12px 10px;
    pointer-events: auto;
    background: var(--av2-card);
    border-top: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.16);
    bottom: max(env(keyboard-inset-height, 0px), var(--agenda-v2-kb, 0px));
  }

  html.agenda-v2-on .agenda-v2.is-quickadd:not(.is-kb) > #agenda-v2-add {
    bottom: calc(var(--agenda-v2-nav-gap, 8px) + var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + env(safe-area-inset-bottom, 0px));
  }

  html.is-native-shell .agenda-v2.is-quickadd:not(.is-kb) > #agenda-v2-add {
    bottom: calc(var(--agenda-v2-nav-footprint, calc(var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + env(safe-area-inset-bottom, 0px))) + var(--agenda-v2-nav-gap, 8px));
  }

  html.agenda-v2-on .agenda-v2.is-quickadd > #agenda-v2-add::before {
    content: none;
  }

  html.agenda-v2-on .agenda-v2.is-quickadd .agenda-v2-add input,
  html.agenda-v2-on .agenda-v2.is-quickadd .agenda-v2-add input:focus,
  html.agenda-v2-on .agenda-v2.is-quickadd .agenda-v2-add input:focus-visible {
    border: 0;
    outline: none;
    box-shadow: none;
    font-size: 16px;
    font-weight: 400;
    caret-color: #0F172A;
  }

  /* Shell focus rules use #main-app and !important. Match that so the
     quick-add field keeps only the caret. */
  #main-app .agenda-v2.is-quickadd #agenda-v2-add-input:focus,
  #main-app .agenda-v2.is-quickadd #agenda-v2-add-input:focus-visible {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  html.agenda-v2-on .agenda-v2.is-quickadd .agenda-v2-add input::placeholder {
    color: #46505E;
    opacity: 1;
  }

  html[data-theme="dark"] .agenda-v2.is-quickadd .agenda-v2-add input,
  body[data-theme="dark"] .agenda-v2.is-quickadd .agenda-v2-add input {
    caret-color: #F8FAFC;
  }

  #agenda-v2-add #agenda-v2-qa-date,
  #agenda-v2-add .agenda-v2-qa-date-native,
  #agenda-v2-add .id-date-wrap:has(#agenda-v2-qa-date) {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 1px !important;
    max-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    pointer-events: none !important;
    color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #agenda-v2-add .id-date-display {
    display: none !important;
  }

  .agenda-v2-qa-chips {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 2px 2px;
    scrollbar-width: none;
  }

  .agenda-v2-qa-chips::-webkit-scrollbar {
    display: none;
  }

  .agenda-v2 .agenda-v2-qa-chip,
  .agenda-v2 .agenda-v2-qa-chip:hover,
  .agenda-v2 .agenda-v2-qa-chip:focus,
  .agenda-v2 .agenda-v2-qa-chip:active {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    height: 48px;
    min-height: 48px;
    flex: none;
    padding: 0 12px;
    border: 1px solid var(--av2-line);
    border-radius: 999px;
    background: transparent;
    background-color: transparent;
    color: var(--av2-meta);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
  }

  .agenda-v2 .agenda-v2-qa-chip.is-on,
  .agenda-v2 .agenda-v2-qa-chip.is-on:hover,
  .agenda-v2 .agenda-v2-qa-chip.is-on:focus,
  .agenda-v2 .agenda-v2-qa-chip.is-on:active {
    background: #E8EEF5;
    background-color: #E8EEF5;
    border-color: #0D3B66;
    color: #0D3B66;
    font-weight: 500;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-qa-chip.is-on,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-qa-chip.is-on {
    background: #1E3A5F;
    background-color: #1E3A5F;
    border-color: #93C5FD;
    color: #DBEAFE;
  }

  .agenda-v2-qa-menu {
    position: fixed;
    z-index: 8;
    display: flex;
    flex-direction: column;
    width: max-content;
    min-width: 280px;
    max-width: calc(100vw - 16px);
    overflow: hidden;
    padding: 6px;
    border: 1px solid var(--av2-line);
    border-radius: 12px;
    background: var(--av2-card);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  }

  .agenda-v2 .agenda-v2-qa-menu button,
  .agenda-v2 .agenda-v2-qa-menu button:hover,
  .agenda-v2 .agenda-v2-qa-menu button:focus,
  .agenda-v2 .agenda-v2-qa-menu button:active {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    background-color: transparent;
    color: #0F172A;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
  }

  .agenda-v2-qa-when {
    flex: none;
    color: #46505E;
    font-size: 14px;
    font-weight: 400;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-qa-menu button,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-qa-menu button {
    color: #F8FAFC;
  }

  html[data-theme="dark"] .agenda-v2-qa-when,
  body[data-theme="dark"] .agenda-v2-qa-when {
    color: #94A3B8;
  }

  .agenda-v2 .agenda-v2-qa-menu button[aria-checked="true"] {
    background: #E8EEF5;
    background-color: #E8EEF5;
    color: #0D3B66;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-qa-menu button[aria-checked="true"],
  body[data-theme="dark"] .agenda-v2 .agenda-v2-qa-menu button[aria-checked="true"] {
    background: #1E3A5F;
    background-color: #1E3A5F;
    color: #DBEAFE;
  }

  .agenda-v2-dim {
    position: absolute;
    inset: 0;
    z-index: 4;
    border: 0;
    background: rgba(15, 23, 42, 0.45);
    padding: 0;
  }

  .agenda-v2-panel,
  .agenda-v2-detail {
    position: absolute;
    inset: 0;
    z-index: 6;
    background: var(--av2-bg);
    overflow: auto;
  }

  .agenda-v2-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 0;
    background: var(--av2-card);
  }

  .agenda-v2-prof {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 4px 12px 16px;
    border-bottom: 1px solid var(--av2-line);
  }

  .agenda-v2-avatar {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--av2-acc-hariini);
    color: var(--av2-on-acc);
    font-size: 15px;
    font-weight: 500;
  }

  .agenda-v2-who {
    flex: 1;
    min-width: 0;
  }

  .agenda-v2-name {
    display: block;
    font-size: var(--av2-type-name, 16px);
    font-weight: var(--av2-type-name-weight, 500);
    line-height: 1.3;
  }

  .agenda-v2-panel-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--av2-navy, #0D3B66);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
  }

  .agenda-v2-email {
    display: block;
    overflow: hidden;
    color: var(--av2-meta);
    font-size: var(--av2-type-email, 13px);
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .agenda-v2-search {
    padding: 8px 16px 0;
  }

  .agenda-v2-search.is-open {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    padding: 0;
  }

  .agenda-v2-search input {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-bottom: 1px solid var(--av2-line);
    background: transparent;
    font-size: var(--av2-type-row, 16px);
    font-weight: var(--av2-type-row-weight, 400);
  }

  .agenda-v2-search.is-open input {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .agenda-v2-search input::placeholder {
    color: #46505E;
    opacity: 1;
  }

  .agenda-v2-search input[type="search"]::-webkit-search-cancel-button,
  .agenda-v2-search input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-search input::placeholder,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-search input::placeholder {
    color: #94A3B8;
    opacity: 1;
  }

  .agenda-v2-lp {
    flex: 1;
    overflow: auto;
    padding: 4px 0 12px;
  }

  .agenda-v2-lp-ic {
    width: var(--av2-type-icon, 24px);
    height: var(--av2-type-icon, 24px);
    display: grid;
    place-items: center;
    flex: none;
  }

  .agenda-v2-lp-it {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: var(--av2-row-h, 48px);
    min-height: var(--av2-row-h, 48px);
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--av2-text);
    font-size: var(--av2-type-row, 16px);
    font-weight: var(--av2-type-row-weight, 400);
    text-align: left;
  }

  .agenda-v2-lp-ic[data-accent="hariini"] { color: var(--av2-acc-hariini); }
  .agenda-v2-lp-ic[data-accent="penting"] { color: var(--av2-star); }
  .agenda-v2 .agenda-v2-lp-it .agenda-v2-lp-ic[data-accent="penting"],
  .agenda-v2 .agenda-v2-lp-it .agenda-v2-lp-ic[data-accent="penting"] .agenda-v2-ic {
    color: var(--av2-star);
  }
  .agenda-v2-lp-ic[data-accent="terjadwal"] { color: var(--av2-acc-terjadwal); }
  .agenda-v2-lp-ic[data-accent="ditugaskan"] { color: var(--av2-acc-ditugaskan); }
  .agenda-v2-lp-ic[data-accent="semua"] { color: var(--av2-acc-semua); }
  .agenda-v2-lp-ic[data-accent="notulen"] { color: var(--av2-acc-notulen); }

  .agenda-v2-lp-label {
    flex: 1;
  }

  .agenda-v2-lp-num {
    min-width: 20px;
    color: var(--av2-meta);
    font-size: var(--av2-type-count, 14px);
    font-weight: 400;
    text-align: right;
  }

  .agenda-v2-lp-it.is-active {
    background: #DCE6F2;
    color: var(--av2-navy);
    font-weight: 500;
    box-shadow: inset 3px 0 0 #0D3B66;
  }

  html[data-theme="dark"] .agenda-v2-lp-it.is-active,
  body[data-theme="dark"] .agenda-v2-lp-it.is-active {
    background: var(--av2-active);
    color: var(--av2-navy);
    box-shadow: inset 3px 0 0 var(--av2-navy);
  }

  .agenda-v2 .agenda-v2-lp-it.is-active:hover {
    background: #DCE6F2;
    color: #0D3B66;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-lp-it.is-active:hover,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-lp-it.is-active:hover {
    background: #1E3A5F;
    color: #DBEAFE;
  }

  .agenda-v2-lp-it.is-active .agenda-v2-lp-ic,
  .agenda-v2-lp-it.is-active .agenda-v2-lp-num {
    color: inherit;
    font-weight: 400;
  }

  html.agenda-v2-on .agenda-v2-lp-foot {
    display: none;
  }

  .agenda-v2 .agenda-v2-lp-new,
  .agenda-v2 .agenda-v2-lp-new:disabled,
  .agenda-v2 .agenda-v2-lp-new:hover {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 56px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: #E2E8F0;
    background-color: #E2E8F0;
    color: #64748B;
    font-size: var(--av2-type-row, 16px);
    font-weight: var(--av2-type-row-weight, 400);
    text-align: left;
    cursor: not-allowed;
    opacity: 1;
  }

  html[data-theme="dark"] .agenda-v2 .agenda-v2-lp-new,
  html[data-theme="dark"] .agenda-v2 .agenda-v2-lp-new:disabled,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-lp-new,
  body[data-theme="dark"] .agenda-v2 .agenda-v2-lp-new:disabled {
    background: transparent;
    background-color: transparent;
    color: var(--av2-muted);
  }

  .agenda-v2-lp-note {
    margin: 0;
    padding: 0 12px 8px;
    color: var(--av2-meta);
    font-size: var(--av2-type-email, 13px);
    font-weight: 400;
  }

  .agenda-v2-prof.is-search {
    gap: 4px;
    padding-right: 8px;
  }

  .agenda-v2-skeleton {
    padding-top: 4px;
  }

  .agenda-v2-sk-icon,
  .agenda-v2-sk-title,
  .agenda-v2-sk-sub,
  .agenda-v2-sk-check,
  .agenda-v2-sk-lines span {
    display: block;
    background: var(--av2-line);
    border-radius: 8px;
  }

  .agenda-v2-sk-icon {
    width: 24px;
    height: 24px;
    margin: 12px 0;
  }

  .agenda-v2-sk-title {
    width: 42%;
    height: 28px;
    margin: 8px 0;
  }

  .agenda-v2-sk-sub {
    width: 55%;
    height: 14px;
    margin: 0 0 16px;
  }

  .agenda-v2-sk-card {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: var(--av2-row-h, 48px);
    margin: 0 0 8px;
    padding: 8px 12px;
    background: var(--av2-card);
    border-radius: 8px;
  }

  .agenda-v2-sk-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
  }

  .agenda-v2-sk-lines span:first-child {
    width: 70%;
    height: 14px;
    margin-bottom: 6px;
  }

  .agenda-v2-sk-lines span:last-child {
    width: 40%;
    height: 12px;
  }

  .agenda-v2-skeleton .agenda-v2-sk-icon,
  .agenda-v2-skeleton .agenda-v2-sk-title,
  .agenda-v2-skeleton .agenda-v2-sk-sub,
  .agenda-v2-skeleton .agenda-v2-sk-check,
  .agenda-v2-skeleton .agenda-v2-sk-lines span {
    animation: agenda-v2-shimmer 1.2s ease-in-out infinite alternate;
  }

  @keyframes agenda-v2-shimmer {
    from { opacity: 0.45; }
    to { opacity: 1; }
  }

  @media (prefers-reduced-motion: reduce) {
    .agenda-v2-skeleton .agenda-v2-sk-icon,
    .agenda-v2-skeleton .agenda-v2-sk-title,
    .agenda-v2-skeleton .agenda-v2-sk-sub,
    .agenda-v2-skeleton .agenda-v2-sk-check,
    .agenda-v2-skeleton .agenda-v2-sk-lines span {
      animation: none;
    }
  }

  .agenda-v2-sheet,
  .agenda-v2-confirm {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    max-height: calc(100% - 72px);
    overflow: auto;
    padding: 8px 8px calc(16px + env(safe-area-inset-bottom, 0px));
    background: var(--av2-card);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
  }

  .agenda-v2.is-confirm .agenda-v2-dim {
    z-index: 7;
  }

  .agenda-v2-confirm {
    z-index: 8;
  }

  .agenda-v2-grab {
    width: 40px;
    height: 4px;
    margin: 4px auto 8px;
    border-radius: 4px;
    background: var(--av2-line);
  }

  .agenda-v2-sheet-head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .agenda-v2-sheet-head h2,
  .agenda-v2-confirm h2 {
    flex: 1;
    margin: 12px 8px 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
  }

  .agenda-v2-sa {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    font-size: 17px;
    font-weight: 500;
    text-align: left;
  }

  .agenda-v2-sa-label {
    flex: 1;
  }

  .agenda-v2-sa-label small,
  .agenda-v2-sa-extra,
  .agenda-v2-row small,
  .agenda-v2-hint {
    display: block;
    color: var(--av2-meta);
    font-size: 14px;
    font-weight: 400;
  }

  .agenda-v2-sa.is-danger {
    color: var(--av2-late);
  }

  .agenda-v2-date-label {
    display: block;
    margin: 4px 12px;
    color: var(--av2-meta);
    font-size: 14px;
  }

  .agenda-v2-sheet input[type="date"],
  .agenda-v2-detail input[type="date"] {
    width: calc(100% - 24px);
    min-height: 48px;
    margin: 0 12px 12px;
    border: 1px solid var(--av2-line);
    border-radius: 8px;
    background: var(--av2-bg);
    font-size: 16px;
  }

  .agenda-v2-confirm {
    padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .agenda-v2-confirm p {
    margin: 0 8px 12px;
    color: var(--av2-meta);
    font-size: 16px;
    font-weight: 400;
  }

  .agenda-v2-confirm-actions {
    display: flex;
    gap: 8px;
  }

  .agenda-v2-btn {
    flex: 1;
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--av2-active);
    color: var(--av2-navy);
    font-size: 16px;
    font-weight: 700;
  }

  .agenda-v2-btn.is-danger {
    background: var(--av2-late-bg);
    color: var(--av2-late);
  }

  .agenda-v2-btn.is-primary {
    background: #0D3B66;
    color: #FFFFFF;
  }

  .agenda-v2-detail {
    padding: 8px 16px calc(var(--agenda-v2-nav-footprint, calc(var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + env(safe-area-inset-bottom, 0px))) + var(--agenda-v2-nav-gap, 8px) + 8px);
  }

  html.agenda-v2-on .agenda-v2-detail {
    bottom: 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }

  html.agenda-v2-on #agenda-v2 .agenda-v2-detail-end {
    position: static;
    z-index: auto;
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin: 12px 0 8px;
    padding: 0;
    background: transparent;
    border-top: 0;
  }

  html.agenda-v2-on #agenda-v2 .agenda-v2-created {
    margin: 12px 0 0;
    color: var(--av2-meta);
    font-size: 13px;
  }

  html.agenda-v2-on #agenda-v2 .agenda-v2-delete {
    flex: 1 1 0;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--av2-late, #B42318);
    border-radius: 10px;
    background: transparent;
    color: var(--av2-late, #B42318);
    font-size: 15px;
    font-weight: 600;
  }

  html.agenda-v2-on #agenda-v2 .agenda-v2-detail-end .agenda-v2-complete {
    flex: 1 1 0;
    width: auto;
  }

  .agenda-v2-panel:has(.agenda-v2-search-results) > .agenda-v2-lp {
    display: none;
  }

  .agenda-v2-search-results {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 8px 0 16px;
  }

  .agenda-v2-detail-top {
    display: flex;
    align-items: center;
    gap: 8px;
    position: sticky;
    top: 0;
    z-index: 3;
    margin: 0 -16px 4px;
    padding: 8px 8px;
    background: var(--av2-bg);
    background-color: var(--av2-bg);
  }

  .agenda-v2-detail-top .agenda-v2-icon-btn:focus,
  .agenda-v2-detail-top .agenda-v2-icon-btn:focus-visible {
    outline: 1px solid #0D3B66;
    outline-offset: 1px;
  }

  .agenda-v2-detail-list {
    color: var(--av2-navy, #0D3B66);
    font-size: 16px;
    font-weight: 500;
  }

  .agenda-v2-detail-title-row {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0 -8px 10px;
  }

  .agenda-v2-detail-title-row h1,
  .agenda-v2-detail-title-row .agenda-v2-title-btn,
  .agenda-v2-detail-title-row .agenda-v2-title-input {
    display: block;
    flex: 1;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 0 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left !important;
  }

  #main-app .agenda-v2-detail-title-row .agenda-v2-title-input:focus,
  #main-app .agenda-v2-detail-title-row .agenda-v2-title-input:focus-visible {
    border: 0 !important;
    border-bottom: 2px solid #0D3B66 !important;
    outline: 2px solid #0D3B66 !important;
    outline-offset: 2px;
    box-shadow: none !important;
    caret-color: #0D3B66;
    background: #FFFFFF;
  }

  .agenda-v2-detail-title-row .agenda-v2-title-btn {
    cursor: text;
  }

  .agenda-v2-detail-card {
    margin-bottom: 10px;
    background: var(--av2-card);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
  }

  .agenda-v2-desc {
    margin: 0 0 12px;
  }

  .agenda-v2-desc-label {
    display: block;
    margin: 0 0 4px;
    color: var(--av2-meta);
    font-size: 13px;
    font-weight: 600;
  }

  .agenda-v2-desc-body,
  .agenda-v2-desc-preview {
    color: var(--av2-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .agenda-v2-desc-body {
    margin: 0;
  }

  .agenda-v2-desc-empty {
    margin: 0;
    color: var(--av2-meta);
    font-size: 15px;
  }

  .agenda-v2-desc-field {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--av2-line);
    border-radius: 10px;
    background: var(--av2-card);
    color: var(--av2-meta);
    font-size: 16px;
    font-weight: 400;
  }

  .agenda-v2-desc textarea {
    width: 100%;
    min-height: 88px;
    padding: 8px 10px;
    border: 1px solid var(--av2-line);
    border-radius: 8px;
    background: var(--av2-card);
    color: var(--av2-text);
    font-size: 16px;
    white-space: pre-wrap;
  }

  .agenda-v2 button.agenda-v2-desc-add,
  .agenda-v2 button.agenda-v2-desc-add:hover,
  .agenda-v2 button.agenda-v2-desc-add:focus,
  .agenda-v2 button.agenda-v2-desc-add:active {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
    padding: 10px 12px;
    border: 1px solid var(--av2-navy, #0D3B66);
    border-radius: 10px;
    background: var(--av2-card);
    color: var(--av2-navy, #0D3B66);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .agenda-v2 button.agenda-v2-desc-add .agenda-v2-ic {
    flex: none;
    color: var(--av2-navy, #0D3B66);
  }

  /* (0,3,1) so the empty-state field beats `.agenda-v2 button { color: inherit }`. */
  .agenda-v2 button.agenda-v2-desc-add.is-placeholder,
  .agenda-v2 button.agenda-v2-desc-add.is-placeholder:hover,
  .agenda-v2 button.agenda-v2-desc-add.is-placeholder:focus,
  .agenda-v2 button.agenda-v2-desc-add.is-placeholder:active {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--av2-line);
    border-radius: 10px;
    background: var(--av2-card);
    color: var(--av2-meta);
    font-size: 16px;
    font-weight: 400;
    text-align: left;
  }

  .agenda-v2 button.agenda-v2-desc-add.is-placeholder .agenda-v2-ic {
    flex: none;
    color: var(--av2-meta);
  }

  .agenda-v2-desc-fold summary {
    min-height: 44px;
    cursor: pointer;
    color: var(--av2-navy, #0D3B66);
    font-weight: 600;
  }

  .agenda-v2-desc-fold[open] .agenda-v2-desc-preview {
    display: none;
  }

  .agenda-v2-prop {
    display: grid;
    grid-template-columns: 24px auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    min-height: 48px;
    padding: 2px 12px;
    border-bottom: 1px solid var(--av2-line);
  }

  .agenda-v2-prop:last-child {
    border-bottom: 0;
  }

  .agenda-v2-prop .agenda-v2-ic {
    color: var(--av2-navy, #0D3B66);
  }

  .agenda-v2-prop-label {
    color: var(--av2-meta);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
  }

  .agenda-v2-prop-value {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
    min-height: 44px;
    color: var(--av2-text);
    font-size: 16px;
    font-weight: 600;
    text-align: right;
  }

  .agenda-v2-prop-text,
  .agenda-v2-prop-btn {
    color: var(--av2-text);
    font-size: 16px;
    font-weight: 600;
  }

  .agenda-v2-prop-btn {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: right;
  }

  .agenda-v2-prop-btn.is-late,
  .agenda-v2-prop-text.is-late {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    max-width: 100%;
    white-space: nowrap;
  }

  .agenda-v2-prop .agenda-v2-chip.is-late {
    flex: none;
    min-height: 22px;
    padding: 0 8px;
    font-size: 12px;
  }

  .agenda-v2-prop-date {
    white-space: nowrap;
  }

  /* Chip color beats `.agenda-v2 button { color: inherit }` and `.agenda-v2-prop-btn`. */
  .agenda-v2 button.agenda-v2-prop-btn.is-late .agenda-v2-chip.is-late,
  .agenda-v2 .agenda-v2-prop-text.is-late .agenda-v2-chip.is-late {
    border-color: transparent;
    background: var(--av2-late-bg);
    color: var(--av2-late);
  }

  .agenda-v2-prop-list {
    display: flex;
    flex-direction: column;
    padding: 0 12px 8px 48px;
  }

  .agenda-v2-prop-list button {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--av2-text);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
  }

  .agenda-v2-complete {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: #0D3B66;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
  }

  /* (0,2,1) or higher so white wins over `.agenda-v2 button { color: inherit }`
     at (0,1,1). Do not change that reset — the star depends on it. */
  .agenda-v2 button.agenda-v2-complete,
  .agenda-v2 button.agenda-v2-complete:hover,
  .agenda-v2 button.agenda-v2-complete:focus,
  .agenda-v2 button.agenda-v2-complete:active,
  .agenda-v2 button.agenda-v2-btn.is-primary,
  .agenda-v2 button.agenda-v2-btn.is-primary:hover,
  .agenda-v2 button.agenda-v2-btn.is-primary:focus,
  .agenda-v2 button.agenda-v2-btn.is-primary:active,
  html[data-theme="dark"] .agenda-v2 button.agenda-v2-complete,
  html[data-theme="dark"] .agenda-v2 button.agenda-v2-complete:hover,
  html[data-theme="dark"] .agenda-v2 button.agenda-v2-complete:focus,
  html[data-theme="dark"] .agenda-v2 button.agenda-v2-complete:active,
  body[data-theme="dark"] .agenda-v2 button.agenda-v2-complete,
  body[data-theme="dark"] .agenda-v2 button.agenda-v2-complete:hover,
  body[data-theme="dark"] .agenda-v2 button.agenda-v2-complete:focus,
  body[data-theme="dark"] .agenda-v2 button.agenda-v2-complete:active,
  html[data-theme="dark"] .agenda-v2 button.agenda-v2-btn.is-primary,
  html[data-theme="dark"] .agenda-v2 button.agenda-v2-btn.is-primary:hover,
  html[data-theme="dark"] .agenda-v2 button.agenda-v2-btn.is-primary:focus,
  html[data-theme="dark"] .agenda-v2 button.agenda-v2-btn.is-primary:active,
  body[data-theme="dark"] .agenda-v2 button.agenda-v2-btn.is-primary,
  body[data-theme="dark"] .agenda-v2 button.agenda-v2-btn.is-primary:hover,
  body[data-theme="dark"] .agenda-v2 button.agenda-v2-btn.is-primary:focus,
  body[data-theme="dark"] .agenda-v2 button.agenda-v2-btn.is-primary:active {
    background: #0D3B66;
    background-color: #0D3B66;
    color: #FFFFFF;
  }

  .agenda-v2-step-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 12px 16px 8px;
    color: var(--av2-text);
    font-size: 15px;
    font-weight: 600;
  }

  .agenda-v2-step-count {
    color: var(--av2-meta);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
  }

  .agenda-v2-step-row {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 52px;
    padding-right: 8px;
    border-bottom: 1px solid var(--av2-line);
  }

  .agenda-v2-step {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 52px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
  }

  .agenda-v2-step.is-done span:last-child {
    color: var(--av2-meta);
    text-decoration: line-through;
  }

  .agenda-v2-tick {
    width: 22px;
    height: 22px;
    flex: none;
    display: grid;
    place-items: center;
    border: 2px solid var(--av2-muted);
    border-radius: 4px;
    color: var(--av2-on-navy);
  }

  .agenda-v2-step.is-done .agenda-v2-tick {
    background: var(--av2-navy);
    border-color: var(--av2-navy);
  }

  .agenda-v2-step-form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 48px;
    padding: 0 16px;
  }

  .agenda-v2-step-add {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--av2-navy, #0D3B66);
    font-size: 16px;
    text-align: left;
  }

  .agenda-v2-desc-label-row {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .agenda-v2-desc-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #0D3B66;
  }

  .agenda-v2-step-form input,
  .agenda-v2-notes textarea {
    width: 100%;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
  }

  .agenda-v2-step-form input,
  .agenda-v2-step-form textarea {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .agenda-v2-step-form textarea {
    align-self: center;
    min-height: 48px;
    max-height: 96px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    resize: none;
  }

  html:not([data-theme="dark"]) body:not([data-theme="dark"]) .agenda-v2-step-form input::placeholder {
    color: #46505E;
    opacity: 1;
  }

  html[data-theme="dark"] .agenda-v2-step-form input::placeholder,
  body[data-theme="dark"] .agenda-v2-step-form input::placeholder,
  html[data-theme="dark"] .agenda-v2-step-form textarea::placeholder,
  body[data-theme="dark"] .agenda-v2-step-form textarea::placeholder {
    color: #94A3B8;
    opacity: 1;
  }

  html:not([data-theme="dark"]) body:not([data-theme="dark"]) .agenda-v2-step-form textarea::placeholder {
    color: #46505E;
    opacity: 1;
  }

  .agenda-v2-notes textarea {
    min-height: 72px;
    padding: 0 14px 12px;
    resize: vertical;
  }

  .agenda-v2-hint {
    margin: 0;
    padding: 0 14px 12px;
  }

  .agenda-v2-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    padding: 8px 14px;
    border: 0;
    border-bottom: 1px solid var(--av2-line);
    background: transparent;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
  }

  .agenda-v2-detail-card .agenda-v2-row:last-child {
    border-bottom: 0;
  }

  .agenda-v2-row-copy {
    flex: 1;
    min-width: 0;
  }

  .agenda-v2-row select {
    width: 100%;
    min-height: 40px;
    border: 0;
    background: transparent;
    font-size: 16px;
  }

  .agenda-v2-files {
    display: flex;
    flex-direction: column;
  }

  .agenda-v2-file {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 14px;
    color: var(--av2-navy);
    font-size: 16px;
    font-weight: 400;
  }

  .agenda-v2-note-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px 6px;
    color: var(--av2-meta);
    font-size: 14px;
    font-weight: 400;
  }

  .agenda-v2-notes p {
    margin: 0;
    padding: 0 14px 14px;
    font-size: 16px;
    font-weight: 400;
  }

  .agenda-v2-detail-foot {
    position: absolute;
    right: 0;
    bottom: calc(var(--agenda-v2-nav-footprint, calc(var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + env(safe-area-inset-bottom, 0px))) + var(--agenda-v2-nav-gap, 8px));
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 56px;
    padding: 0 8px 0 16px;
    background: var(--av2-card);
    border-top: 1px solid var(--av2-line);
  }

  .agenda-v2-detail-foot span {
    flex: 1;
    color: var(--av2-meta);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
  }

  .agenda-v2-toast {
    position: absolute;
    left: 50%;
    z-index: 8;
    width: max-content;
    max-width: calc(100% - 32px);
    transform: translateX(-50%);
    padding: 10px 16px;
    border: 1px solid var(--av2-line);
    border-radius: 8px;
    background: var(--av2-card);
    color: var(--av2-text);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    pointer-events: none;
    bottom: calc(var(--agenda-v2-add-h, 64px) + var(--agenda-v2-nav-gap, 8px) + var(--agenda-v2-nav-h, 70px) + var(--agenda-v2-nav-float, 8px) + env(safe-area-inset-bottom, 0px) + 12px);
  }

  .agenda-v2.is-kb .agenda-v2-toast {
    bottom: calc(var(--agenda-v2-add-h, 64px) + 12px);
  }

  .agenda-v2.is-kb.is-quickadd .agenda-v2-toast,
  .agenda-v2.is-quickadd .agenda-v2-toast {
    z-index: 9;
    bottom: var(--agenda-v2-qa-toast-bottom, calc(max(env(keyboard-inset-height, 0px), var(--agenda-v2-kb, 0px)) + 168px));
    border: 0;
    background: #0F172A;
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
  }
}

/* Notulen inside Agenda v2. Phone shell rules stay above; these apply after that block. */

#agenda-v2-notulen.agenda-notulen {
  --nt-accent: #2F6FD6;
  --nt-accent-soft: #E7F0FF;
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--av2-bg, #F4F6FA);
  color: var(--av2-text, #0F172A);
  font-family: Roboto, sans-serif;
}

html[data-theme="dark"] #agenda-v2-notulen.agenda-notulen,
body[data-theme="dark"] #agenda-v2-notulen.agenda-notulen {
  --nt-accent: var(--av2-navy, #DBEAFE);
  --nt-accent-soft: var(--av2-active, #1E3A5F);
}

#agenda-v2-notulen[hidden] {
  display: none !important;
}

#agenda-v2 .agenda-notulen,
#agenda-v2 .agenda-notulen button,
#agenda-v2 .agenda-notulen input,
#agenda-v2 .agenda-notulen textarea,
#agenda-v2 .agenda-notulen select,
#agenda-v2 .agenda-notulen-menu,
#agenda-detail-proposal,
#agenda-detail-proposal button,
#agenda-detail-proposal textarea,
.agenda-v2-detail .agenda-notulen-decide,
.agenda-v2-detail .agenda-notulen-decide button {
  font-family: Roboto, sans-serif;
  box-sizing: border-box;
}

#agenda-v2 .agenda-notulen button,
#agenda-v2 .agenda-notulen-menu,
#agenda-detail-proposal button,
.agenda-v2-detail .agenda-notulen-decide button {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  color: inherit;
  box-shadow: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

#agenda-v2 .agenda-notulen button:hover,
#agenda-v2 .agenda-notulen button:focus,
#agenda-v2 .agenda-notulen button:active,
#agenda-v2 .agenda-notulen-menu:hover,
#agenda-v2 .agenda-notulen-menu:focus,
#agenda-v2 .agenda-notulen-menu:active,
#agenda-detail-proposal button:hover,
#agenda-detail-proposal button:focus,
#agenda-detail-proposal button:active,
.agenda-v2-detail .agenda-notulen-decide button:hover,
.agenda-v2-detail .agenda-notulen-decide button:focus,
.agenda-v2-detail .agenda-notulen-decide button:active {
  background: transparent;
  background-color: transparent;
  color: inherit;
}

#agenda-v2 .agenda-notulen button:focus-visible,
#agenda-v2 .agenda-notulen input:focus-visible,
#agenda-v2 .agenda-notulen textarea:focus-visible,
#agenda-v2 .agenda-notulen select:focus-visible,
#agenda-v2 .agenda-notulen-menu:focus-visible,
.agenda-notulen-decide button:focus-visible,
.agenda-notulen-grip:focus-visible {
  outline: 2px solid var(--nt-accent, #2F6FD6);
  outline-offset: 2px;
}

#agenda-v2 .agenda-notulen-screen {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

#agenda-v2 .agenda-notulen-top {
  display: flex;
  flex: none;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 4px 8px;
  border-bottom: 1px solid var(--av2-line, #E3E8EF);
  background: var(--av2-card, #fff);
}

#agenda-v2 .agenda-notulen-head {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--av2-text, #0F172A);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#agenda-v2 .agenda-notulen-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 8px 16px calc(96px + env(safe-area-inset-bottom, 0px));
  -webkit-overflow-scrolling: touch;
}

#agenda-v2 .agenda-notulen-h1 {
  margin: 8px 0 0;
  color: var(--av2-text, #0F172A);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

#agenda-v2 .agenda-notulen-sub,
#agenda-v2 .agenda-notulen-hint,
#agenda-v2 .agenda-notulen-empty {
  margin: 4px 0 8px;
  color: var(--av2-meta, #46505E);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

#agenda-v2 .agenda-notulen-err {
  margin: 8px 0;
  padding: 8px 12px;
  border: 1px solid #FECACA;
  border-radius: 8px;
  background: var(--av2-late-bg, #FEE2E2);
  color: var(--av2-late, #B91C1C);
  font-size: 14px;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
}

#agenda-v2 .agenda-notulen-block.is-closed {
  background: #F8FAFC;
}

html[data-theme="dark"] #agenda-v2 .agenda-notulen-block.is-closed,
body[data-theme="dark"] #agenda-v2 .agenda-notulen-block.is-closed {
  background: var(--av2-active, #1E3A5F);
}

#agenda-v2 .agenda-notulen-state {
  margin: 8px 0 0;
  color: var(--av2-meta, #46505E);
  font-size: 13px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen-block.is-closed .agenda-notulen-state {
  color: #1E3A8A;
}

html[data-theme="dark"] #agenda-v2 .agenda-notulen-block.is-closed .agenda-notulen-state,
body[data-theme="dark"] #agenda-v2 .agenda-notulen-block.is-closed .agenda-notulen-state {
  color: var(--av2-navy, #DBEAFE);
}

#agenda-v2 .agenda-notulen-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

#agenda-v2 .agenda-notulen .agenda-notulen-status-row button.agenda-notulen-quiet,
#agenda-v2 .agenda-notulen .agenda-notulen-status-row button.agenda-notulen-quiet:hover,
#agenda-v2 .agenda-notulen .agenda-notulen-status-row button.agenda-notulen-quiet:focus,
#agenda-v2 .agenda-notulen .agenda-notulen-status-row button.agenda-notulen-quiet:active {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 8px;
  background: var(--av2-card, #fff);
  background-color: var(--av2-card, #fff);
  color: var(--av2-navy, #0D3B66);
}

#agenda-v2 .agenda-notulen-draft-note {
  flex: none;
  margin: 0;
  padding: 8px 16px;
  border-bottom: 3px solid #C2410C;
  background: #FFF7ED;
  color: #7C2D12;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

html[data-theme="dark"] #agenda-v2 .agenda-notulen-draft-note,
body[data-theme="dark"] #agenda-v2 .agenda-notulen-draft-note {
  border-bottom-color: var(--av2-star, #FDBA74);
  background: var(--av2-active, #1E3A5F);
  color: var(--av2-star, #FDBA74);
}

.agenda-notulen-reject {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.agenda-notulen-reject-error:empty {
  display: none;
}

.agenda-notulen-reject-error {
  flex: 1 1 180px;
  margin: 8px 0 0;
  color: #B91C1C;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 480px) {
  #agenda-v2 .agenda-notulen button.agenda-notulen-save {
    min-height: 48px;
    min-width: 48px;
  }
}

#agenda-v2 .agenda-notulen-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 10px;
}

#agenda-v2 .agenda-notulen-icon.is-tiny {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
}

#agenda-v2 .agenda-notulen-ic {
  display: block;
  flex: none;
}

#agenda-v2 .agenda-notulen-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}

#agenda-v2 .agenda-notulen-filters button,
#agenda-v2 .agenda-notulen-filters button:hover,
#agenda-v2 .agenda-notulen-filters button:focus,
#agenda-v2 .agenda-notulen-filters button:active,
#agenda-v2 .agenda-notulen-filter,
#agenda-v2 .agenda-notulen-filter:hover,
#agenda-v2 .agenda-notulen-filter:focus,
#agenda-v2 .agenda-notulen-filter:active {
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 999px;
  background: var(--av2-card, #fff);
  background-color: var(--av2-card, #fff);
  color: var(--av2-text, #0F172A);
  font-size: 14px;
  font-weight: 500;
}

#agenda-v2 .agenda-notulen-filters button.is-on,
#agenda-v2 .agenda-notulen-filters button.is-on:hover,
#agenda-v2 .agenda-notulen-filters button.is-on:focus,
#agenda-v2 .agenda-notulen-filters button.is-on:active,
#agenda-v2 .agenda-notulen-filter.is-on,
#agenda-v2 .agenda-notulen-filter.is-on:hover,
#agenda-v2 .agenda-notulen-filter.is-on:focus,
#agenda-v2 .agenda-notulen-filter.is-on:active {
  border-color: var(--av2-navy, #0D3B66);
  background: var(--av2-navy, #0D3B66);
  background-color: var(--av2-navy, #0D3B66);
  color: var(--av2-on-navy, #fff);
}

#agenda-v2 .agenda-notulen-month {
  margin: 16px 0 8px;
  color: var(--av2-meta, #46505E);
  font-size: 13px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-card,
#agenda-v2 .agenda-notulen button.agenda-notulen-card:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-card:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-card:active {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-height: 72px;
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 12px;
  background: var(--av2-card, #fff);
  background-color: var(--av2-card, #fff);
  color: var(--av2-text, #0F172A);
  text-align: left;
}

#agenda-v2 .agenda-notulen-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  color: var(--av2-meta, #46505E);
  font-size: 12px;
}

#agenda-v2 .agenda-notulen-card-title {
  color: var(--av2-text, #0F172A);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

#agenda-v2 .agenda-notulen-card-meta {
  color: var(--av2-meta, #46505E);
  font-size: 13px;
}

#agenda-v2 .agenda-notulen-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--nt-accent-soft, #E7F0FF);
  color: var(--nt-accent, #2F6FD6);
  font-size: 12px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen-badge.is-mingguan { background: #F3E8FF; color: #6A2C91; }
#agenda-v2 .agenda-notulen-badge.is-bulanan { background: #CFFAFE; color: #0B6E80; }
#agenda-v2 .agenda-notulen-badge.is-umum { background: #E8EEF5; color: #0D3B66; }

#agenda-v2 .agenda-notulen-bar {
  flex: none;
  padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--av2-line, #E3E8EF);
  background: var(--av2-card, #fff);
}

#agenda-v2 .agenda-notulen button.agenda-notulen-bar-btn,
#agenda-v2 .agenda-notulen button.agenda-notulen-bar-btn:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-bar-btn:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-bar-btn:active,
#agenda-detail-proposal button.agenda-notulen-bar-btn,
#agenda-detail-proposal button.agenda-notulen-bar-btn:hover,
.agenda-v2-detail .agenda-notulen-decide button.agenda-notulen-bar-btn,
.agenda-v2-detail .agenda-notulen-decide button.agenda-notulen-bar-btn:hover,
.agenda-v2-detail .agenda-notulen-decide button.agenda-notulen-bar-btn:focus,
.agenda-v2-detail .agenda-notulen-decide button.agenda-notulen-bar-btn:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #0D3B66;
  background-color: #0D3B66;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-save,
#agenda-v2 .agenda-notulen button.agenda-notulen-save:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-save:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-save:active {
  flex: none;
  min-height: 44px;
  margin-left: 4px;
  padding: 0 14px;
  border-radius: 10px;
  background: #0D3B66;
  background-color: #0D3B66;
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-delete,
#agenda-v2 .agenda-notulen button.agenda-notulen-delete:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-delete:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-delete:active {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 24px;
  padding: 0 16px;
  border: 1px solid #B91C1C;
  border-radius: 12px;
  background: transparent;
  background-color: transparent;
  color: #B91C1C;
  font-weight: 700;
  box-shadow: none;
}

@media (max-width: 768px), (max-height: 520px) and (orientation: landscape) {
  #agenda-v2 .agenda-notulen button.agenda-notulen-delete,
  #agenda-v2 .agenda-notulen button.agenda-notulen-delete:hover,
  #agenda-v2 .agenda-notulen button.agenda-notulen-delete:focus,
  #agenda-v2 .agenda-notulen button.agenda-notulen-delete:active {
    min-height: 48px;
  }
}

#agenda-v2 .agenda-notulen button:disabled,
#agenda-v2 .agenda-notulen button:disabled:hover {
  opacity: 0.55;
  cursor: default;
}

#agenda-v2 .agenda-notulen-lbl {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0 0;
  color: var(--av2-meta, #46505E);
  font-size: 13px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen input:not([type="checkbox"]),
#agenda-v2 .agenda-notulen textarea,
#agenda-v2 .agenda-notulen select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 10px;
  background: var(--av2-card, #fff);
  color: var(--av2-text, #0F172A);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

#agenda-v2 .agenda-notulen textarea {
  resize: none;
  line-height: 1.45;
}

#agenda-v2 .agenda-notulen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#agenda-v2 .agenda-notulen-combo {
  position: relative;
}

#agenda-v2 .agenda-notulen-combo-box {
  padding: 6px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 12px;
  background: var(--av2-card, #fff);
}

#agenda-v2 .agenda-notulen .agenda-notulen-combo-box input,
#agenda-v2 .agenda-notulen .agenda-notulen-combo-box input:hover,
#agenda-v2 .agenda-notulen .agenda-notulen-combo-box input:focus,
#agenda-v2 .agenda-notulen .agenda-notulen-combo-box input:focus-visible {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
  min-height: 40px;
  padding: 4px 8px;
}

#agenda-v2 .agenda-notulen .agenda-notulen-combo-box:focus-within {
  border-color: var(--nt-accent, #2F6FD6);
  box-shadow: 0 0 0 3px rgba(47, 111, 214, 0.16);
}

#agenda-v2 .agenda-notulen-person-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
}

#agenda-v2 .agenda-notulen-person {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 32px;
  padding: 0 2px 0 10px;
  border-radius: 999px;
  background: var(--nt-accent-soft, #E7F0FF);
  color: var(--av2-text, #0F172A);
  font-size: 14px;
}

#agenda-v2 .agenda-notulen-pop {
  max-height: 240px;
  margin-top: 6px;
  overflow: auto;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 12px;
  background: var(--av2-card, #fff);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

#agenda-v2 .agenda-notulen-pop[hidden] {
  display: none !important;
}

#agenda-v2 .agenda-notulen-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  text-align: left;
}

#agenda-v2 .agenda-notulen-opt strong,
#agenda-v2 .agenda-notulen-ag-title,
#agenda-v2 .agenda-notulen-prev strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen-opt small,
#agenda-v2 .agenda-notulen-ag-meta,
#agenda-v2 .agenda-notulen-prev small,
#agenda-v2 .agenda-notulen-attend small {
  display: block;
  color: var(--av2-meta, #46505E);
  font-size: 13px;
  font-weight: 400;
}

#agenda-v2 .agenda-notulen-box {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--av2-line, #E3E8EF);
  border-radius: 6px;
  color: #fff;
}

#agenda-v2 .agenda-notulen-opt.is-on .agenda-notulen-box {
  border-color: var(--nt-accent, #2F6FD6);
  background: var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 8px 0;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen-knob {
  position: relative;
  flex: none;
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: #CBD5E1;
}

#agenda-v2 .agenda-notulen-knob::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}

#agenda-v2 .agenda-notulen-switch.is-on .agenda-notulen-knob {
  background: var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen-switch.is-on .agenda-notulen-knob::after {
  left: 21px;
}

#agenda-v2 .agenda-notulen-prev {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 12px;
  background: var(--av2-card, #fff);
  text-align: left;
}

#agenda-v2 .agenda-notulen-prev.is-on {
  border-color: var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen-radio {
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--av2-muted, #5C6778);
  border-radius: 50%;
}

#agenda-v2 .agenda-notulen-prev.is-on .agenda-notulen-radio {
  border-color: var(--nt-accent, #2F6FD6);
  box-shadow: inset 0 0 0 4px var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen-carry {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) minmax(120px, 42%);
  gap: 8px;
  align-items: center;
  min-height: 52px;
  margin-top: 8px;
}

#agenda-v2 .agenda-notulen-carry input[type="date"] {
  min-height: 44px;
}

#agenda-v2 .agenda-notulen-hero {
  padding-bottom: 8px;
}

#agenda-v2 .agenda-notulen .agenda-notulen-hero-title,
#agenda-v2 .agenda-notulen .agenda-notulen-hero-title:hover,
#agenda-v2 .agenda-notulen .agenda-notulen-hero-title:focus {
  display: block;
  width: 100%;
  height: auto;
  min-height: 1.25em;
  max-height: none;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--av2-text, #0F172A);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  field-sizing: content;
  overflow: hidden;
  resize: none;
}

#agenda-v2 .agenda-notulen-hero .agenda-notulen-grid {
  margin-top: 4px;
}

#agenda-v2 .agenda-notulen-hero .agenda-notulen-lbl {
  margin-top: 0;
}

#agenda-v2 .agenda-notulen-when {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

#agenda-v2 .agenda-notulen .agenda-notulen-when input,
#agenda-v2 .agenda-notulen .agenda-notulen-when input:hover,
#agenda-v2 .agenda-notulen .agenda-notulen-when input:focus {
  width: auto;
  min-width: 0;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#agenda-v2 .agenda-notulen-sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
}

#agenda-v2 .agenda-notulen-sec-h {
  margin: 18px 0 4px;
  font-size: 16px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen-sec-row .agenda-notulen-sec-h {
  margin: 0;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add,
#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add:active,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet:active {
  min-height: 44px;
  padding: 8px 0;
  background: transparent;
  background-color: transparent;
  color: var(--nt-accent, #2F6FD6);
  font-weight: 700;
  box-shadow: none;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add,
#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add:active,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet[data-act="nt-link"],
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet[data-act="nt-link"]:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet[data-act="nt-link"]:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet[data-act="nt-link"]:active {
  color: var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen button.agenda-notulen-quiet.is-danger,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet.is-danger:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet.is-danger:focus {
  color: var(--av2-late, #B91C1C);
  background: transparent;
}

#agenda-v2 .agenda-notulen-ag-list {
  display: flex;
  flex-direction: column;
}

#agenda-v2 .agenda-notulen-ag {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--av2-line, #E3E8EF);
}

#agenda-v2 .agenda-notulen-ag.is-locked {
  display: block;
  color: var(--av2-meta, #46505E);
}

#agenda-v2 .agenda-notulen-ag-hit {
  display: flex;
  flex: 1;
  gap: 10px;
  align-items: flex-start;
  min-width: 0;
  min-height: 44px;
  padding: 4px 0;
  text-align: left;
}

#agenda-v2 .agenda-notulen-ag-ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--nt-accent-soft, #E7F0FF);
  color: var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen-ag-copy {
  min-width: 0;
}

#agenda-v2 .agenda-notulen-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

#agenda-v2 .agenda-notulen-chip.is-diusulkan { background: #FEF3C7; color: #92400E; }
#agenda-v2 .agenda-notulen-chip.is-todo { background: #E8EEF5; color: #0D3B66; }
#agenda-v2 .agenda-notulen-chip.is-in_progress { background: #DBEAFE; color: #1D4ED8; }
#agenda-v2 .agenda-notulen-chip.is-on_hold { background: #FFEDD5; color: #C2410C; }
#agenda-v2 .agenda-notulen-chip.is-review { background: #F3E8FF; color: #6A2C91; }
#agenda-v2 .agenda-notulen-chip.is-done { background: #DCFCE7; color: #166534; }
#agenda-v2 .agenda-notulen-chip.is-lanjut { background: var(--nt-accent-soft, #E7F0FF); color: var(--nt-accent, #2F6FD6); }

#agenda-v2 .agenda-notulen-status-menu {
  position: absolute;
  z-index: 3;
  top: calc(100% - 4px);
  right: 0;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  overflow: hidden;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 12px;
  background: var(--av2-card, #fff);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.16);
}

#agenda-v2 .agenda-notulen-status-menu button {
  min-height: 44px;
  padding: 0 12px;
}

#agenda-v2 .agenda-notulen-mini {
  display: grid;
  grid-template-columns: 72px auto;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: var(--av2-meta, #46505E);
  font-size: 12px;
}

#agenda-v2 .agenda-notulen-mini i {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen-note-wrap {
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 12px;
  background: var(--av2-card, #fff);
}

#agenda-v2 .agenda-notulen .agenda-notulen-note,
#agenda-v2 .agenda-notulen .agenda-notulen-note:hover,
#agenda-v2 .agenda-notulen .agenda-notulen-note:focus {
  display: block;
  width: 100%;
  min-height: 150px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#agenda-v2 .agenda-notulen-grip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  touch-action: none;
  cursor: ns-resize;
}

#agenda-v2 .agenda-notulen-grip::before {
  content: "";
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--av2-line, #CBD5E1);
}

#agenda-v2 .agenda-notulen-dec {
  margin: 0;
  padding: 0;
  list-style: none;
}

#agenda-v2 .agenda-notulen-dec li {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-bottom: 1px solid var(--av2-line, #E3E8EF);
}

#agenda-v2 .agenda-notulen-dec li span {
  flex: 1;
  min-width: 0;
}

#agenda-v2 .agenda-notulen-add {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

#agenda-v2 .agenda-notulen-add input {
  flex: 1;
}

#agenda-v2 .agenda-notulen-add button,
#agenda-v2 .agenda-notulen-add button:hover {
  flex: none;
  min-height: 44px;
  padding: 0 12px;
  background: transparent;
  color: var(--nt-accent, #2F6FD6);
  font-weight: 700;
}

#agenda-v2 .agenda-notulen-block {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 12px;
  background: var(--av2-card, #fff);
}

#agenda-v2 .agenda-notulen-block .agenda-notulen-bar-btn {
  margin-top: 8px;
}

#agenda-v2 .agenda-notulen-block .agenda-notulen-quiet,
#agenda-v2 .agenda-notulen-block .agenda-notulen-quiet:hover,
#agenda-v2 .agenda-notulen-block .agenda-notulen-quiet:focus {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

#agenda-v2 .agenda-notulen-count {
  color: var(--av2-meta, #46505E);
  font-size: 13px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen-attend {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 56px;
  border-bottom: 1px solid var(--av2-line, #E3E8EF);
}

#agenda-v2 .agenda-notulen-attend-who {
  flex: 1 1 auto;
  min-width: 0;
}

#agenda-v2 .agenda-notulen-attend.is-out {
  opacity: 0.55;
}

#agenda-v2 .agenda-notulen-hadir {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

#agenda-v2 .agenda-notulen input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 0;
  accent-color: var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen-backdrop {
  position: absolute;
  z-index: 5;
  inset: 0;
  padding: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
}

#agenda-v2 .agenda-notulen-sheet {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  max-height: 85%;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: var(--av2-card, #fff);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
}

#agenda-v2 .agenda-notulen-grab {
  width: 44px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 4px;
  background: var(--av2-line, #E3E8EF);
}

#agenda-v2 .agenda-notulen-sheet-head,
#agenda-v2 .agenda-notulen-sheet-foot {
  display: flex;
  flex: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}

#agenda-v2 .agenda-notulen-sheet-head h2 {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen-sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 0 12px 12px;
}

#agenda-v2 .agenda-notulen-sheet-foot {
  border-top: 1px solid var(--av2-line, #E3E8EF);
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

#agenda-v2 .agenda-notulen-menu,
#agenda-v2 .agenda-notulen-menu:hover,
#agenda-v2 .agenda-notulen-menu:focus,
#agenda-v2 .agenda-notulen-menu:active {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  background-color: transparent;
  color: var(--av2-text, #0F172A);
  font-size: 16px;
  font-weight: 400;
  text-align: left;
}

#agenda-v2 .agenda-notulen-menu.is-active,
#agenda-v2 .agenda-notulen-menu.is-active:hover,
#agenda-v2 .agenda-notulen-menu.is-active:focus,
#agenda-v2 .agenda-notulen-menu.is-active:active {
  background: #DCE6F2;
  background-color: #DCE6F2;
  color: #0D3B66;
  font-weight: 500;
  box-shadow: inset 3px 0 0 #0D3B66;
}

html.agenda-v2-on #agenda-v2.is-notulen {
  top: 0;
  z-index: 1400;
  background: var(--av2-bg, #F4F6FA);
}

/* Phone notulen is position:fixed at 1400. SweetAlert is appended to body
   at 1060, so Pulihkan / keluar / Hapus paint under the editor. :where()
   on the vendor rule has no specificity, so this wins without !important. */
html.agenda-v2-on:has(#agenda-v2.is-notulen) .swal2-container {
  z-index: 1600;
}

/* Notulen SweetAlert only (.notulen-swal). Vendor button rules use :where(),
   so these classes win without !important. Primary matches --brand-color;
   hover/focus uses --brand-hover. Secondary matches .btn-secondary in light
   mode (surface, text, border). Hapus stays --error-color. Warning icon
   matches app-dialog dialog-icon-warning; the question icon matches
   dialog-icon-question. */
.swal2-popup.notulen-swal .swal2-icon.swal2-warning {
  border-color: #b45309;
  color: #b45309;
}

.swal2-popup.notulen-swal .swal2-icon.swal2-question {
  border-color: #0D3B66;
  color: #0D3B66;
}

.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-primary {
  background-color: #0D3B66;
  color: #fff;
  box-shadow: none;
}

.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-primary:hover,
.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-primary:focus,
.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-primary:focus-visible {
  background-color: #082F49;
  color: #fff;
}

.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-primary:focus,
.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-primary:focus-visible {
  outline: 2px solid #082F49;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.45);
}

.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-secondary {
  background-color: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-secondary:hover,
.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-secondary:focus,
.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-secondary:focus-visible {
  background-color: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-secondary:focus,
.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-secondary:focus-visible {
  outline: 2px solid #0D3B66;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.35);
}

.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-danger {
  background-color: #B91C1C;
  color: #fff;
  box-shadow: none;
}

.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-danger:hover,
.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-danger:focus,
.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-danger:focus-visible {
  background-color: #991B1B;
  color: #fff;
}

.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-danger:focus,
.swal2-popup.notulen-swal button.swal2-styled.notulen-swal-danger:focus-visible {
  outline: 2px solid #7F1D1D;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.45);
}

.swal2-popup.notulen-swal h2.swal2-title {
  color: #0F172A;
}

.swal2-popup.notulen-swal button.swal2-styled {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
}

@media (max-width: 768px), (max-height: 520px) and (orientation: landscape) {
  .swal2-popup.notulen-swal button.swal2-styled {
    min-height: 48px;
  }
}

html.agenda-v2-on #agenda-v2.is-notulen > #agenda-v2-detail {
  display: none !important;
}

html.agenda-v2-on #agenda-v2.is-notulen > #agenda-v2-notulen:not([hidden]) {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex !important;
  background: var(--av2-bg, #F4F6FA);
}

html.agenda-v2-on #agenda-v2.is-notulen > #agenda-v2-scroll,
html.agenda-v2-on #agenda-v2.is-notulen > #agenda-v2-add,
html.agenda-v2-on #agenda-v2.is-notulen > #agenda-v2-fab,
html.agenda-v2-on #agenda-v2.is-notulen > #agenda-v2-qa-dim {
  display: none !important;
}

html.agenda-v2-on #agenda-v2.is-notulen .agenda-notulen-top {
  padding-top: calc(4px + env(safe-area-inset-top, 0px));
}

html.agenda-v2-on #agenda-v2 .agenda-notulen-menu {
  border-top: 1px solid var(--av2-line, #E3E8EF);
}

html.agenda-v2-on #agenda-v2 .agenda-v2-lp > .agenda-notulen-menu,
html.agenda-v2-on #agenda-v2 .agenda-v2-lp > .agenda-notulen-menu:hover,
html.agenda-v2-on #agenda-v2 .agenda-v2-lp > .agenda-notulen-menu:focus,
html.agenda-v2-on #agenda-v2 .agenda-v2-lp > .agenda-notulen-menu:active {
  margin-top: 0;
  border-top: 0;
  position: static;
  width: 100%;
}

.agenda-notulen-decide,
#agenda-detail-proposal .agenda-notulen-decide {
  margin: 8px 0 12px;
  padding: 12px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 12px;
  background: var(--av2-card, #fff);
  color: var(--av2-text, #0F172A);
}

.agenda-notulen-decide p {
  margin: 0 0 8px;
  font-size: 14px;
}

.agenda-notulen-decide-row {
  display: flex;
  gap: 8px;
}

.agenda-notulen-decide .agenda-notulen-quiet,
.agenda-notulen-decide .agenda-notulen-quiet:hover,
#agenda-detail-proposal .agenda-notulen-quiet,
#agenda-detail-proposal .agenda-notulen-quiet:hover {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid #FECACA;
  border-radius: 12px;
  background: transparent;
  background-color: transparent;
  color: #B91C1C;
  font-weight: 700;
  text-align: center;
}

.agenda-notulen-decide .agenda-notulen-bar-btn,
#agenda-detail-proposal .agenda-notulen-bar-btn {
  flex: 1;
}

.agenda-notulen-reject {
  margin-top: 8px;
}

.agenda-notulen-reject textarea {
  width: 100%;
  min-height: 88px;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 10px;
  background: var(--av2-card, #fff);
  color: inherit;
  font: inherit;
}

html[data-theme="dark"] #agenda-v2 .agenda-notulen-chip.is-diusulkan,
body[data-theme="dark"] #agenda-v2 .agenda-notulen-chip.is-diusulkan {
  background: #451A03;
  color: #FDE68A;
}

html[data-theme="dark"] #agenda-v2 .agenda-notulen-chip.is-todo,
body[data-theme="dark"] #agenda-v2 .agenda-notulen-chip.is-todo {
  background: #1E3A5F;
  color: #DBEAFE;
}

html[data-theme="dark"] #agenda-v2 .agenda-notulen-menu.is-active,
html[data-theme="dark"] #agenda-v2 .agenda-notulen-menu.is-active:hover,
body[data-theme="dark"] #agenda-v2 .agenda-notulen-menu.is-active,
body[data-theme="dark"] #agenda-v2 .agenda-notulen-menu.is-active:hover {
  background: #1E3A5F;
  background-color: #1E3A5F;
  color: #DBEAFE;
  box-shadow: inset 3px 0 0 #DBEAFE;
}

/* Notulen round 2: navy actions, 24h fields, agenda rows like mockup v3. */

#agenda-v2 .agenda-notulen-filters {
  flex-wrap: nowrap;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

#agenda-v2 .agenda-notulen-filters button {
  flex: 0 0 auto;
  min-width: max-content;
  min-height: 48px;
  overflow: visible;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-bar-btn,
#agenda-v2 .agenda-notulen button.agenda-notulen-bar-btn:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-bar-btn:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-bar-btn:active,
#agenda-v2 .agenda-notulen button.agenda-notulen-save,
#agenda-v2 .agenda-notulen button.agenda-notulen-save:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-save:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-save:active,
.agenda-v2-detail .agenda-notulen-decide button.agenda-notulen-bar-btn,
.agenda-v2-detail .agenda-notulen-decide button.agenda-notulen-bar-btn:hover,
.agenda-v2-detail .agenda-notulen-decide button.agenda-notulen-bar-btn:focus,
.agenda-v2-detail .agenda-notulen-decide button.agenda-notulen-bar-btn:active,
#agenda-detail-proposal button.agenda-notulen-bar-btn,
#agenda-detail-proposal button.agenda-notulen-bar-btn:hover,
#agenda-detail-proposal button.agenda-notulen-bar-btn:focus,
#agenda-detail-proposal button.agenda-notulen-bar-btn:active {
  background: #0D3B66;
  background-color: #0D3B66;
  color: #fff;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-quiet,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet:active {
  background: transparent;
  background-color: transparent;
  color: var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add,
#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-sec-add:active,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet[data-act="nt-link"],
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet[data-act="nt-link"]:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet[data-act="nt-link"]:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-quiet[data-act="nt-link"]:active {
  background: transparent;
  background-color: transparent;
  color: var(--nt-accent, #2F6FD6);
}

#agenda-v2 .agenda-notulen .agenda-notulen-lbl {
  font-size: 13px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen .agenda-notulen-clock-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

#agenda-v2 .agenda-notulen .agenda-notulen-tz {
  color: #46505E;
  font-size: 13px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen .agenda-notulen-combo-box input,
#agenda-v2 .agenda-notulen .agenda-notulen-combo-box input:hover,
#agenda-v2 .agenda-notulen .agenda-notulen-combo-box input:focus,
#agenda-v2 .agenda-notulen .agenda-notulen-combo-box input:focus-visible,
#main-app #agenda-v2 .agenda-notulen .agenda-notulen-combo-box input:focus,
#main-app #agenda-v2 .agenda-notulen .agenda-notulen-combo-box input:focus-visible {
  outline: none !important;
  outline-offset: 0;
  box-shadow: none !important;
  border: 0 !important;
  border-color: transparent !important;
}

#agenda-v2 .agenda-notulen .agenda-notulen-combo-box:focus-within {
  border-color: #2F6FD6;
  outline: none;
  box-shadow: none;
}

#agenda-v2 .agenda-notulen-type-lock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 2px 10px 2px 8px;
  border-radius: 999px;
  background: #E8EEF5;
  color: #0D3B66;
  font-size: 13px;
  font-weight: 700;
}

#agenda-v2 .agenda-notulen-type-lock .agenda-notulen-ic {
  width: 16px;
  height: 16px;
}

#agenda-v2 .agenda-notulen-type-lock.is-mingguan { background: #E0F2F5; color: #0B6E80; }
#agenda-v2 .agenda-notulen-type-lock.is-bulanan { background: #F3E8FF; color: #6A2C91; }
#agenda-v2 .agenda-notulen-type-lock.is-umum { background: #EEF2FF; color: #4338CA; }

#agenda-v2 .agenda-notulen-ag-list {
  gap: 8px;
}

#agenda-v2 .agenda-notulen-ag {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 0;
  border-radius: 12px;
  background: var(--av2-card, #fff);
  color: var(--av2-text, #0F172A);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07);
}

html[data-theme="dark"] #agenda-v2 .agenda-notulen-ag,
body[data-theme="dark"] #agenda-v2 .agenda-notulen-ag {
  border: 1px solid var(--av2-line, #334155);
}

#agenda-v2 .agenda-notulen-ag-hit {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: transparent;
  background-color: transparent;
  color: inherit;
}

#agenda-v2 .agenda-notulen-ag-ic {
  width: 28px;
  height: 28px;
  margin-top: 0;
  border-radius: 0;
  background: transparent;
  color: var(--av2-navy, #0D3B66);
}

#agenda-v2 .agenda-notulen-ag-ic .agenda-notulen-ic {
  width: 22px;
  height: 22px;
}

#agenda-v2 .agenda-notulen-ag[data-status="done"] .agenda-notulen-ag-ic { color: #0F766E; }
#agenda-v2 .agenda-notulen-ag[data-status="on_hold"] .agenda-notulen-ag-ic { color: #B91C1C; }
#agenda-v2 .agenda-notulen-ag[data-status="diusulkan"] .agenda-notulen-ag-ic { color: #B45309; }
#agenda-v2 .agenda-notulen-ag[data-status="review"] .agenda-notulen-ag-ic { color: #6A2C91; }
#agenda-v2 .agenda-notulen-ag[data-status="done"] .agenda-notulen-mini-bar i { background: #0F766E; }
#agenda-v2 .agenda-notulen-ag[data-status="on_hold"] .agenda-notulen-mini-bar i { background: #B91C1C; }
#agenda-v2 .agenda-notulen-ag[data-status="diusulkan"] .agenda-notulen-mini-bar i { background: #D97706; }
#agenda-v2 .agenda-notulen-ag[data-status="todo"] .agenda-notulen-mini-bar i { background: #94A3B8; }

#agenda-v2 .agenda-notulen-ag-copy {
  min-width: 0;
}

#agenda-v2 .agenda-notulen-ag-title {
  display: block;
  color: var(--av2-text, #0F172A);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

#agenda-v2 .agenda-notulen-ag:not(.is-locked) .agenda-notulen-ag-title {
  padding-right: 108px;
}

#agenda-v2 .agenda-notulen-ag-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 3px;
}

#agenda-v2 .agenda-notulen-ag-meta {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 400;
  color: var(--av2-meta, #46505E);
  text-overflow: ellipsis;
  white-space: nowrap;
}

#agenda-v2 .agenda-notulen-mini {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  margin: 0;
}

#agenda-v2 .agenda-notulen-mini-bar {
  width: 56px;
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #E3E8EF;
}

#agenda-v2 .agenda-notulen-mini-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: #0D3B66;
}

#agenda-v2 .agenda-notulen-mini-pct {
  min-width: 32px;
  color: var(--av2-meta, #46505E);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-chip,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip:active,
#agenda-v2 .agenda-notulen span.agenda-notulen-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 26px;
}

#agenda-v2 .agenda-notulen .agenda-notulen-block .agenda-notulen-chip {
  position: static;
  top: auto;
  right: auto;
}

#agenda-v2 .agenda-notulen .agenda-notulen-block .agenda-notulen-chip {
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  border-radius: 999px;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-todo,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-todo:hover,
#agenda-v2 .agenda-notulen span.agenda-notulen-chip.is-todo { background: #E8EDF3; background-color: #E8EDF3; color: #334155; }
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-in_progress,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-in_progress:hover,
#agenda-v2 .agenda-notulen span.agenda-notulen-chip.is-in_progress { background: #E0E9F6; background-color: #E0E9F6; color: #0D3B66; }
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-on_hold,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-on_hold:hover,
#agenda-v2 .agenda-notulen span.agenda-notulen-chip.is-on_hold { background: #FEE2E2; background-color: #FEE2E2; color: #B91C1C; }
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-review,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-review:hover,
#agenda-v2 .agenda-notulen span.agenda-notulen-chip.is-review { background: #F3E8FF; background-color: #F3E8FF; color: #6A2C91; }
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-done,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-done:hover,
#agenda-v2 .agenda-notulen span.agenda-notulen-chip.is-done { background: #D1FAE5; background-color: #D1FAE5; color: #065F46; }
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-diusulkan,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-diusulkan:hover,
#agenda-v2 .agenda-notulen span.agenda-notulen-chip.is-diusulkan { background: #FEF3C7; background-color: #FEF3C7; color: #92400E; }
#agenda-v2 .agenda-notulen span.agenda-notulen-chip.is-lanjut,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-lanjut,
#agenda-v2 .agenda-notulen button.agenda-notulen-chip.is-lanjut:hover { background: #E0E9F6; background-color: #E0E9F6; color: #0D3B66; }

#agenda-v2 .agenda-notulen .agenda-notulen-note,
#agenda-v2 .agenda-notulen .agenda-notulen-note:hover,
#agenda-v2 .agenda-notulen .agenda-notulen-note:focus,
#agenda-v2 .agenda-notulen-dec li span,
#agenda-v2 .agenda-notulen .agenda-notulen-block input[data-bind="action-title"] {
  font-size: 16px;
  font-weight: 400;
}

#agenda-v2 .agenda-notulen-add {
  align-items: stretch;
}

#agenda-v2 .agenda-notulen-add input {
  min-height: 48px;
  border: 1px solid var(--av2-line, #E3E8EF);
  border-radius: 10px;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-add-btn,
#agenda-v2 .agenda-notulen button.agenda-notulen-add-btn:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-add-btn:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-add-btn:active {
  flex: none;
  min-width: 96px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  background: #0D3B66;
  background-color: #0D3B66;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

#agenda-v2 .agenda-notulen-block {
  position: relative;
}

#agenda-v2 .agenda-notulen-block-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
}

#agenda-v2 .agenda-notulen-block-top:empty {
  display: none;
}

#agenda-v2 .agenda-notulen-block-top .agenda-notulen-chip {
  margin-right: auto;
}

#agenda-v2 .agenda-notulen button.agenda-notulen-trash,
#agenda-v2 .agenda-notulen button.agenda-notulen-trash:hover,
#agenda-v2 .agenda-notulen button.agenda-notulen-trash:focus,
#agenda-v2 .agenda-notulen button.agenda-notulen-trash:active {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin: -8px -8px 0 0;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  background-color: transparent;
  color: #B91C1C;
}

#agenda-v2 label.agenda-notulen-attend {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  cursor: pointer;
}

#agenda-v2 .agenda-notulen-attend.is-out,
#agenda-v2 .agenda-notulen-attend.is-out strong,
#agenda-v2 .agenda-notulen-attend.is-out small,
#agenda-v2 .agenda-notulen-attend.is-out .agenda-notulen-hadir {
  opacity: 1;
  color: #46505E;
}

#agenda-v2 .agenda-notulen-hadir {
  flex: none;
  justify-content: flex-end;
  margin-left: auto;
  min-height: 48px;
  min-width: 48px;
  text-align: right;
  white-space: nowrap;
}

#agenda-v2 .agenda-notulen-opt,
#agenda-v2 .agenda-notulen-carry {
  min-height: 48px;
}

#agenda-v2 .agenda-notulen-confirm-layer {
  position: absolute;
  z-index: 8;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#agenda-v2 .agenda-notulen-confirm {
  position: relative;
  z-index: 2;
  width: min(420px, calc(100% - 32px));
  margin: 0 16px 16px;
  padding: 16px;
  border-radius: 16px;
  background: var(--av2-card, #fff);
  color: var(--av2-text, #0F172A);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

#agenda-v2 .agenda-notulen-confirm h2 {
  margin: 0 0 6px;
  color: var(--av2-navy, #0D3B66);
  font-size: 18px;
}

#agenda-v2 .agenda-notulen-confirm p {
  margin: 0 0 12px;
  color: var(--av2-text, #0F172A);
  font-size: 16px;
  font-weight: 400;
}

#agenda-v2 .agenda-notulen-confirm-actions {
  display: flex;
  gap: 8px;
}

#agenda-v2 .agenda-notulen-confirm-actions .agenda-notulen-quiet,
#agenda-v2 .agenda-notulen-confirm-actions .agenda-notulen-bar-btn {
  flex: 1;
  width: auto;
  min-height: 48px;
  justify-content: center;
  text-align: center;
}

#agenda-v2 .agenda-v2-detail-card.agenda-v2-notes {
  overflow: visible;
}

#agenda-v2 .agenda-v2-notes p,
#agenda-v2 .agenda-v2-notes textarea {
  max-height: none;
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  field-sizing: content;
}

#agenda-v2 .agenda-notulen input[type="checkbox"] {
  accent-color: #0D3B66;
}

#agenda-v2 .agenda-notulen-opt.is-on .agenda-notulen-box {
  border-color: #0D3B66;
  background: #0D3B66;
  background-color: #0D3B66;
}

#agenda-v2 .agenda-notulen-switch.is-on .agenda-notulen-knob {
  background: #0D3B66;
  background-color: #0D3B66;
}

#agenda-v2 .agenda-notulen-screen {
  position: relative;
}

@media (max-width: 768px), (max-height: 520px) and (orientation: landscape) {
  html.agenda-v2-on #agenda-v2.is-notulen .agenda-v2-detail {
    padding-bottom: 24px;
  }

  html.agenda-v2-on #agenda-v2.is-notulen .agenda-v2-detail-foot,
  #agenda-v2 .agenda-v2-detail:has(.agenda-notulen-decide) .agenda-v2-detail-foot {
    position: static;
    right: auto;
    bottom: auto;
    left: auto;
    height: auto;
    min-height: 48px;
    margin-top: 8px;
    background: transparent;
    border-top: 0;
  }

  /* Proposal detail ends above the floating nav. The foot is in flow, so
     Catatan is not painted under the bar and there is no pinned-foot gap. */
  html.agenda-v2-on #agenda-v2 .agenda-v2-detail:has(.agenda-notulen-decide) {
    bottom: var(--agenda-v2-nav-band);
    padding-bottom: 12px;
  }
}

html.agenda-v2-on #agenda-v2 .agenda-v2-detail-foot {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  margin-top: 8px;
  height: 56px;
  background: var(--av2-bg);
}

#agenda-v2 .agenda-v2-comments-card {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

#agenda-v2 .agenda-v2-comments,
#agenda-v2 .agenda-v2-comment {
  min-width: 0;
  max-width: 100%;
}

#agenda-v2 .agenda-v2-comments {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 14px 8px;
}

#agenda-v2 .agenda-v2-comment-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
}

#agenda-v2 .agenda-v2-comment-author {
  min-width: 0;
  max-width: 100%;
  color: var(--av2-text);
  font-size: 14px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

#agenda-v2 .agenda-v2-comment-time {
  min-width: 0;
  max-width: 100%;
  color: var(--av2-meta);
  font-size: 12px;
  font-weight: 400;
  overflow-wrap: anywhere;
}

#agenda-v2 .agenda-v2-comment-text {
  margin: 4px 0 0;
  color: var(--av2-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

#agenda-v2 .agenda-v2-comments-empty {
  margin: 0;
  padding: 0 14px 8px;
  color: var(--av2-meta);
  font-size: 14px;
  font-weight: 400;
}

#agenda-v2 .agenda-v2-comment-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 8px 14px 12px;
}

#agenda-v2 .agenda-v2-comment-field {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}

#agenda-v2 .agenda-v2-comment-form textarea {
  box-sizing: border-box;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 48px;
  max-height: 160px;
  padding: 12px 14px;
  border: 1px solid var(--av2-line);
  border-radius: 8px;
  background: var(--av2-card);
  color: var(--av2-text);
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  field-sizing: content;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  resize: none;
}

#agenda-v2 .agenda-v2-comment-hint {
  margin: 4px 0 0;
  color: #334155;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

#main-app #agenda-v2 .agenda-v2-comment-hint {
  color: #334155 !important;
}

html[data-theme="dark"] #agenda-v2 .agenda-v2-comment-hint,
body[data-theme="dark"] #agenda-v2 .agenda-v2-comment-hint,
html[data-theme="dark"] #main-app #agenda-v2 .agenda-v2-comment-hint,
body[data-theme="dark"] #main-app #agenda-v2 .agenda-v2-comment-hint {
  color: #E2E8F0 !important;
}

#agenda-v2 .agenda-v2-comment-send,
#agenda-v2 .agenda-v2-comment-send:hover,
#agenda-v2 .agenda-v2-comment-send:focus,
#agenda-v2 .agenda-v2-comment-send:focus-visible,
#agenda-v2 .agenda-v2-comment-send:active {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #0D3B66;
  background-color: #0D3B66;
  color: #FFFFFF;
}

#agenda-v2 button.agenda-v2-comment-send .agenda-v2-ic,
#agenda-v2 button.agenda-v2-comment-send:hover .agenda-v2-ic,
#agenda-v2 button.agenda-v2-comment-send:focus .agenda-v2-ic,
#agenda-v2 button.agenda-v2-comment-send:active .agenda-v2-ic {
  width: 20px;
  height: 20px;
  color: #FFFFFF;
  stroke: #FFFFFF;
}

#agenda-v2 .agenda-v2-comment-send:disabled {
  opacity: 0.45;
}

#agenda-v2 .agenda-v2-mention-dropdown {
  position: absolute;
  right: 70px;
  bottom: 64px;
  left: 14px;
  z-index: 6;
  max-width: calc(100% - 28px);
  max-height: 220px;
  overflow: auto;
  background: var(--av2-card);
  border: 1px solid var(--av2-line);
  border-radius: 8px;
}

#agenda-v2 .agenda-v2-mention-dropdown[hidden] {
  display: none;
}

#agenda-v2 .agenda-v2-comment-text .mention {
  color: var(--av2-navy);
  font-weight: 500;
}

#agenda-v2 .agenda-v2-add-hint {
  flex: 1 0 100%;
  width: 100%;
  margin: 0;
  padding: 2px 0 0 34px;
  border: 0;
  background: transparent;
  color: #B91C1C;
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

/* shell-density sets `#main-app .app-container p` to secondary text with
   !important above 768px. Beat that so the hint stays the late red. */
#main-app #agenda-v2 .agenda-v2-add-hint {
  color: #B91C1C !important;
}

html[data-theme="dark"] #main-app #agenda-v2 .agenda-v2-add-hint,
body[data-theme="dark"] #main-app #agenda-v2 .agenda-v2-add-hint {
  color: #FECACA !important;
}

#main-app #agenda-v2 #agenda-v2-add-input[aria-invalid="true"] {
  border-color: transparent;
  box-shadow: none;
}

#agenda-v2 .agenda-v2-add-hint[hidden] {
  display: none !important;
}

#agenda-v2 button.agenda-v2-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 420px;
  height: 48px;
  margin: 12px auto 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--av2-line, #e3e8ef);
  border-radius: 12px;
  background: var(--av2-card, #fff);
  color: var(--av2-navy, #0d3b66);
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.agenda-v2-load-more:disabled {
  opacity: 0.6;
}

.agenda-v2[data-list="didelegasikan"] { --av2-acc: var(--av2-acc-terjadwal); }

.agenda-v2 .agenda-v2-lp-ic[data-accent="didelegasikan"] { color: var(--av2-acc-terjadwal); }

.agenda-v2-involved {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 1.75rem;
  height: 1.5rem;
  margin-left: 6px;
  padding: 0 6px 0 4px;
  border-radius: 999px;
  background: var(--av2-active);
  color: var(--av2-navy);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.agenda-v2-involved-ic {
  flex: none;
  width: 14px;
  height: 14px;
}

.agenda-v2-people {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 12px;
}

.agenda-v2-person {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  min-height: 48px;
  padding: 4px 0;
}

.agenda-v2-person-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--av2-active);
  color: var(--av2-navy);
  font-size: 13px;
  font-weight: 500;
}

.agenda-v2-person-copy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.agenda-v2-person-name {
  color: var(--av2-text);
  font-size: 16px;
  line-height: 22px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agenda-v2-person-copy small {
  color: var(--av2-muted);
  font-size: 13px;
  line-height: 18px;
}

.agenda-v2-participant-add {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--av2-line);
  border-radius: 10px;
  background: var(--av2-card);
  color: var(--av2-navy);
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

#agenda-v2 button.agenda-v2-person-remove,
#agenda-v2 button.agenda-v2-person-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

#agenda-v2 button.agenda-v2-person-remove {
  border: 1px solid #FECACA;
  background: #FEF2F2;
  color: #B91C1C;
}

#agenda-v2 button.agenda-v2-person-cancel {
  border: 1px solid var(--av2-line);
  background: var(--av2-card);
  color: var(--av2-text);
}

#agenda-v2 .agenda-v2-person-confirm {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px), (max-height: 520px) and (orientation: landscape) {
  body > .agenda-v2-person-confirm {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px) + 8px);
    z-index: 1100;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
  }

  body > .agenda-v2-person-confirm p {
    flex: 1 1 100%;
    width: 100%;
  }

  body > .agenda-v2-person-confirm button {
    flex: 0 0 auto;
    min-width: 48px;
    min-height: 48px;
    height: 48px;
    padding: 0 16px;
    border-radius: 10px;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: 500;
  }

  body > .agenda-v2-person-confirm .agenda-v2-person-remove {
    border: 1px solid #FECACA;
    background: #FEF2F2;
    color: #B91C1C;
  }

  body > .agenda-v2-person-confirm .agenda-v2-person-cancel {
    border: 1px solid #E3E8EF;
    background: #fff;
    color: #0F172A;
  }
}

#agenda-v2 .agenda-v2-person-confirm p {
  flex: 1 1 140px;
  margin: 0;
  color: var(--av2-text);
  font-size: 14px;
  line-height: 20px;
}

.agenda-v2-people-note {
  margin: 4px 0 0;
  color: var(--av2-muted);
  font-size: 14px;
  line-height: 20px;
}

.agenda-v2-participant-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.agenda-v2-participant-form select {
  flex: 1 1 160px;
  min-width: 0;
  height: 48px;
  min-height: 44px;
  max-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--av2-line);
  border-radius: 10px;
  background: var(--av2-card);
  color: var(--av2-text);
  font-family: Roboto, sans-serif;
  font-size: 16px;
}

/* The base shell rule stays top: 0. On a phone the shell starts under the
   app header row (56–60px bar plus the page top inset, 64px together). */
@media (max-width: 768px), (max-height: 520px) and (orientation: landscape) {
  html.agenda-v2-on .agenda-v2 {
    /* Flush under the 48px phone header. A 56px offset left a card-edge sliver. */
    top: calc(48px + var(--safe-top, env(safe-area-inset-top, 0px)));
    background: var(--av2-bg);
  }

  html.agenda-v2-on .agenda-v2-detail {
    padding-top: 0;
  }

  html.agenda-v2-on .agenda-v2-detail-top {
    margin: 0 -16px 4px;
    padding: 0 8px;
    min-height: 48px;
    border-radius: 0;
    background: var(--av2-bg);
    background-color: var(--av2-bg);
    box-shadow: 0 -12px 0 0 var(--av2-bg);
  }

  html.agenda-v2-on .agenda-v2-participant-form {
    flex-direction: column;
    align-items: stretch;
  }

  html.agenda-v2-on .agenda-v2-participant-form select,
  html.agenda-v2-on .agenda-v2-participant-add {
    flex: 1 1 auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  html.agenda-v2-on .agenda-v2 {
    top: calc(48px + var(--safe-top, env(safe-area-inset-top, 0px)));
  }
}

/* Short landscape (about 844×390). The shell already ends above the bottom
   nav, so the add bar must not reserve that nav a second time. The list
   scrolls, and the last card can move fully above the add row. */
@media (max-height: 520px) and (orientation: landscape) {
  html.agenda-v2-on .agenda-v2 {
    bottom: var(--agenda-v2-nav-band);
    min-height: 0;
    overflow: hidden;
  }

  html.agenda-v2-on .agenda-v2-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-padding-bottom: calc(56px + 16px);
    padding-bottom: calc(56px + 16px);
    padding-right: 80px;
  }

  /* Compact header scrolls with the list so a short landscape screen
     still shows cards. The FAB sits on the right; padding-right clears the star. */
  html.agenda-v2-on .agenda-v2-sticky {
    position: static;
    padding-bottom: 4px;
  }

  html.agenda-v2-on .agenda-v2-filter {
    min-height: 44px;
    font-size: 20px;
  }

  html.agenda-v2-on .agenda-v2-add {
    height: var(--agenda-v2-add-h, 64px);
    padding-top: 0;
    padding-bottom: 0;
  }

  html.agenda-v2-on .agenda-v2-detail {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: calc(24px + var(--safe-bottom, env(safe-area-inset-bottom, 0px)));
  }

  html.agenda-v2-on .agenda-v2-card {
    height: auto;
    min-height: var(--av2-row-h, 48px);
    overflow: visible;
    align-items: center;
  }

  html.agenda-v2-on .agenda-v2 .agenda-v2-open {
    height: auto;
    min-height: 48px;
    overflow: visible;
  }

  html.agenda-v2-on .agenda-v2 .agenda-v2-meta {
    flex-wrap: nowrap;
    max-height: 1.35em;
    overflow: hidden;
  }
}

/* Mid-width side rail (window-medium / window-expanded, e.g. 600×900).
   The phone shell insets #main-app, but this layer is position:fixed at
   left:0 and still reserves a bottom-nav band. Start at the rail and drop
   the band. Short landscape (max-height: 520px) keeps the bottom nav and
   is excluded here so phone-landscape.css is unchanged. */
@media (min-height: 521px) {
  html.agenda-v2-on body.device-mobile.window-medium .agenda-v2,
  html.agenda-v2-on body.device-mobile.window-expanded .agenda-v2 {
    left: calc(var(--nav-rail-width, 72px) + var(--safe-left, env(safe-area-inset-left, 0px)));
    right: 0;
    bottom: 0;
    --agenda-v2-nav-band: 0px;
  }

  html.agenda-v2-on body.device-mobile.window-medium .agenda-v2.is-kb,
  html.agenda-v2-on body.device-mobile.window-expanded .agenda-v2.is-kb {
    bottom: var(--agenda-v2-kb, 0px);
  }
}

#agenda-v2 .agenda-v2-sheet-layer {
  position: absolute;
  inset: 0;
  z-index: 40;
}

#agenda-v2 .agenda-v2-sheet-dim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.45);
}

#agenda-v2 .agenda-v2-cal,
#agenda-v2 .agenda-v2-mini {
  position: absolute;
  z-index: 41;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(70vh, 560px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--av2-bg);
  border-top: 1px solid var(--av2-line);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
}

#agenda-v2 .agenda-v2-cal {
  display: block;
  max-height: 100%;
  overflow: auto;
}

#agenda-v2 .agenda-v2-cal-head,
#agenda-v2 .agenda-v2-chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}

#agenda-v2 .agenda-v2-cal-month {
  flex: 1;
  text-align: center;
  color: var(--av2-navy, #0D3B66);
  font-weight: 700;
}

#agenda-v2 .agenda-v2-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

#agenda-v2 .agenda-v2-cal-week {
  display: contents;
}

#agenda-v2 .agenda-v2-cal-dow {
  text-align: center;
  color: var(--av2-meta);
  font-size: 12px;
  font-weight: 600;
}

#agenda-v2 .agenda-v2-cal-day {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--av2-text);
  font-size: 15px;
}

#agenda-v2 .agenda-v2-cal-day.is-on {
  background: var(--av2-navy, #0D3B66);
  color: #fff;
}

#agenda-v2 .agenda-v2-cal-day.is-empty {
  min-height: 44px;
}

#agenda-v2 .agenda-v2-cal-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

#agenda-v2 .agenda-v2-cal-actions .agenda-v2-btn {
  flex: 1;
  min-height: 44px;
}

#agenda-v2 .agenda-v2-mini-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--av2-card);
  border-radius: 12px;
  padding: 8px;
}

#agenda-v2 .agenda-v2-people-results {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  overflow: auto;
}

#agenda-v2 .agenda-v2-mini-card > button,
#agenda-v2 .agenda-v2-people-opt {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--av2-text);
  text-align: left;
  padding: 0 12px;
  font-size: 16px;
}

#agenda-v2 button.agenda-v2-participant-compose {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--av2-navy, #0D3B66);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

/* In flow under the field. A sheet inside the scrolling detail painted at the top of the WebView. */
#agenda-v2 .agenda-v2-participant-line {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
}

#agenda-v2 .agenda-v2-participant-line .agenda-v2-people-q {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin-bottom: 0;
}

#agenda-v2 .agenda-v2-participant-line .agenda-v2-participant-add {
  flex: 0 0 auto;
  width: auto;
  min-width: 88px;
  min-height: 44px;
  color: #0D3B66;
}

#agenda-v2 .agenda-v2-participant-suggest {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 220px;
  margin: 0;
  overflow: auto;
  border: 1px solid var(--av2-line);
  border-radius: 10px;
  background: var(--av2-card);
}

#agenda-v2 .agenda-v2-people-q {
  width: 100%;
  min-height: 44px;
  margin-bottom: 8px;
  padding: 8px 12px;
  border: 1px solid var(--av2-line);
  border-radius: 10px;
  background: var(--av2-card);
  color: var(--av2-text);
  font-size: 16px;
}

#agenda-v2 .agenda-v2-people-empty {
  margin: 8px 4px;
  color: var(--av2-meta);
}

#agenda-v2 .agenda-v2-participant-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#agenda-v2 .agenda-v2-comment-open {
  display: flex;
  align-items: center;
  width: calc(100% - 32px);
  min-height: 44px;
  margin: 0 16px 12px;
  padding: 8px 12px;
  border: 1px solid var(--av2-line);
  border-radius: 10px;
  background: var(--av2-card);
  color: var(--av2-meta);
  font-size: 16px;
  text-align: left;
}

#agenda-v2 .agenda-v2-chat {
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #F4F6F8;
}

#agenda-v2 .agenda-v2-chat-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--av2-text);
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#agenda-v2 .agenda-v2-chat-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  padding: 12px 16px;
}

#agenda-v2 .agenda-v2-chat .agenda-v2-comment {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  max-width: 85%;
  margin: 0;
  padding: 8px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #FFFFFF;
  color: #0F172A;
}

#agenda-v2 .agenda-v2-chat .agenda-v2-comment.is-mine {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: #D7E6F5;
  color: #0F172A;
}

#agenda-v2 .agenda-v2-chat .agenda-v2-comment-meta {
  display: contents;
}

#agenda-v2 .agenda-v2-chat .agenda-v2-comment-author {
  color: #0D3B66;
  font-weight: 600;
}

#agenda-v2 .agenda-v2-chat .agenda-v2-comment-text {
  color: #0F172A;
}

#agenda-v2 .agenda-v2-chat .agenda-v2-comment-time {
  order: 2;
  align-self: flex-end;
  margin-top: 4px;
  color: #475569;
  font-size: 11px;
}

#agenda-v2 button.agenda-v2-desc-edit,
#agenda-v2 button.agenda-v2-desc-edit:hover,
#agenda-v2 button.agenda-v2-desc-edit:focus,
#agenda-v2 button.agenda-v2-desc-edit:active {
  color: #0D3B66;
}

#agenda-v2 button.agenda-v2-desc-edit .agenda-v2-ic {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  color: #0D3B66;
  stroke: #0D3B66;
  stroke-width: 2;
}

#agenda-v2 .agenda-v2-chat .agenda-v2-comment-form {
  flex: none;
  position: sticky;
  bottom: 0;
  align-items: flex-end;
  margin: 0;
  margin-top: auto;
  padding: 8px 12px;
  background: #F4F6F8;
  border-top: 0;
}

#agenda-v2 .agenda-v2-chat .agenda-v2-comment-form textarea {
  min-height: 44px;
  max-height: 120px;
  border-radius: 22px;
  background: var(--av2-bg);
}

#agenda-v2.is-kb .agenda-v2-chat .agenda-v2-comment-form {
  padding-bottom: 8px;
}
