@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --ink: #101828;
  --muted: #667085;
  --bg: #f8fafc;
  --paper: #ffffff;
  --line: #eaecf0;
  --header: #ffffff;
  --header-2: #ffffff;
  --gold: #6d28d9;
  --green: #6d28d9;
  --green-dark: #5b21b6;
  --green-soft: #f3e8ff;
  --accent: #6d28d9;
  --accent-2: #8b5cf6;
  --danger: #9f1239;
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  --radius: 14px;
  --home-accent: #6d28d9;
  --home-accent-2: #8b5cf6;
  --home-accent-soft: #f3e8ff;
  --home-ink: #101828;
  --home-muted: #667085;
  --home-line: #eaecf0;
  --home-paper: #ffffff;
  --home-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
}

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a {
  color: var(--green-dark);
  text-decoration: none;
}
a:hover,
a:focus,
a:active {
  text-decoration: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: white;
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; }

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

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 14px 20px;
  background: var(--header);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.03);
  position: sticky;
  top: 0;
  z-index: 30;
}

.topbar-start {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-self: start;
}

.brand {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.nav-toggle { display: none; }

.icon-btn, .btn, .btn-primary, .btn-ghost, .btn-danger {
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 8px 12px;
  background: transparent;
}

.icon-btn {
  color: inherit;
  border-color: var(--line);
}

.topbar .icon-btn { color: var(--ink); }
.topbar .icon-btn:hover {
  background: #f2f4f7;
  border-color: var(--line);
}

.main-nav { display: flex; align-items: center; justify-self: center; gap: 4px; }
.main-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  background: transparent;
  box-shadow: none;
  transition: color .15s ease;
}
.main-nav a:hover {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  transform: translateX(-50%);
}
.nav-proyek { position: relative; display: flex; align-items: center; }
.nav-drop summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
  padding: 8px 4px 8px 0;
  border-radius: 10px;
  transition: color .15s ease;
}
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary:hover,
.nav-drop[open] summary { color: var(--ink); }
.nav-drop-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-height: 320px;
  overflow: auto;
  display: grid;
  padding: 6px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.nav-drop-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-proyek:hover > .nav-drop > summary,
.nav-drop:hover > summary {
  color: var(--ink);
}
.nav-drop-menu a,
.nav-drop-menu a[aria-current="page"] {
  color: var(--ink);
  box-shadow: none;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 500;
  background: transparent;
}
.nav-drop-menu a:hover {
  background: #f2f4f7;
  color: var(--ink);
}
.nav-drop-menu a[aria-current="page"] {
  background: #f2f4f7;
  color: var(--ink);
  font-weight: 650;
}
.nav-drop-menu a[aria-current="page"]::after { display: none; }
.nav-drop-menu p { margin: 0; padding: 8px 10px; color: var(--muted); }
.nav-drop-sep { height: 1px; margin: 4px 6px; background: var(--line); }
.nav-admin { position: relative; }
.nav-admin > summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  padding: 10px 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  background: transparent;
  box-shadow: none;
  transition: color .15s ease;
}
.nav-admin > summary::-webkit-details-marker { display: none; }
.nav-admin > summary:hover,
.nav-admin[open] > summary {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.nav-admin > summary[aria-current="page"] {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.nav-admin > summary[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  transform: translateX(-50%);
}

.admin-page .page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-head-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.admin-filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 12px;
  max-width: 280px;
}
.admin-panel { margin-top: 16px; }
.admin-panel h2 { margin: 0 0 12px; font-size: 1.05rem; }
.admin-panel h3 { margin: 18px 0 8px; font-size: .95rem; }
.admin-subhead { margin: 22px 0 10px; font-size: 1rem; }
.admin-profile-box {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.admin-profile-box p { margin: 0 0 6px; }
.admin-profile-box a { font-size: 13px; }
.admin-table-wrap { overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14px;
}
.admin-table th { color: var(--muted); font-weight: 600; }
.admin-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr);
  gap: 16px;
  align-items: start;
}
.admin-dl { margin: 0; display: grid; gap: 10px; }
.admin-dl > div { display: grid; gap: 2px; }
.admin-dl dt { color: var(--muted); font-size: 12px; }
.admin-dl dd { margin: 0; }
.admin-files { margin: 0; padding-left: 18px; }
.admin-files li { margin: 4px 0; }
.admin-action-form { margin-bottom: 14px; }
.admin-action-form + .admin-action-form { padding-top: 10px; border-top: 1px solid var(--line); }
.admin-timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.admin-timeline li { display: grid; gap: 2px; padding-left: 12px; border-left: 2px solid var(--line); }
.admin-timeline strong { text-transform: none; }
.admin-timeline span { color: var(--muted); font-size: 12px; }
.admin-timeline p { margin: 4px 0 0; font-size: 13px; }
.admin-status.is-diajukan { background: #fff7ed; color: #9a3412; }
.admin-status.is-menunggu_finance { background: #eff6ff; color: #1d4e89; }
.admin-status.is-disetujui { background: #ecfdf5; color: #066e47; }
.admin-status.is-dicairkan { background: #fff7ed; color: #9a3412; }
.admin-status.is-direalisasi { background: #f0fdf4; color: #166534; }
.admin-status.is-ditolak,
.admin-status.is-dibatalkan { background: #fef2f2; color: #9f1239; }
.admin-inline-lede { margin: 0 0 12px; font-size: 14px; }
.is-overdue-text { color: var(--danger); font-weight: 600; }
.empty-inline { color: var(--muted); margin: 0; }
.tasks .task-card-admin .pill { font-size: 11px; }
.file-pick-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.file-pick-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fafb;
  font-size: 13px;
}
.file-pick-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.file-pick-remove {
  flex: none;
  padding: 4px 8px;
  font-size: 12px;
}
@media (max-width: 860px) {
  .admin-detail-grid { grid-template-columns: 1fr; }
}

.count {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.topbar-end {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  flex: none;
}

.notif-btn {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  background: transparent;
}

.notif-btn:hover,
.notif-btn[aria-current="page"] {
  color: var(--ink);
  background: #f2f4f7;
  border-color: var(--line);
}

.notif-btn .count {
  position: absolute;
  top: -4px;
  right: -4px;
  margin: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 1;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  margin-left: 0;
  justify-self: end;
  flex: none;
}

.avatar.sm {
  width: 24px;
  height: 24px;
  margin: 0;
  font-size: 10px;
}

.switcher { position: relative; }
.switcher summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  background: var(--paper);
}
.switcher summary::-webkit-details-marker { display: none; }
.switcher summary:hover,
.switcher[open] summary {
  border-color: var(--line);
  background: #f2f4f7;
  color: var(--ink);
}
.switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  display: grid;
}
.switcher-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.switcher-menu a, .switcher-menu button {
  text-align: left;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
}
.switcher-menu a:hover, .switcher-menu button:hover { background: var(--green-soft); }

.project-settings.page { max-width: 1120px; margin: 0 auto; padding: 24px 32px 64px; }
.workspace-settings.page,
.notifications-page.page { max-width: 820px; margin: 0 auto; padding: 28px 32px 56px; }
.project-settings .sheet-actions { margin-top: 0; }
.workspace-settings .panel.section-block { margin-top: 14px; }
.notifications-page .notif-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.notifications-page .notif-head > div { min-width: 0; }
.notifications-page .lede {
  max-width: 42rem;
  overflow-wrap: anywhere;
}
.notifications-page .notif-head-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  margin-top: 2px;
}
.notifications-page .notif-count {
  margin: 8px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 3px 10px;
}
.notifications-page .notif-count.is-clear {
  color: var(--green);
  background: #eef3ef;
}
.notifications-page .notif-read-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.notifications-page .notif-panel {
  padding: 6px 8px;
  overflow: hidden;
}
.notifications-page .notif-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 36px 16px;
  text-align: center;
  color: var(--muted);
}
.notifications-page .notif-empty-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-soft);
  color: #8a847a;
}
.notifications-page .notice-list { gap: 0; }
.notifications-page .notice {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: start;
  padding: 14px 12px 14px 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  position: relative;
}
.notifications-page .notice:last-child { border-bottom: 0; }
.notifications-page .notice.is-unread {
  background: var(--green-soft);
  box-shadow: none;
}
.notifications-page .notice.is-unread::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--gold);
}
.notifications-page .notice-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eef3ef;
  color: var(--green);
  margin-top: 1px;
}
.notifications-page .notice-icon-sebutan {
  background: #e7f5ec;
  color: var(--green);
}
.notifications-page .notice-icon-penugasan {
  background: #e8eef8;
  color: #2f4f8a;
}
.notifications-page .notice-icon-board {
  background: var(--green-soft);
  color: #8a6a3b;
}
.notifications-page .notice-body {
  min-width: 0;
  display: grid;
  gap: 5px;
}
.notifications-page .notice-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.notifications-page .notice.is-unread .notice-title { font-weight: 700; }
.notifications-page .notice-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
.notifications-page .notice-project {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notifications-page .notice-sep { opacity: 0.55; }
.notifications-page .notice .row-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  max-width: none;
  margin-top: 1px;
  flex: none;
}
.notifications-page .notice .pill.tag-read {
  background: #eef3ef;
  color: var(--green);
  padding: 2px 7px;
  font-size: 11px;
}
.notifications-page .notice .pill.tag-read.is-unread {
  background: var(--green-soft);
  color: #8a6a3b;
}
.notifications-page .notice:not(.is-unread) .pill.tag-read { display: none; }
.notifications-page .notice-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.notifications-page .notice-action:hover {
  color: var(--ink);
  background: var(--green-soft);
}
.notifications-page .notice-action.notice-mark {
  width: 32px;
  padding: 0;
  justify-content: center;
}
.notifications-page .notice-unavailable {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .notifications-page .notice-action span { display: none; }
  .notifications-page .notice-action {
    width: 32px;
    padding: 0;
    justify-content: center;
  }
}
@media (max-width: 720px) {
  .notifications-page.page { padding: 20px 16px 48px; }
  .notifications-page .page-head {
    flex-direction: column;
    align-items: stretch;
  }
  .notifications-page .notice {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .notifications-page .notice .row-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}
.workspace-settings .panel-lede,
.panel-lede {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.person-list { display: grid; }
.empty-inline {
  margin: 0;
  padding: 8px 0;
  color: var(--muted);
}
.project-row {
  text-decoration: none;
  color: inherit;
}
.project-row:hover { background: var(--green-soft); }
.person-row .pill {
  flex: none;
  background: #eef3ef;
  color: var(--green);
}
.person-row .pill.is-archive {
  background: var(--green-soft);
  color: #8a6a3b;
}
.workspace-settings .person-row.is-invite {
  align-items: start;
  gap: 12px;
}
.workspace-settings .person-row.is-invite .row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(100%, 420px);
}
.workspace-settings .invite-share {
  flex: 1 1 220px;
  min-width: 0;
  justify-content: flex-start;
}
.workspace-settings .invite-link {
  flex: 1 1 140px;
  min-width: 0;
  max-width: none;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}
.page-head h1, .board-head h1, .auth-panel h1 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0;
}
.lede { color: var(--muted); margin: 6px 0 0; }

.status {
  margin: 0 0 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 12px;
  padding: 10px 12px;
}
.status:empty { display: none; }

.btn-ghost { border-color: var(--line); background: var(--paper); }
.btn-danger { color: var(--danger); border-color: #f0c9d4; background: #fff7f9; }
.btn-row, .sheet-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.board-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.board-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 7px;
  background: var(--accent, var(--green));
}
.board-tile strong { font-size: 18px; letter-spacing: -0.03em; padding-left: 8px; }
.board-tile span { color: var(--muted); padding-left: 8px; }
.vis {
  align-self: flex-start;
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 2px 8px;
}
.vis.private { color: #9a3412; background: #f8eadf; }

.section-block { margin-top: 28px; }
.section-block h2 { font-size: 18px; margin: 0 0 10px; }

.late-list, .task-list, .notice-list { display: grid; gap: 10px; }
.task-row, .notice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
}
.task-row b, .notice b { letter-spacing: -0.02em; }
.task-row small, .notice small { color: var(--muted); }
.due, .pill {
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
  background: var(--green-soft);
}
.due.is-overdue, .tag-late { background: #fde8ee; color: var(--danger); }
.tag-read { color: var(--muted); font-size: 12px; font-weight: 600; }
.notice.is-unread { box-shadow: inset 3px 0 0 var(--gold); }

.board-page { padding-bottom: 0; }
.board-head, .filters {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 0 20px;
  flex-wrap: wrap;
}
.board-head { justify-content: space-between; }
.filters { justify-content: flex-start; }
.board-head { padding-top: 16px; }
.filters { padding-top: 8px; padding-bottom: 12px; align-items: end; }
.filters .field { min-width: 160px; }
.board-member-tools {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.member-row { display: flex; gap: 4px; align-items: center; }
body.board { background: var(--bg); }
.board-head { align-items: flex-start; padding: 18px 28px 6px; }
.board-head h1 { font-size: clamp(30px, 3vw, 36px); }
.board-crumb { margin: 0 0 6px; font-size: 13px; }
.board-crumb a { color: var(--muted); text-decoration: none; font-weight: 600; }
.board-crumb a::before { content: "‹ "; }
.board-tools { align-items: center; }
.board-view-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.board-view-switch .btn {
  border: 0;
  border-radius: 999px;
  min-height: 34px;
  padding: 6px 14px;
  background: transparent;
}
.board-view-switch .btn.is-active {
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
}
.board-calendar,
.board-timeline {
  margin: 8px 28px 28px;
  padding: 18px 20px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.board-calendar .home-section-head,
.board-timeline .home-section-head {
  padding: 0 0 14px;
  margin: 0;
}
.board-calendar .home-cal-layout {
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.75fr);
}
.board-calendar .home-cal-day {
  min-height: 118px;
  padding: 8px;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
}
.board-calendar .home-cal-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.board-calendar .home-cal-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f2f4f7;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.board-calendar .home-cal-day.is-selected .home-cal-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.board-calendar .home-cal-chips {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.board-calendar .home-cal-chip {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 5px 7px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  border: 0;
  line-height: 1.2;
}
.board-calendar .home-cal-chip.is-draggable {
  cursor: grab;
}
.board-calendar .home-cal-chip.is-dragging {
  opacity: .45;
  cursor: grabbing;
}
.board-calendar .home-cal-day.is-drop-target {
  outline: 2px solid #7f56d9;
  outline-offset: -2px;
  background: #f9f5ff;
}
.board-calendar .home-cal-day.is-selected.is-drop-target {
  outline-color: #fff;
  background: #6941c6;
}
.board-calendar .home-cal-chip .card-head {
  min-width: 0;
  gap: 4px;
}
.board-calendar .home-cal-chip .card-category,
.board-calendar .home-cal-chip .card-id {
  margin: 0;
  font-size: 11px;
}
.board-calendar .home-cal-chip .timeline-label-title {
  font-size: 11px;
  line-height: 1.25;
}
.board-calendar .home-cal-chip.is-deadline {
  background: #f4ebff;
  color: #6941c6;
}
.board-calendar .home-cal-chip.is-deadline small { color: #9e77ed; }
.board-calendar .home-cal-chip.is-terlambat {
  background: #fef3f2;
  color: #b42318;
}
.board-calendar .home-cal-chip.is-terlambat small { color: #f04438; }
.board-calendar .home-cal-chip.is-range {
  background: #fff4ed;
  color: #b54708;
}
.board-calendar .home-cal-chip.is-range small { color: #dc6803; }
.board-calendar .home-cal-chip.is-range-terlambat {
  background: #fef3f2;
  color: #b42318;
}
.board-calendar .home-cal-chip.is-range-terlambat small { color: #f04438; }
.board-calendar .home-cal-chip.is-persiapan {
  background: #eff8ff;
  color: #175cd3;
}
.board-calendar .home-cal-chip.is-persiapan small { color: #2e90fa; }
.board-calendar .home-cal-chip.is-event {
  background: #ecfdf3;
  color: #027a48;
}
.board-calendar .home-cal-chip.is-event small { color: #12b76a; }
.board-calendar .home-cal-chip.is-admin {
  background: #fffaeb;
  color: #b54708;
}
.board-calendar .home-cal-chip.is-admin small { color: #dc6803; }
.board-calendar .home-cal-chip.is-admin-terlambat {
  background: #fef3f2;
  color: #b42318;
  box-shadow: inset 3px 0 0 #f79009;
}
.board-calendar .home-cal-chip.is-admin-terlambat small { color: #f04438; }
.board-calendar .home-cal-day.is-selected .home-cal-chip {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.board-calendar .home-cal-day.is-selected .home-cal-chip .card-category,
.board-calendar .home-cal-day.is-selected .home-cal-chip .card-id,
.board-calendar .home-cal-day.is-selected .home-cal-chip .timeline-label-title {
  color: #fff;
}
.board-calendar .home-cal-day.is-selected .home-cal-chip .card-id {
  color: rgba(255, 255, 255, 0.78);
}
.home-agenda-copy .card-head {
  min-width: 0;
}
.home-agenda-copy .card-category,
.home-agenda-copy .card-id {
  margin: 0;
}
.home-agenda-copy .timeline-label-title {
  font-size: 14px;
}
.board-calendar .home-cal-more {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  padding: 2px 4px;
}
.board-calendar .home-cal-day.is-selected .home-cal-more {
  color: rgba(255, 255, 255, 0.85);
}
.board-calendar .home-cal-day:hover:not(.is-selected) {
  border-color: #d6bbfb;
  background: #fcfaff;
}
.board-calendar .home-cal-day.has-event:not(.is-selected) {
  background: #fff;
}
.timeline-scroll {
  --timeline-label-width: 180px;
  --timeline-months: 1;
  --timeline-days: 30;
  container-type: inline-size;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0 -4px;
  padding: 0 4px 8px;
  scrollbar-gutter: stable;
}
.timeline-grid {
  --timeline-track-width: calc(var(--timeline-months) * (100cqi - var(--timeline-label-width)));
  display: grid;
  grid-template-columns: var(--timeline-label-width) var(--timeline-track-width);
  gap: 0;
  min-width: calc(var(--timeline-label-width) + var(--timeline-track-width));
  width: max-content;
}
.timeline-corner,
.timeline-label {
  position: sticky;
  left: 0;
  z-index: 3;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 10px 12px 10px 0;
  box-shadow: 8px 0 12px -12px rgba(16, 24, 40, 0.35);
}
.timeline-corner {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.timeline-label {
  display: grid;
  gap: 6px;
  align-content: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.timeline-label:hover .card-category {
  color: var(--green-dark);
}
.timeline-label .card-head {
  min-width: 0;
}
.timeline-label .card-category,
.timeline-label .card-id {
  margin: 0;
}
.timeline-label-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timeline-ruler,
.timeline-track {
  position: relative;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
  background:
    repeating-linear-gradient(
      to right,
      transparent,
      transparent calc(100% / var(--timeline-days) - 1px),
      #eef1f4 calc(100% / var(--timeline-days) - 1px),
      #eef1f4 calc(100% / var(--timeline-days))
    );
}
.timeline-ruler { min-height: 40px; }
.timeline-fokus {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(16, 185, 129, 0.06);
  border-left: 1px solid rgba(16, 185, 129, 0.28);
  border-right: 1px solid rgba(16, 185, 129, 0.28);
  pointer-events: none;
  z-index: 0;
}
.timeline-dayband {
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}
.timeline-dayband.is-weekend {
  background: rgba(244, 63, 94, 0.08);
}
.timeline-dayband.is-libur {
  background: rgba(225, 29, 72, 0.16);
}
.timeline-tick {
  position: absolute;
  top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 4px;
  border-left: 1px solid #e4e7ec;
  box-sizing: border-box;
  z-index: 1;
}
.timeline-tick.is-month {
  top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  border-left-color: var(--line);
}
.timeline-tick.is-week {
  font-weight: 700;
}
.timeline-tick.is-weekend,
.timeline-tick.is-libur {
  color: #e11d48;
  border-left-color: rgba(225, 29, 72, 0.35);
  font-weight: 700;
}
.timeline-tick.is-libur {
  color: #be123c;
}
.timeline-today {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green);
  transform: translateX(-1px);
  z-index: 1;
  pointer-events: none;
}
.timeline-bar {
  position: absolute;
  top: 10px;
  height: 24px;
  min-width: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(109, 40, 217, 0.18);
  box-sizing: border-box;
}
.timeline-bar.is-duedate {
  width: 12px !important;
  min-width: 12px;
  padding: 0;
  border-radius: 4px;
  justify-content: center;
  transform: translateX(-50%);
  background: #6366f1;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.22);
}
.timeline-bar.is-duedate span {
  position: absolute;
  left: 16px;
  max-width: 140px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  text-shadow: none;
}
.timeline-bar:hover { filter: brightness(1.05); }
.timeline-bar.is-overdue {
  background: linear-gradient(90deg, #e11d48, #f43f5e);
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.18);
}
.timeline-bar.is-duedate.is-overdue {
  background: #f43f5e;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.22);
}
.timeline-bar span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline-track.is-milestone { min-height: 52px; }
.timeline-milestone {
  position: absolute;
  top: 8px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 4px;
  z-index: 2;
  width: max-content;
  max-width: 88px;
}
.timeline-milestone i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.12);
}
.timeline-milestone.is-persiapan i { background: #2e90fa; }
.timeline-milestone.is-event i { background: #12b76a; }
.timeline-milestone em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-align: center;
  line-height: 1.2;
}
.timeline-legend { margin: 12px 0 0; }
.timeline-hidden {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.timeline-hidden-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.timeline-hidden-head h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.timeline-hidden-head p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.timeline-hidden-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}
.timeline-hidden-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faf9;
  text-decoration: none;
  color: inherit;
}
.timeline-hidden-card:hover {
  border-color: #c9d5cc;
  background: #fff;
}
.timeline-hidden-card.is-out_of_range {
  background: #fcfaff;
}
.timeline-hidden-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 6px;
}
.timeline-hidden-copy .card-head {
  min-width: 0;
}
.timeline-hidden-copy .card-category,
.timeline-hidden-copy .card-id {
  margin: 0;
}
.timeline-hidden-copy .timeline-label-title {
  white-space: nowrap;
}
.timeline-hidden-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.timeline-hidden-card svg {
  flex: none;
  color: #98a2b3;
}
.timeline-swatch {
  width: 14px;
  height: 8px;
  border-radius: 999px;
  display: inline-block;
}
.timeline-swatch.is-bar { background: #8b5cf6; }
.timeline-swatch.is-duedate {
  width: 8px;
  height: 14px;
  border-radius: 3px;
  background: #6366f1;
}
.timeline-swatch.is-overdue { background: #f43f5e; }
.timeline-swatch.is-today { width: 2px; height: 12px; border-radius: 1px; background: var(--green); }
.timeline-swatch.is-weekend {
  background: rgba(244, 63, 94, 0.28);
  border: 1px solid rgba(225, 29, 72, 0.35);
}
.timeline-swatch.is-libur {
  background: rgba(225, 29, 72, 0.55);
  border: 1px solid rgba(190, 18, 60, 0.45);
}
@media (max-width: 860px) {
  .board-calendar,
  .board-timeline { margin: 8px 16px 20px; padding: 14px; }
  .timeline-scroll { --timeline-label-width: 120px; }
}
@supports not (width: 1cqi) {
  .timeline-grid {
    --timeline-track-width: calc(var(--timeline-months) * 720px);
  }
}
.board .member-row .avatar { margin-left: -8px; border: 2px solid var(--bg); }
.board .member-row .avatar:first-child { margin-left: 0; }
.board .vis { margin: 0; padding: 6px 10px; background: #fff; border: 1px solid var(--line); }
#archive-board { background: var(--green); color: #fff; border: 0; border-radius: 12px; }
#archive-board:hover { background: var(--green-dark); }
.board-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 28px 14px;
}
.board-toolbar .filters { flex: 1; padding: 0; }
.board .filters .field { margin: 0; }
.board .filters input, .board .filters select {
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  min-height: 40px;
  padding: 0 14px;
}
.board .filters select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
#filter-q {
  padding-left: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f675f' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 16px;
}
.columns {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  overflow-x: auto;
  padding: 4px 28px 28px;
  min-height: calc(100vh - 210px);
}
.list-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 0 0 auto;
}
.column, .column-new {
  width: 300px;
  max-width: 300px;
  flex: 0 0 300px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(48, 36, 22, 0.04);
  box-sizing: border-box;
}
.column-head, .add-card, .column-new { display: grid; gap: 6px; }
.column-head { grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: start; padding: 2px 2px 8px; gap: 8px; }
.column-dot { width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: #94a3b8; }
.column-dot.is-activity { background: var(--green); }
.activity-column {
  background: #fff;
  border: 1px solid var(--line);
}
.activity-column .activity-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.activity-column .column-body.activity-feed {
  display: grid;
  gap: 0;
  max-height: min(70vh, 640px);
  overflow: auto;
  padding-right: 2px;
}
.activity-column .board-activity-item {
  padding: 10px 0;
}
.activity-column .board-activity-item:first-child { padding-top: 2px; }
.activity-column .activity-event-copy small a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}
.activity-column .activity-event-copy small a:hover { text-decoration: none; }
.column[data-list="sedang"] .column-dot { background: #f59e0b; }
.column[data-list="selesai"] .column-dot { background: #22c55e; }
.column-new { background: #f4f7fb; }
.column-new .column-dot { background: #3b82f6; margin-top: 4px; }
label.column-kicker { display: block; }
.column-kicker { margin: 0; font-weight: 700; }
.column-note { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.list-title {
  width: 100%;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 15px;
  padding: 2px 4px;
  border-radius: 8px;
}
.count-badge {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}
.list-menu summary {
  list-style: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}
.list-menu summary:hover { background: rgba(255, 255, 255, 0.85); }
.column:not([data-kunci]):not(.sub-list) .column-head { cursor: grab; }
.column.sub-list { background: rgba(255, 255, 255, 0.78); }
.column.is-dragging-list,
.list-group.is-dragging-list { opacity: 0.55; }
.column.is-list-over,
.list-group.is-list-over { outline: 2px dashed var(--green); outline-offset: 2px; }
.list-menu summary::-webkit-details-marker { display: none; }
.list-menu { position: relative; }
.list-menu div { display: none; }
.list-menu[open] div {
  position: absolute;
  right: 0;
  z-index: 5;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  min-width: 150px;
  padding: 4px;
  box-shadow: var(--shadow);
}
.list-menu button { text-align: left; border: 0; background: transparent; border-radius: 8px; padding: 8px; }
.column-body { display: grid; gap: 8px; min-height: 28px; min-width: 0; }
.column-body.is-over { outline: 2px dashed var(--green); outline-offset: 2px; border-radius: 12px; }

.card {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(48, 36, 22, 0.04);
  cursor: grab;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}
.card:hover { border-color: #d3c6b4; }
.card-face { min-width: 0; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.card-category { margin: 0; min-width: 0; font-size: 12px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-id { margin: 0; flex: none; font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: #64748b; text-align: right; }
.card-excerpt { margin: 6px 0 0; color: #3f4a45; font-size: 13px; font-weight: 400; line-height: 1.45; overflow-wrap: anywhere; }
.card.is-dragging { opacity: 0.45; }
.card.is-done { background: var(--green-soft); }
.card h3 {
  margin: 6px 0;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.label-row, .card-foot, .card-meta, .avatar-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.card-foot .card-meta { flex: none; flex-wrap: nowrap; }
.card-foot .label-row { flex: 1; justify-content: center; min-width: 0; }
.card-foot .avatar-row { flex: none; }
.card-meta { color: var(--muted); font-size: 12px; }
.card .due { background: transparent; padding: 0; font-weight: 600; color: var(--muted); }
.card .due.is-overdue { background: transparent; color: var(--danger); }
.card-stat::before, .card .due::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  vertical-align: -1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h2v2h6V3h2v2h3v16H4V5h3zm13 6H6v10h14z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h2v2h6V3h2v2h3v16H4V5h3zm13 6H6v10h14z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.card-stat-comment::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16v12H7l-3 3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16v12H7l-3 3z'/%3E%3C/svg%3E");
}
.card-stat-check::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h16v12H4zm2 2v2h4V8zm6 0v2h4V8zM6 12v2h4v-2zm6 0v2h4v-2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 6h16v12H4zm2 2v2h4V8zm6 0v2h4V8zM6 12v2h4v-2zm6 0v2h4v-2z'/%3E%3C/svg%3E");
}
.card.is-done h3 { padding-right: 22px; }
.card.is-done { position: relative; }
.card.is-done::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.label {
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 7px;
}
.add-card, .column-new { margin-top: 8px; }
.column .add-card {
  width: 100%;
  border: 0;
  background: transparent;
  color: #5f675f;
  text-align: left;
  font-weight: 700;
  padding: 8px 4px;
}
.add-card input, .column-new input { background: rgba(255, 255, 255, 0.7); }

.archive-strip {
  margin: 0 20px 12px;
  padding: 10px 12px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px dashed var(--line);
}
.archive-strip h2 { margin: 0 0 8px; font-size: 14px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-row button { border-radius: 999px; border: 1px solid var(--line); background: white; padding: 6px 10px; }

.empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  background: var(--paper);
  border-radius: 12px;
  border: 1px dashed var(--line);
}

.table-wrap { overflow-x: auto; background: var(--paper); border-radius: 12px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; color: var(--muted); }

.stack { display: grid; gap: 14px; }
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.panel h2 { margin: 0 0 12px; font-size: 18px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 14px; }

.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label, .sheet legend, fieldset legend { font-size: 13px; font-weight: 700; }
.field-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-label-row a { font-size: 13px; font-weight: 600; }
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; padding: 10px 12px 4px; }
input, textarea, select {
  width: 100%;
  border: 1px solid #d9d0c3;
  background: #fff;
  border-radius: 10px;
  padding: 10px 12px;
}
textarea { resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 13px; margin: 0; }
.field-hint { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.checkline, .label-option { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.checkline input, .label-option input, .check-item input[type="checkbox"] { width: auto; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 1px #d9d0c3;
  padding: 0;
}
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.check-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.comment { display: block; }
.photo-preview { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--green); }

dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  width: min(880px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--paper);
  color: inherit;
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(28, 36, 33, 0.46); }
.sheet form, .narrow-dialog form, .narrow-dialog .dialog-body { padding: 16px; }
.narrow-dialog { width: min(460px, calc(100vw - 28px)); }
#dlg-board-setting { max-height: calc(100vh - 32px); overflow: auto; }
.settings-hero { margin-bottom: 22px; }
.settings-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.settings-hero-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e5f2eb;
  color: var(--green);
  flex: none;
  margin-top: 2px;
}
.settings-hero h1 { margin: 0; }
.settings-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.settings-nav {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.settings-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.settings-nav-item svg { flex: none; }
.settings-nav-item:hover { background: var(--green-soft); color: var(--ink); }
.settings-nav-item.is-active {
  background: var(--green-soft);
  color: var(--green);
}
.settings-main { display: grid; gap: 16px; min-width: 0; }
.settings-card {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.settings-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
}
.settings-card-head h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.settings-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.settings-card-head svg {
  flex: none;
  color: #7d8a84;
  margin-top: 2px;
}
.settings-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.settings-image {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}
.settings-image-preview {
  position: relative;
  flex: none;
}
.settings-image-preview .project-cover {
  width: 148px;
  height: 96px;
  margin: 0;
  border-radius: 12px;
}
.settings-upload {
  position: relative;
  flex: 1 1 220px;
  min-height: 96px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 14px;
  border: 1.5px dashed #d5cbbd;
  border-radius: 14px;
  background: #f9fafb;
  color: var(--muted);
  text-align: center;
  cursor: pointer;
}
.settings-upload strong {
  color: var(--ink);
  font-size: 14px;
}
.settings-upload > span { font-size: 12px; }
.settings-upload-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  margin-bottom: 2px;
}
.settings-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.settings-upload:hover { border-color: var(--green); background: var(--green-soft); }
.settings-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 4px 0 0;
}
.settings-footer .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.settings-card-archive p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.settings-card-archive .btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.label-list { display: grid; gap: 8px; margin-bottom: 14px; }
.label-manage {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfaf8;
}
.label-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 30px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.label-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}
.label-row-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.label-icon-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f2f4f7;
  color: #6f6a63;
  cursor: pointer;
  padding: 0;
  line-height: 0;
}
.label-icon-btn:hover { background: #e5dfd5; color: var(--ink); }
.label-icon-btn.is-danger,
.label-remove input:checked + .label-icon-btn {
  background: #fdecec;
  color: #c0392b;
}
.label-remove {
  position: relative;
  display: grid;
  margin: 0;
  cursor: pointer;
}
.label-remove input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.label-fields {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.label-fields .field { margin-bottom: 0; }
.label-locked-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.label-manage.is-removing {
  background: #fff8f8;
  border-color: #f0c9d4;
}
.label-manage.is-removing .label-chip {
  opacity: 0.55;
  text-decoration: line-through;
}
.label-create {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px dashed #d8cec0;
  border-radius: 14px;
  background: #f9fafb;
}
.label-create .field { margin-bottom: 0; }
.label-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  white-space: nowrap;
}
.label-add-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.color-pick { display: flex; gap: 6px; flex-wrap: wrap; }
.color-choice { position: relative; display: grid; }
.color-choice input { position: absolute; inset: 0; margin: 0; opacity: 0; }
.color-choice input:checked + .swatch { box-shadow: 0 0 0 2px var(--ink); }
.color-choice input:focus-visible + .swatch { outline: 2px solid var(--green); outline-offset: 2px; }
@media (max-width: 900px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .settings-pair,
  .label-create { grid-template-columns: 1fr; }
  .label-add-btn { width: 100%; justify-content: center; }
}
@media (max-width: 720px) {
  .project-settings.page { padding: 20px 16px 48px; }
  .settings-nav { grid-template-columns: 1fr; }
}
.member-sheet { padding: 16px; }
.member-sheet h3 { margin: 16px 0 8px; font-size: 15px; }
.person-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.person-row small { display: block; color: var(--muted); }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; align-items: center; }
.person-row.is-invite .row-actions { flex-wrap: nowrap; }
.person-row.is-invite .row-actions .btn { flex: none; white-space: nowrap; }
.invite-share { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 8px; }
.invite-share .btn, .invite-share form { flex: none; }
.invite-link { width: auto; flex: 1 1 160px; min-width: 140px; max-width: 240px; height: 38px; padding-top: 0; padding-bottom: 0; }
#dlg-undangan-sukses { width: min(560px, calc(100vw - 28px)); }
#dlg-undangan-sukses .invite-share { display: grid; grid-template-columns: 1fr auto; }
#dlg-undangan-sukses .invite-link { width: 100%; }
#dlg-undangan-sukses .dialog-body > p { margin: 0 0 12px; }
.sheet-head, .sheet-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.sheet-actions { justify-content: flex-end; margin-top: 8px; }
.card-layout { display: grid; grid-template-columns: 1.35fr .8fr; gap: 16px; }
.grow { flex: 1; }

.auth-body { background: #e7dece; }
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}
.auth-aside {
  padding: 40px;
  background:
    radial-gradient(circle at 20% 20%, rgba(226, 196, 138, 0.35), transparent 28%),
    var(--header);
  color: #f6f1e8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.auth-aside h2 { font-size: 40px; line-height: 1.05; letter-spacing: -0.045em; margin: 12px 0; }
.auth-kicker { color: var(--gold); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px; }
.mini-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-board div { background: rgba(255, 255, 255, 0.06); border-radius: 12px; padding: 10px; display: grid; gap: 8px; }
.mini-board span { font-size: 12px; color: #d9d1c5; }
.mini-board i { display: block; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); }
.auth-panel { display: grid; align-content: center; padding: 32px 28px; }
.auth-panel form, .auth-card {
  width: min(420px, 100%);
  margin: 0 auto;
  background: var(--paper);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--line);
}
.auth-links { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }

.banner {
  margin: 0 20px 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f8eadf;
  color: #7c2d12;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.login-body {
  min-height: 100vh;
  background: #5b21b6;
}
.login-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 3fr 2fr;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 14% 10%, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(ellipse at 40% 88%, rgba(46, 16, 101, 0.5), transparent 46%),
    linear-gradient(155deg, #7c3aed 0%, #6d28d9 42%, #4c1d95 100%);
}
.login-hero {
  position: relative;
  color: #fff;
  min-height: 100vh;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  gap: clamp(28px, 5vh, 56px);
  padding: clamp(40px, 7vh, 72px) clamp(28px, 4vw, 56px) 40px;
  overflow: visible;
}
.login-copy {
  position: relative;
  z-index: 2;
  max-width: min(360px, 90%);
  animation: login-copy-enter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.login-hero h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-wrap: balance;
}
.login-board {
  position: relative;
  z-index: 2;
  width: min(760px, 122%);
  margin: 0 auto auto;
  justify-self: center;
  align-self: start;
  transform: translateY(-12px);
  pointer-events: none;
  animation: board-enter 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes login-copy-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes board-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(-12px);
  }
}
@keyframes board-float {
  0%, 100% {
    transform: perspective(1400px) rotateX(10deg) rotateY(-14deg) rotateZ(-6deg) translate3d(0, 0, 0);
  }
  50% {
    transform: perspective(1400px) rotateX(10deg) rotateY(-14deg) rotateZ(-6deg) translate3d(0, -36px, 28px);
  }
}
@keyframes board-settle {
  from {
    opacity: 0;
    transform: perspective(1400px) rotateX(18deg) rotateY(-22deg) rotateZ(-10deg) translateY(16px);
  }
  to {
    opacity: 1;
    transform: perspective(1400px) rotateX(10deg) rotateY(-14deg) rotateZ(-6deg) translate3d(0, 0, 0);
  }
}
.glass-frame {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  min-height: 420px;
  padding: 24px 20px 28px;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 42%, rgba(76, 29, 149, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 42px 80px rgba(46, 16, 101, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  transform: perspective(1400px) rotateX(10deg) rotateY(-14deg) rotateZ(-6deg);
  transform-origin: 40% 55%;
  will-change: transform;
  animation:
    board-settle 1.05s cubic-bezier(0.16, 1, 0.3, 1) both,
    board-float 5.8s ease-in-out 1.1s infinite;
}
.glass-rail {
  display: grid;
  align-content: start;
  gap: 12px;
  border-radius: 20px;
  background: rgba(46, 16, 101, 0.55);
  padding: 14px 10px;
}
.glass-rail span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
}
.glass-rail .glass-brand {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  background: #22c55e;
  box-shadow: 0 8px 16px rgba(16, 70, 46, 0.28);
}
.glass-rail .is-on {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.glass-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
}
.glass-cols section {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 360px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  pointer-events: auto;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.glass-cols section.is-over {
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.glass-cols section:nth-child(2) { background: rgba(46, 16, 101, 0.22); }
.glass-cols header {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #f8fafc;
  font-size: 12px;
}
.glass-cols header b { font-weight: 700; }
.glass-cols header em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: block; }
.dot-amber { background: #f0b429; }
.dot-blue { background: #3b82f6; }
.dot-green { background: #34d399; }
.col-meter {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #86efac);
}
.g-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 26px;
  gap: 8px 10px;
  min-height: 78px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
  cursor: pointer;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    opacity 0.42s ease;
}
.g-card:hover {
  z-index: 5;
  transform: translateY(-10px) rotate(-8deg) scale(1.04);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.28);
  transition-duration: 0.18s;
}
.g-card.is-dragging,
.g-card.is-dragging:hover {
  z-index: 30;
  cursor: grabbing;
  transform: rotate(-8deg);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
  transition: none;
}
.g-card-slot {
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.g-card .bar { grid-column: 1 / -1; height: 8px; width: 46%; border-radius: 999px; }
.bar-blue { background: #3b82f6; }
.bar-amber { background: #f59e0b; }
.bar-violet { background: #8b5cf6; }
.bar-green { background: #22c55e; }
.bar-gold { background: #eab308; }
.bar-slate { background: #94a3b8; }
.g-card .line {
  grid-column: 1;
  height: 7px;
  border-radius: 999px;
  background: #e6ebef;
}
.g-card .line.short { width: 62%; }
.g-card .line.mid { width: 78%; }
.g-card.is-done .line {
  background: #86efac;
}
.g-card.is-done .bar {
  opacity: 0.85;
}
.ava {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  grid-row: 2 / span 2;
  grid-column: 2;
  align-self: end;
  background:
    radial-gradient(circle at 50% 38%, #f6efe6 0 28%, transparent 29%),
    radial-gradient(circle at 50% 92%, #f6efe6 0 36%, transparent 37%),
    #c4a484;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.ava-b { background:
  radial-gradient(circle at 50% 34%, #2c241c 0 16%, transparent 17%),
  radial-gradient(circle at 50% 42%, #f3e4d4 0 24%, transparent 25%),
  radial-gradient(circle at 50% 96%, #f3e4d4 0 34%, transparent 35%),
  #8d6a4a;
}
.ava-c { background:
  radial-gradient(circle at 50% 40%, #f7efe4 0 27%, transparent 28%),
  radial-gradient(circle at 50% 94%, #1f3b73 0 34%, transparent 35%),
  #d7b899;
}
.ava-d { background:
  radial-gradient(circle at 50% 36%, #1c1c1c 0 14%, transparent 15%),
  radial-gradient(circle at 50% 44%, #f6e7d8 0 24%, transparent 25%),
  radial-gradient(circle at 50% 96%, #f6e7d8 0 34%, transparent 35%),
  #b08968;
}
.login-stage {
  position: relative;
  z-index: 4;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 100vh;
  overflow: auto;
  padding: 48px clamp(24px, 4vw, 48px);
  background: #f6f3ff;
  border-radius: 0;
  box-shadow: -24px 0 60px rgba(46, 16, 101, 0.12);
}
.login-card {
  width: min(400px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px 30px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, 0.1);
  border: 1px solid #eaecf0;
  animation: login-card-enter 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes login-card-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.login-card h1 { font-size: 32px; margin: 0 0 8px; letter-spacing: -0.03em; color: var(--ink); }
.login-card .lede { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.login-card .field label { color: var(--ink); }
.login-input {
  position: relative;
  display: flex;
  align-items: center;
}
.login-input-icon,
.login-reveal {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #8d867c;
  display: grid;
  place-items: center;
}
.login-input-icon { left: 12px; pointer-events: none; }
.login-reveal {
  right: 8px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  padding: 0;
}
.login-input input {
  padding-left: 40px;
  padding-right: 42px;
  min-height: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 16px;
  color: var(--ink);
  font-size: 14px;
}
.login-remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.login-submit {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  border-radius: 12px;
  font-weight: 700;
}
.login-submit:hover { background: var(--green-dark); }
.login-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 0;
  font-size: 14px;
}
.login-links a { color: var(--green); text-decoration: none; }
.login-card .form-success { margin: 0 0 14px; color: var(--green-dark); font-weight: 600; }
.login-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: var(--muted);
  font-size: 13px;
}
.login-or::before,
.login-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.google-button { display: flex; justify-content: center; min-height: 44px; }
.google-button > div { width: 100%; }

.home,
.tasks,
.workspace-settings,
.notifications-page,
.project-settings,
body[data-page] {
  color: var(--home-ink);
}
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 28px 64px;
}
.home .page { max-width: 1180px; margin: 0 auto; padding: 28px 28px 64px; }
.home-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 24px;
  margin-bottom: 18px;
}
.home-kicker {
  margin: 0 0 8px;
  color: var(--home-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--home-ink);
}
.home-hero .lede { max-width: 48ch; margin-top: 10px; font-size: 15px; color: var(--home-muted); }
.home-actions { flex: none; }
.home-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
}
.home-actions .btn-primary,
dialog .btn-primary,
.btn-primary {
  background: var(--home-accent);
  border-color: var(--home-accent);
  color: #fff;
}
.home-actions .btn-primary:hover,
dialog .btn-primary:hover,
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
.home-spotlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  background: linear-gradient(120deg, #f5f3ff 0%, #fae8ff 55%, #fff7ed 100%);
  border: 1px solid #e9d5ff;
}
.home-spotlight-copy { display: grid; gap: 4px; min-width: 0; }
.home-spotlight-copy small {
  color: var(--home-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-spotlight-copy strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}
.home-spotlight-copy span {
  color: var(--home-muted);
  font-size: 13px;
}
.home-spotlight-cta {
  flex: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e9d5ff;
  color: var(--home-accent);
  font-size: 13px;
  font-weight: 700;
}
.home-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #fff5f5;
  border: 1px solid #fecdca;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
}
.home-alert b { display: block; letter-spacing: -0.02em; }
.home-alert small { color: var(--home-muted); }
.home-alert-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 10px;
  background: #fee4e2;
  color: #b42318;
}
.home-alert .due {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #b42318;
  font-weight: 700;
}
.home-alert-go { flex: none; color: #98a2b3; }
.home-section { margin-top: 22px; }
.home-panel {
  padding: 18px;
  border-radius: 20px;
  background: var(--home-paper);
  border: 1px solid var(--home-line);
  box-shadow: var(--home-shadow);
}
.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.home-section-head h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.home-section-head p { margin: 4px 0 0; color: var(--home-muted); font-size: 13px; }
.home-section-head > a {
  color: var(--home-accent);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.home-stat-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}
.home-stat-filters .field { min-width: 140px; margin: 0; }
.home-stat-filters label {
  display: block;
  margin-bottom: 4px;
  color: var(--home-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-stat-filters select {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid var(--home-line);
  background: #fff;
  padding: 0 10px;
}
.home-stat-filters .btn { min-height: 40px; background: #fff; }
.home-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.home-stat {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: #fcfcfd;
  border: 1px solid var(--home-line);
}
.home-stat-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--stat) 14%, white);
  color: var(--stat);
}
.home-stat-name {
  color: var(--home-muted);
  font-size: 13px;
  font-weight: 600;
}
.home-stat-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
}
.home-stat strong {
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.home-sort {
  display: inline-flex;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: #f2f4f7;
}
.home-sort .btn {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--home-muted);
  box-shadow: none;
}
.home .btn.is-active-sort,
.home-sort .btn.is-active-sort {
  background: var(--home-accent);
  color: #fff;
  border-color: transparent;
}
.home-member-load {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--home-accent-soft);
  font-size: 12px;
  color: var(--home-accent);
}
.home-member-load strong { color: var(--home-accent); font-size: 13px; }
.home-load-table { display: grid; gap: 8px; }
.home-load-head,
.home-load-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) 72px 72px 96px minmax(140px, 1fr);
  gap: 12px;
  align-items: center;
}
.home-load-head {
  padding: 0 12px 4px;
  color: var(--home-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-load-row {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--home-line);
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.home-load-row:hover { border-color: #d6bbfb; background: #fcfaff; }
.home-load-member {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.home-load-member .avatar {
  width: 36px;
  height: 36px;
  margin: 0;
  font-size: 12px;
}
.home-load-member strong,
.home-load-member small { display: block; }
.home-load-member strong { font-size: 14px; letter-spacing: -0.02em; }
.home-load-member small {
  color: var(--home-muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-load-bar-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-load-bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: #f2f4f7;
  overflow: hidden;
}
.home-load-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--home-accent), var(--home-accent-2));
}
.home-load-bar-cell em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--home-muted);
  min-width: 34px;
  text-align: right;
}
.home-member-stat strong { font-size: 14px; }
.home-cal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.home-cal-nav strong { min-width: 9ch; text-align: center; }
.home-cal-nav .btn {
  min-height: 34px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--home-line);
}
.timeline-range {
  align-items: end;
}
.timeline-range-field {
  display: grid;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.timeline-range-field input[type="month"] {
  min-height: 34px;
  min-width: 11.5rem;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.timeline-range-sep {
  align-self: end;
  padding-bottom: 8px;
  color: var(--muted);
  font-weight: 700;
}
.home-cal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .85fr);
  gap: 16px;
  align-items: start;
}
.home-cal {
  display: grid;
  gap: 6px;
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: transparent;
}
.home-cal-weekdays,
.home-cal-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.home-cal-weekdays span {
  text-align: center;
  font-size: 12px;
  color: var(--home-muted);
  padding: 4px 0;
  font-weight: 600;
}
.home-cal-day {
  min-height: 58px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  color: var(--home-ink);
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.home-cal-day.is-outside { opacity: .4; }
.home-cal-day.is-today { box-shadow: inset 0 0 0 1px #d6bbfb; }
.home-cal-day.is-selected {
  background: var(--home-accent);
  color: #fff;
  border-color: var(--home-accent);
}
.home-cal-day.is-selected .home-cal-dot { background: #fff; }
.home-cal-day:hover:not(.is-selected) { border-color: #d6bbfb; background: #fff; }
.home-cal-day.has-event:not(.is-selected) { background: #fcfaff; }
.home-cal-num { font-size: 13px; font-weight: 700; }
.home-cal-dots { display: flex; gap: 4px; }
.home-cal-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
}
.home-cal-dot.is-terlambat { background: #f04438; }
.home-cal-dot.is-deadline { background: var(--home-accent); }
.home-cal-dot.is-range,
.home-cal-dot.is-range-terlambat { background: #f79009; }
.home-cal-dot.is-admin,
.home-cal-dot.is-admin-terlambat { background: #fdb022; }
.home-cal-dot.is-persiapan { background: #2e90fa; }
.home-cal-dot.is-event { background: #12b76a; }
.home-cal-detail {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--home-line);
  background: #fcfcfd;
}
.home-cal-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.home-cal-detail-kicker {
  margin: 0 0 2px;
  color: var(--home-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-cal-detail h3 { margin: 0; font-size: 1.05rem; letter-spacing: -0.02em; }
.home-cal-detail-head a {
  color: var(--home-accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.home-cal-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.home-cal-agenda li { padding: 0; border: 0; }
.home-agenda-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--home-line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  margin: 0;
}
.home-agenda-item:hover { border-color: #d6bbfb; }
.home-agenda-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  flex: none;
}
.home-agenda-icon.is-due { background: #f4ebff; color: var(--home-accent); }
.home-agenda-icon.is-range { background: #fff4ed; color: #b54708; }
.home-agenda-icon.is-admin { background: #fffaeb; color: #b54708; }
.home-agenda-icon.is-prep { background: #eff8ff; color: #2e90fa; }
.home-agenda-icon.is-event { background: #ecfdf3; color: #12b76a; }
.home-agenda-item.is-range,
.home-agenda-item.is-range-terlambat {
  border-color: #f9dbaf;
}
.home-agenda-item.is-admin,
.home-agenda-item.is-admin-terlambat {
  border-color: #f9dbaf;
  box-shadow: inset 3px 0 0 #fdb022;
}
.home-agenda-copy { flex: 1; min-width: 0; display: grid; gap: 2px; }
.home-agenda-copy strong {
  font-size: 14px;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-agenda-copy small { color: var(--home-muted); font-size: 12px; }
.home-agenda-go { color: #98a2b3; flex: none; }
.home-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--home-muted);
}
.home-cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.home-members {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.home-member {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--home-line);
  text-decoration: none;
  color: inherit;
}
.avatar.lg {
  width: 64px;
  height: 64px;
  margin: 0;
  justify-self: auto;
  font-size: 22px;
}
.page-head .avatar.lg { align-self: center; }
.home-member .avatar {
  width: 28px;
  height: 28px;
  margin: 0;
  justify-self: auto;
  font-size: 11px;
}
.home-member-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.home-member-main > strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.home-member-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.2;
}
.home-member-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.home-boards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.home-boards-archive { grid-template-columns: minmax(0, 360px); }
.home-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  grid-template-rows: auto auto 1fr auto;
  gap: 4px 8px;
  min-height: 168px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--home-line);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--home-shadow);
  overflow: hidden;
}
.home-card:hover { border-color: #d6bbfb; }
.home-card-badges {
  grid-column: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}
.home-card .vis { grid-column: auto; margin: 0; }
.home-card .vis.private { color: #b42318; background: #fee4e2; }
.home-card .vis.archive { color: #667085; background: #f2f4f7; }
.home-card .vis.tipe.is-regular { color: #6941c6; background: #f4ebff; }
.home-card .vis.tipe.is-event { color: #b54708; background: #ffefd6; }
.home-card strong {
  grid-column: 1;
  margin-top: 6px;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.board-tipe-field {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}
.board-tipe-field legend {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: #344054;
}
.board-tipe-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.board-tipe-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin: 0;
  padding: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.board-tipe-option:has(input:checked) {
  border-color: #9e77ed;
  background: #f9f5ff;
  box-shadow: 0 0 0 1px #9e77ed;
}
.board-tipe-option input {
  margin-top: 3px;
}
.board-tipe-option strong {
  display: block;
  font-size: 14px;
  color: #101828;
}
.board-tipe-option small {
  display: block;
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
  line-height: 1.35;
}
@media (max-width: 640px) {
  .board-tipe-options { grid-template-columns: 1fr; }
}
.home-card-meta {
  grid-column: 1;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.4;
}
.home-card-foot {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}
.home-avatars { display: flex; align-items: center; }
.home-avatars i, .home-avatars b {
  width: 26px;
  height: 26px;
  margin-left: -8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #7c3aed;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.home-avatars i:first-child { margin-left: 0; }
.home-avatars i:nth-child(2) { background: #12b76a; }
.home-avatars i:nth-child(3) { background: #f79009; }
.home-avatars b { background: #f2f4f7; color: #475467; font-size: 10px; }
.home-go {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--home-line);
  color: #475467;
}
.home-card-photo {
  grid-column: 2;
  grid-row: 1 / -1;
  width: 92px;
  height: 100%;
  min-height: 136px;
  object-fit: cover;
  border-radius: 14px;
  align-self: stretch;
}
.project-cover {
  display: block;
  width: 120px;
  height: 80px;
  margin-bottom: 8px;
  object-fit: cover;
  border-radius: 12px;
}
.home-illu {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: stretch;
  border-radius: 14px;
  background:
    linear-gradient(#ede9fe, #ede9fe) 18px 28px / 46px 34px no-repeat,
    linear-gradient(#f5f3ff, #f5f3ff) 28px 40px / 52px 40px no-repeat,
    linear-gradient(180deg, #f5f3ff, #fff);
}
.home-illu-target {
  background:
    radial-gradient(circle at 62% 42%, #f4d35e 0 8px, transparent 9px),
    radial-gradient(circle at 58% 48%, #7c3aed 0 16px, #ddd6fe 17px 22px, #fff 23px 26px, #7c3aed 27px 34px, transparent 35px),
    linear-gradient(180deg, #faf5ff, #fff);
}
.home-illu-check {
  background:
    linear-gradient(#d1fae5, #d1fae5) 16px 24px / 58px 28px no-repeat,
    linear-gradient(#ecfdf5, #ecfdf5) 24px 58px / 52px 28px no-repeat,
    linear-gradient(180deg, #ecfdf3, #fff);
}
.home-illu-box {
  background:
    linear-gradient(#d0d5dd, #d0d5dd) 22px 46px / 48px 36px no-repeat,
    linear-gradient(#eaecf0, #eaecf0) 18px 40px / 56px 12px no-repeat,
    linear-gradient(180deg, #f9fafb, #fff);
}
@media (max-width: 960px) {
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-cal-layout,
  .home-boards,
  .home-load-head,
  .home-load-row { grid-template-columns: 1fr; }
  .home-load-head { display: none; }
  .home-load-row { gap: 8px; }
}

.tasks { background: var(--bg); }
.tasks .page { max-width: 1360px; margin: 0 auto; padding: 28px 32px 56px; }
.tasks-calendar-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line, #e4e7ec);
}
.tasks-calendar {
  margin-top: 0;
}
.tasks-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 320px);
  gap: 12px 24px;
  align-items: center;
  margin-bottom: 18px;
}
.tasks-hero h1 {
  margin: 0;
  font-size: clamp(32px, 3.4vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.tasks-hero .lede { max-width: 46ch; }
.tasks-art svg { width: 100%; height: auto; display: block; }
.task-filters {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.task-filters .field { position: relative; margin: 0; width: auto; }
.task-filters .field-search { flex: 1 1 320px; min-width: 280px; }
.task-filters .field:not(.field-search) { flex: 0 0 auto; }
.task-filters .field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.task-filters input,
.task-filters select {
  width: auto;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 12px center, right 12px center;
  background-size: 16px, 10px;
  padding: 0 28px 0 34px;
  font-size: 13.5px;
}
.task-filters input {
  width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f675f' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M16 16l4 4'/%3E%3C/svg%3E");
  background-position: 12px center;
  background-size: 16px;
  padding-right: 14px;
}
.task-filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  border-radius: 12px;
  background: #fff;
}
.task-filters button::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16l-6 7v6l-4 2v-8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 5h16l-6 7v6l-4 2v-8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.task-empty { margin: 0 0 12px; color: var(--muted); }
.tasks .task-list { gap: 12px; }
.tasks .task-board {
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  align-items: start;
}
.tasks .task-row.task-card {
  display: block;
  padding: 12px;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.tasks .task-row.task-card::before,
.tasks .task-row.task-card::after { content: none; }
.tasks .task-card .task-where { margin: 0 0 2px; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.tasks .task-card .due,
.tasks .task-card .card-stat {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}
.tasks .task-card .due.is-overdue { background: transparent; color: var(--danger); }
.tasks .task-card .due::before,
.tasks .task-card .card-stat::before {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}
.tasks .task-row {
  position: relative;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(48, 36, 22, 0.04);
}
.tasks .task-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #94a3b8;
}
.tasks .tone-rose::before { background: #fb7185; }
.tasks .tone-blue::before { background: #60a5fa; }
.tasks .tone-gold::before { background: #f5c16c; }
.tasks .task-row::after {
  content: "›";
  justify-self: end;
  color: #8d867c;
  font-size: 20px;
  line-height: 1;
}
.task-more {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #8d867c 1.4px, transparent 1.5px) left center / 6px 6px repeat-x;
}
.task-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f6f3ee;
}
.tone-rose .task-icon { background: #fff1f2; color: #e11d48; }
.tone-blue .task-icon { background: #eff6ff; color: #2563eb; }
.tone-gold .task-icon { background: #fff7ed; color: #d97706; }
.task-main { display: grid; gap: 3px; min-width: 0; }
.task-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}
.task-category {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.task-id {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #64748b;
}
.task-main b { font-size: 16px; }
.task-main small { font-size: 13px; }
.task-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.task-tags .label { border-radius: 999px; padding: 2px 8px; }
.tag-mendesak { color: #be123c; background: #ffe4e6; }
.tag-konten { color: #047857; background: #d1fae5; }
.task-side { display: flex; align-items: center; gap: 10px; }
.tasks .due, .tasks .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #f6f3ee;
  white-space: nowrap;
}
.tasks .due::before, .tasks .pill::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h2v2h6V3h2v2h3v16H4V5h3zm13 6H6v10h14z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h2v2h6V3h2v2h3v16H4V5h3zm13 6H6v10h14z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tasks .due.is-overdue { background: #fff1f2; color: #e11d48; }

@media (max-width: 1180px) {
  .login-board { width: min(640px, 118%); }
  .login-hero h1 { font-size: clamp(34px, 4.2vw, 52px); }
  .login-stage { border-radius: 0; }
  .glass-frame {
    min-height: 360px;
    padding: 18px 14px 20px;
    transform: perspective(1100px) rotateX(8deg) rotateY(-10deg) rotateZ(-4deg);
  }
  .glass-cols section { min-height: 300px; }
}
@media (max-width: 980px) {
  .login-screen {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .login-hero {
    min-height: auto;
    padding: 40px 24px 28px;
    gap: 24px;
  }
  .login-copy { max-width: 16ch; animation: none; }
  .login-board {
    width: min(560px, 100%);
    margin: 0 auto -8px;
    animation: none;
  }
  .glass-frame { min-height: 320px; }
  .glass-cols section { min-height: 260px; }
  .login-stage {
    min-height: auto;
    border-radius: 0;
    padding: 36px 24px 48px;
    box-shadow: 0 -18px 40px rgba(46, 16, 101, 0.12);
  }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .topbar { display: flex; flex-wrap: wrap; }
  .topbar-start { flex: 1; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 10px;
    right: 10px;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px;
    border-radius: 12px;
  }
  .main-nav.is-open { display: flex; }
  .nav-drop-menu { position: static; min-width: 0; margin: 0 8px 8px; }
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .login-body { background: #4c1d95; }
  .login-screen {
    grid-template-columns: 1fr;
    min-height: 100vh;
  }
  .login-hero {
    display: grid;
    min-height: auto;
    padding: 36px 24px 20px;
    gap: 0;
  }
  .login-copy {
    max-width: 14ch;
    animation: none;
  }
  .login-hero h1 {
    font-size: clamp(34px, 9vw, 44px);
  }
  .login-board { display: none; }
  .login-stage {
    min-height: auto;
    flex: 1;
    padding: 28px 20px 40px;
    background: #fff;
    box-shadow: none;
  }
  .home-hero { grid-template-columns: 1fr; min-height: 0; }
  .home-hero h1 { max-width: none; }
  .home-boards, .home-boards-archive { grid-template-columns: 1fr; }
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-members { grid-template-columns: 1fr; }
  .home-cal-layout { grid-template-columns: 1fr; }
  .home-cal-day { min-height: 52px; padding: 6px; }
  .board-calendar .home-cal-day { min-height: 96px; padding: 6px; }
  .board-calendar .home-cal-chip small { display: none; }
  .home-alert { flex-wrap: wrap; }
  .home-alert .due { margin-left: 50px; }
  .split, .card-layout, .page-head, .notice { grid-template-columns: 1fr; }
  .task-filters { flex-wrap: wrap; }
  .tasks-art { display: none; }
  .tasks-hero { grid-template-columns: 1fr; }
  .tasks .task-row { grid-template-columns: auto minmax(0, 1fr); }
  .tasks .task-side { grid-column: 2; justify-content: flex-start; flex-wrap: wrap; }
  .tasks .task-row::after { display: none; }
  .columns { min-height: 0; }
  .column, .column-new { width: min(292px, 86vw); max-width: min(292px, 86vw); flex-basis: min(292px, 86vw); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .g-card { transition: none; }
  .login-board,
  .glass-frame { animation: none; }
}
#dlg-card {
  width: min(1080px, calc(100vw - 28px));
  background: #fff;
}
#dlg-card > form { padding: 22px 24px 18px; }
.detail-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.detail-head h2 { margin: 0; font-size: 22px; }
.detail-head p { margin: 4px 0 0; color: var(--muted); }
.dialog-x {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
}
.block-label, .side-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}
.block-label svg, .side-card h3 svg { color: #7d8a84; flex: none; }
.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
.field-label-row .block-label { margin: 0; }
.desc-label-row {
  justify-content: flex-start;
  gap: 6px;
}
.desc-edit {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7d8a84;
  font: inherit;
  cursor: pointer;
  padding: 0;
  flex: none;
  line-height: 0;
}
.desc-edit svg { display: block; }
.desc-edit:hover {
  color: var(--ink);
  background: var(--green-soft);
}
.desc-view {
  min-height: 88px;
  padding: 12px 14px;
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  color: var(--ink);
}
.desc-view > :first-child { margin-top: 0; }
.desc-view > :last-child { margin-bottom: 0; }
.desc-view p { margin: 0 0 0.75em; }
.desc-view ul, .desc-view ol { margin: 0 0 0.75em; padding-left: 1.25em; }
.desc-view img { max-width: 100%; height: auto; border-radius: 10px; }
.desc-view a:not(.link-snippet) { color: var(--green); overflow-wrap: anywhere; }
.desc-view .desc-empty { margin: 0; color: var(--muted); }
.link-snippet {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 220px) auto;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid #d7e4da;
  border-radius: 14px;
  background: #eef6f0;
  color: inherit;
  text-decoration: none;
  width: fit-content;
  max-width: min(100%, 360px);
  overflow: hidden;
  vertical-align: top;
}
.link-snippet:hover { border-color: #b7ceb9; background: #e7f2ea; }
.link-snippet-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d9e5db;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
}
.link-snippet-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 0;
}
.link-snippet-body {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.link-snippet-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.link-snippet-url {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5f7267;
  font-size: 12px;
  font-weight: 600;
}
.link-snippet-url svg { flex: none; opacity: 0.8; }
.link-snippet-thumb {
  width: 72px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background: #dfeae2;
  border: 1px solid #d0ddd3;
  flex: none;
}
.link-snippet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
#dlg-card.is-readonly-card .card-edit-control { display: none !important; }
#dlg-card.is-readonly-card #card-desc-view { display: block; }
#dlg-card.is-readonly-card .tox-tinymce { display: none !important; }
#dlg-card.is-readonly-card .info-person:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}
.info-value {
  margin: 0;
  padding: 10px 12px;
  background: #f9fafb;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.check-item.is-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.check-item.is-info:last-child { border-bottom: 0; }
.check-mark {
  width: 18px;
  height: 18px;
  border: 1.5px solid #cbbba8;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  flex: none;
}
.check-mark.is-done {
  background: #e7f0ea;
  border-color: var(--green);
}
.check-text.is-done {
  color: var(--muted);
  text-decoration: line-through;
}
.req { color: #c43b5c; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail-block { margin-bottom: 14px; }
.inset-box, .side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.side-card { margin-bottom: 12px; }
.side-card h3 { margin-bottom: 10px; }
.schedule-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.schedule-head h3 { margin-bottom: 0; }
.schedule-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f8f7;
}
.schedule-switch .btn {
  border: 0;
  border-radius: 999px;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 12px;
  background: transparent;
  color: var(--muted);
}
.schedule-switch .btn.is-active {
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(20, 40, 30, 0.08);
}
.alokasi-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
#dlg-card { overflow: visible; }
#dlg-card > form { max-height: calc(100vh - 32px); overflow: auto; }
#dlg-card .tox-tinymce { border: 1px solid #d9d0c3; border-radius: 12px; }
#dlg-card.is-desc-fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  border-radius: 0;
}
#dlg-card.is-desc-fullscreen > form {
  max-height: none;
  height: 100%;
  overflow: visible;
}
#dlg-card.is-desc-fullscreen .tox.tox-tinymce.tox-fullscreen {
  border-radius: 0;
}
.list-pick, .assignee-box { position: relative; }
.list-dot {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: #2f6fed;
  pointer-events: none;
}
.list-pick select,
.label-box select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
}
.list-pick select { padding-left: 28px; }
.label-box { position: relative; }
.label-mark {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  pointer-events: none;
}
.label-box.has-label select { padding-left: 30px; }
.assignee-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 36px 8px 12px;
  border: 1px solid #d9d0c3;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.assignee-box.has-person .assignee-trigger { padding-right: 52px; }
.assignee-box.is-open .assignee-trigger { border-color: #b9b0a2; }
.assignee-trigger .avatar {
  flex: none;
  margin: 0;
}
.assignee-meta,
.assignee-option-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.assignee-meta strong,
.assignee-option-text strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}
.assignee-meta small,
.assignee-option-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}
.assignee-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  line-height: 1;
  z-index: 1;
}
.assignee-menu {
  z-index: 80;
  max-height: 240px;
  overflow: auto;
  padding: 6px;
  border: 1px solid #e4ddd2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(40, 36, 30, 0.12);
}
.assignee-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.assignee-option:hover,
.assignee-option[aria-selected="true"] { background: var(--green-soft); }
.assignee-option .avatar { flex: none; margin: 0; }
.check-add, .label-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: start; }
.btn-soft {
  border: 1px solid #d7eadf;
  background: #eef8f2;
  color: #1f7a4d;
  font-weight: 700;
  white-space: nowrap;
}
#dlg-card .check-item {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  margin-bottom: 8px;
}
.grip, .icon-quiet {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #8d8680;
}
.grip { cursor: grab; letter-spacing: -1px; }
.composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.composer textarea { min-height: 42px; }
.composer .field { position: relative; }
.composer.chat-composer {
  align-items: start;
  gap: 10px;
}
.composer.chat-composer .chat-composer-field {
  margin-bottom: 0;
  gap: 0;
  min-height: 46px;
}
.chat-block .block-label { color: var(--ink); }
.activity-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.activity-head .block-label { margin: 0; }
.activity-filter .btn {
  min-height: 28px;
  padding: 4px 10px;
  font-size: 12px;
}
.chat-list,
.activity-list { display: grid; gap: 0; }
.chat-empty { margin: 0 0 8px; }
.activity-event {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.activity-event:last-child { border-bottom: 0; }
.activity-event-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}
.activity-event-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}
.activity-event-copy p span { color: var(--muted); font-weight: 500; }
.activity-event-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.chat-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.chat-item:last-child { border-bottom: 0; }
.chat-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.chat-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.chat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  min-width: 0;
}
.chat-meta strong { font-size: 14px; }
.chat-meta small { color: var(--muted); font-size: 12px; }
.chat-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.chat-icon-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f3f1ec;
  color: #6f6a63;
  cursor: pointer;
}
.chat-icon-btn:hover { background: #ebe6de; color: var(--ink); }
.chat-icon-btn.is-danger {
  background: #fdecec;
  color: #c0392b;
}
.chat-icon-btn.is-danger:hover { background: #f9dede; }
.chat-more { position: relative; }
.chat-more-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 20;
  min-width: 120px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 28, 24, 0.12);
}
.chat-more-menu button {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.chat-more-menu button:hover { background: var(--green-soft); }
.chat-content { margin: 10px 0 0 42px; }
.chat-quote {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: rgba(31, 138, 76, 0.08);
}
.chat-quote-head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 4px;
}
.chat-quote-head strong { font-size: 13px; }
.chat-quote-head small { color: var(--muted); font-size: 12px; }
.chat-quote-body {
  font-size: 13px;
  color: #3d3a36;
  overflow-wrap: anywhere;
}
.chat-quote-body .comment-image { max-height: 160px; }
.chat-reply-draft {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--green);
  border-radius: 0 12px 12px 0;
  background: rgba(31, 138, 76, 0.08);
}
.chat-reply-draft[hidden] { display: none !important; }
.chat-reply-draft-body { min-width: 0; flex: 1; }
.chat-reply-draft-body strong { display: block; font-size: 13px; }
.chat-reply-draft-body p {
  margin: 2px 0 0;
  color: #3d3a36;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-composer-field {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.chat-composer-field textarea {
  min-height: 44px;
  max-height: 160px;
  margin: 0;
  padding: 11px 84px 11px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  resize: none;
  box-shadow: none;
  line-height: 1.4;
}
.chat-composer-field textarea:focus {
  outline: none;
  box-shadow: none;
}
.chat-composer-field:focus-within {
  border-color: #9ecf6a;
  box-shadow: 0 0 0 3px rgba(158, 207, 106, 0.25);
}
.chat-composer-tools {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.chat-tool-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a847c;
  font-weight: 700;
  cursor: pointer;
}
.chat-tool-btn:hover { background: var(--green-soft); color: var(--ink); }
.chat-edit-area {
  width: 100%;
  margin-top: 8px;
  min-height: 72px;
}
.mention {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 600;
  background: rgba(31, 138, 76, 0.12);
  border-radius: 999px;
  padding: 1px 8px;
  text-decoration: none;
  white-space: nowrap;
}
.mention:hover { text-decoration: none; background: rgba(31, 138, 76, 0.18); }
.desc-view .mention,
.comment-body .mention { overflow-wrap: normal; }
.mention-menu {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 220px;
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 28, 24, 0.12);
}
.mention-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.mention-option:hover,
.mention-option[aria-selected="true"] { background: var(--green-soft); }
.mention-option .avatar { flex: none; width: 28px; height: 28px; font-size: 11px; }
.mention-option-text { display: grid; gap: 2px; min-width: 0; }
.mention-option-text strong { font-size: 14px; }
.mention-option-text small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mention-empty { margin: 0; padding: 8px 10px; color: var(--muted); font-size: 13px; }
.comment-body { margin: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.45; }
.comment-body .comment-image {
  display: block;
  max-width: min(100%, 420px);
  max-height: 320px;
  width: auto;
  height: auto;
  margin: 8px 0;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: contain;
}
.comment-body a:not(.mention) { color: var(--green); }
.comment-upload-status { margin: 6px 0 0; }
.send-comment {
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  flex: none;
  align-self: start;
  line-height: 0;
}
.send-comment svg { display: block; }
.send-comment:hover { filter: brightness(0.96); }
.switch { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.switch input {
  appearance: none;
  width: 36px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d0d5dd;
  position: relative;
}
.switch input::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
}
.switch input:checked { background: #b7d7c6; }
.switch input:checked::after { left: 18px; }
.archive-btn { display: inline-flex; align-items: center; gap: 8px; }
#dlg-card .detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  position: sticky;
  bottom: 0;
  margin-top: 8px;
  padding-top: 10px;
  background: #fff;
}
#dlg-card .btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: white; }
#dlg-card .swatches { margin-top: 10px; }
#dlg-card .alokasi-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
#dlg-card .alokasi-row input {
  width: 100%;
}
#dlg-card .alokasi-unit-switch .btn {
  min-width: 58px;
}
#dlg-card #card-due[readonly] {
  background: #f8fafc;
  color: var(--ink);
  cursor: default;
}
#dlg-card .field-hint {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 860px) {
  .pair, .check-add, .label-add { grid-template-columns: 1fr; }
  .composer { grid-template-columns: minmax(0, 1fr) auto; }
  .chat-content { margin-left: 0; }
}

.avatar.has-photo {
  color: transparent;
  background-size: cover;
  background-position: center;
}
.list-gap {
  flex: 0 0 36px;
  align-self: flex-start;
  margin-top: 10px;
  position: relative;
}
.list-add {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: unset;
  border: unset;
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  list-style: none;
}
.list-add::-webkit-details-marker { display: none; }
.list-gap[open] { flex: 0 0 232px; width: 232px; }
.list-insert {
  width: 100%;
  box-sizing: border-box;
  margin-top: 8px;
  padding: 12px;
  background: #f4f7fb;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  display: grid;
  gap: 8px;
}
.list-insert .field { margin: 0; }
