@import url("./fonts.css");
:root {
  --accent: #b6f36a;
  --accent-ink: #162211;
  --bg: #101411;
  --surface: rgba(30, 36, 31, 0.92);
  --surface-raised: #262f28;
  --input: #171e19;
  --text: #f0f4ee;
  --muted: #a7b2a7;
  --line: #384239;
  --danger: #ff9c9c;
  --shadow: 0 16px 40px #0002;
  --radius: 26px;
  --blur: 12px;
  --panel-opacity: 0.92;
  --space: 24px;
  color-scheme: dark;
  font-family: "Segoe UI", Inter, system-ui, sans-serif;
  font-synthesis: none;
}
:root[data-theme="light"] {
  --bg: #edf1e9;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-raised: #e7eddf;
  --input: #f5f7f1;
  --text: #1b281d;
  --muted: #536251;
  --line: #cbd5c6;
  --danger: #a52231;
  --shadow: 0 12px 32px #233a1210;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 155px;
}
body {
  margin: 0;
  min-width: 360px;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
  overflow-wrap: anywhere;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 750;
  letter-spacing: -1.7px;
  line-height: 1.15;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.45px;
}
h3 {
  font-size: 16px;
}
p {
  color: var(--muted);
}
small,
.muted {
  color: var(--muted);
}
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
button svg {
  width: 20px;
  height: 20px;
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 85% 5%, #83c15416, transparent 45%),
    radial-gradient(ellipse at 8% 70%, #427d6510, transparent 50%);
  z-index: -1;
}
body[data-bg="solid"] .ambient {
  display: none;
}
body[data-bg="wallpaper"] .ambient {
  background:
    linear-gradient(#101411a8, #101411dd),
    var(
      --wallpaper,
      radial-gradient(ellipse at top right, #446f54, #172922 60%, #14201b)
    );
  background-size: cover;
  background-position: center;
}
body[data-bg="wallpaper"][data-wallpaper="ocean"] .ambient {
  --wallpaper: linear-gradient(140deg, #203a62, #0c665d, #17282b);
}
body[data-bg="wallpaper"][data-wallpaper="sunset"] .ambient {
  --wallpaper: linear-gradient(140deg, #8e5640, #513958, #192821);
}
.topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  max-width: 1440px;
  width: calc(100% - 64px);
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 8px 36px #0002;
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}
.topbar[hidden] {
  display: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-symbol {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  height: 42px;
  width: 42px;
  border-radius: 14px;
}
.brand-symbol svg {
  width: 26px;
  height: 26px;
}
.brand-name {
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  font-size: 16px;
}
.brand-name small {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.6px;
  display: block;
  color: var(--muted);
  margin-top: 4px;
}
.nav-wrap {
  min-width: 0;
  flex: 1;
  position: relative;
}
.nav-scroll {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  gap: 3px;
  position: relative;
  scrollbar-width: none;
  border-radius: 15px;
  touch-action: pan-x pan-y;
}
.nav-scroll::-webkit-scrollbar {
  display: none;
}
.nav-scroll.dragging {
  cursor: grabbing;
  user-select: none;
}
.nav-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 45px;
  padding: 9px 14px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  border-radius: 14px;
  color: var(--muted);
}
.nav-scroll a.active {
  color: var(--text);
}
.nav-scroll a svg {
  width: 16px;
  height: 16px;
}
.nav-indicator {
  position: absolute;
  left: 0;
  top: 0;
  height: 45px;
  border-radius: 14px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1),
    width 0.35s;
  pointer-events: none;
}
.profile-trigger {
  display: flex;
  min-height: 44px;
  min-width: 44px;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  flex-shrink: 0;
}
.avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #657256;
  color: #fff;
  font-weight: 700;
  object-fit: cover;
  border: 2px solid var(--line);
}
.avatar.big {
  width: 82px;
  height: 82px;
  font-size: 30px;
}
.profile-trigger span:last-child {
  font-size: 12px;
}
.profile-trigger small {
  display: block;
  font-size: 10px;
}
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 42px 24px 60px;
  min-height: 80vh;
}
main:focus {
  outline: 0;
}
.page {
  animation: arrive 0.22s ease-out;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted);
  margin-bottom: 12px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.page-heading p {
  font-size: 13px;
  margin-top: 10px;
}
.heading-actions,
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 10px 17px;
  background: var(--surface-raised);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  transition:
    transform 0.15s,
    background 0.15s;
}
.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.btn.primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 3px 3px 0 #060d0855;
}
.btn.danger {
  color: var(--danger);
}
.btn.ghost {
  background: transparent;
}
.btn.small {
  min-height: 44px;
  font-size: 12px;
  padding: 8px 12px;
}
.icon-btn {
  width: 46px;
  padding: 10px;
}
.pill {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px #b6f34644;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space);
  box-shadow: var(--shadow);
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.panel-head p {
  font-size: 12px;
  margin-top: 5px;
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.span-5 {
  grid-column: span 5;
}
.span-6 {
  grid-column: span 6;
}
.span-7 {
  grid-column: span 7;
}
.span-8 {
  grid-column: span 8;
}
.span-12 {
  grid-column: span 12;
}
.stat {
  position: relative;
  min-height: 144px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.2s,
    border-color 0.2s;
  overflow: hidden;
}
.stat:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.stat .stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
}
.stat strong {
  font-size: 40px;
  letter-spacing: -2px;
  line-height: 1;
  margin: 16px 0 5px;
  display: block;
  font-weight: 700;
}
.stat small {
  font-size: 10px;
}
.stat.featured {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.stat.featured .stat-top,
.stat.featured small {
  color: var(--accent-ink);
}
.stat.featured:after {
  content: "";
  width: 130px;
  height: 130px;
  border: 24px solid #ffffff28;
  position: absolute;
  right: -50px;
  bottom: -55px;
  border-radius: 50%;
  transform: rotate(30deg);
}
.stat .stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff0b;
}
.stat .stat-icon svg {
  width: 15px;
  height: 15px;
}
.stat.critical strong {
  color: var(--danger);
}
.stat.featured strong {
  font-size: 48px;
}
.filter-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.segmented {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.segmented button {
  border: 0;
  background: none;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  padding: 7px 10px;
  min-height: 44px;
}
.segmented button.active {
  background: var(--surface-raised);
  color: var(--text);
}
.chart {
  width: 100%;
  height: 190px;
  display: block;
  overflow: visible;
}
.chart text {
  fill: var(--muted);
  font-size: 10px;
}
.chart .gridline {
  stroke: var(--line);
  stroke-dasharray: 3 5;
}
.chart .trend-line {
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted);
}
.legend {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.bars {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.bar-row {
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 7px;
  align-items: center;
}
.bar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}
.bar-track {
  height: 7px;
  border-radius: 20px;
  background: var(--input);
  overflow: hidden;
  grid-column: 1/-1;
}
.bar-track i {
  display: block;
  height: 100%;
  border-radius: 20px;
  background: var(--accent);
  min-width: 2px;
}
.bar-value {
  font-size: 12px;
  color: var(--text);
  text-align: right;
}
.completion-ring {
  --percent: 0;
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  flex-shrink: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent) calc(var(--percent) * 1%),
    var(--input) 0
  );
  position: relative;
}
.completion-ring:before {
  content: "";
  position: absolute;
  inset: 9px;
  background: var(--surface-raised);
  border-radius: 50%;
}
.completion-ring strong {
  position: relative;
  font-size: 25px;
  letter-spacing: -1px;
}
.completion-layout {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 18px 0;
}
.issue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.issue {
  display: block;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--input);
  text-decoration: none;
  transition: border-color 0.15s;
}
.issue:hover {
  border-color: var(--accent);
}
.issue-top {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}
.issue h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.issue p {
  font-size: 11px;
}
.issue-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 11px;
}
.badge {
  display: inline-flex;
  border-radius: 7px;
  font-size: 9px;
  letter-spacing: 0.4px;
  font-weight: 750;
  padding: 4px 7px;
  background: var(--surface-raised);
  color: var(--muted);
  border: 1px solid var(--line);
}
.badge.KRITIS,
.badge.overdue {
  background: #63283244;
  color: var(--danger);
  border-color: #ad536566;
}
.badge.TINGGI {
  background: #78612b33;
  color: #eab66c;
  border-color: #896f3c66;
}
.badge.SEDANG {
  background: #34568033;
  color: #9bbef3;
  border-color: #637fa366;
}
.badge.RENDAH,
.badge.done {
  background: #50733633;
  color: var(--accent);
  border-color: #71835366;
}
.activity {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.activity:last-child {
  border-bottom: 0;
}
.activity-symbol {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--input);
  color: var(--accent);
  flex-shrink: 0;
}
.activity-symbol svg {
  width: 15px;
  height: 15px;
}
.activity p {
  font-size: 11px;
  margin-top: 4px;
}
.activity strong {
  font-size: 12px;
  font-weight: 600;
}
.activity time {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 5px;
}
.empty {
  padding: 35px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.empty svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
  display: block;
  margin: 0 auto 14px;
}
.empty p {
  margin-top: 6px;
  font-size: 12px;
}
.footer-note {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 0 5px;
}
label {
  display: block;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 7px;
}
.field {
  min-width: 0;
}
.field small {
  display: block;
  font-size: 11px;
  margin-top: 6px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}
.full {
  grid-column: 1/-1;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--input);
  color: var(--text);
  font-size: 16px;
  min-width: 0;
}
input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  accent-color: var(--accent);
}
input[type="color"] {
  padding: 4px;
  width: 100%;
  height: 48px;
}
input[type="range"] {
  padding: 0;
  accent-color: var(--accent);
}
textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
input:read-only {
  color: var(--muted);
}
select[multiple] {
  min-height: 150px;
}
.help {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0;
}
.form-section {
  margin-bottom: 20px;
}
.form-section h2 {
  margin-bottom: 22px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  align-items: center;
  margin-top: 25px;
  flex-wrap: wrap;
}
.message {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-top: 15px;
  font-size: 13px;
  background: var(--input);
  white-space: pre-line;
}
.message.error {
  color: var(--danger);
  border-color: #af566666;
}
.message.success {
  color: var(--accent);
}
.message:empty {
  display: none;
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  font-size: 13px;
  min-height: 46px;
}
.auth-shell {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: calc(100vh - 100px);
  align-items: center;
  gap: 90px;
  max-width: 1080px;
  margin: auto;
}
.auth-art {
  padding: 30px 0;
}
.auth-art h1 {
  font-size: clamp(42px, 6vw, 68px);
  letter-spacing: -3px;
  margin-top: 34px;
  max-width: 600px;
}
.auth-art h1 em {
  font-style: normal;
  color: var(--accent);
}
.auth-art p {
  margin-top: 24px;
  font-size: 15px;
  max-width: 360px;
}
.auth-art .orbit {
  width: 180px;
  height: 180px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  margin-top: 48px;
  transform: rotate(-15deg);
  background: radial-gradient(circle, #80a86811, transparent);
}
.orbit:before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.orbit .brand-symbol {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  box-shadow: 14px 18px 0 #080b0855;
  transform: rotate(15deg);
}
.orbit .brand-symbol svg {
  width: 44px;
  height: 44px;
}
.orbit .mini {
  position: absolute;
  right: -50px;
  top: 25px;
  transform: rotate(15deg);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  font-size: 11px;
}
.auth-panel {
  padding: 32px;
}
.auth-panel h2 {
  font-size: 27px;
  margin-bottom: 5px;
}
.auth-panel form {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: 26px;
}
.auth-panel .btn {
  width: 100%;
}
.auth-links {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.text-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
  margin: 22px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.auth-foot {
  text-align: center;
  font-size: 12px;
  margin-top: 24px;
}
.auth-panel .config-note {
  font-size: 11px;
  text-align: center;
  line-height: 1.6;
  margin-top: 10px;
}
.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.filters .field label {
  font-size: 11px;
}
.filters select,
.filters input {
  font-size: 14px;
}
.filter-panel {
  margin-bottom: 22px;
}
.filter-panel summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-panel[open] summary {
  margin-bottom: 15px;
}
.table-wrap {
  overflow: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--input);
  white-space: nowrap;
}
td,
th {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td {
  max-width: 300px;
}
tr:last-child td {
  border: 0;
}
td strong {
  display: block;
  margin-bottom: 4px;
}
td small {
  display: block;
  font-size: 10px;
}
tbody tr:hover {
  background: var(--input);
}
td a {
  text-decoration: none;
}
.pagination {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
}
.evaluation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.evaluation-grid .issue {
  padding: 21px;
}
.evaluation-grid .issue h3 {
  font-size: 17px;
  margin-top: 14px;
}
.evaluation-grid .issue p {
  font-size: 12px;
}
.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.group-chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  min-height: 46px;
  padding: 10px 15px;
  font-size: 12px;
  cursor: pointer;
}
.group-chip.active {
  border-color: var(--accent);
  color: var(--accent);
}
.group-chip b {
  font-size: 11px;
  background: var(--surface-raised);
  border-radius: 6px;
  padding: 3px 6px;
  margin-left: 10px;
}
.two-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.definition {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.definition div {
  padding: 13px;
  background: var(--input);
  border-radius: 12px;
  min-width: 0;
}
.definition dt {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.definition dd {
  font-size: 13px;
  margin: 0;
  white-space: pre-wrap;
}
.timeline {
  border-left: 1px solid var(--line);
  margin: 15px 0 0 7px;
  padding: 0 0 0 20px;
}
.timeline article {
  position: relative;
  margin-bottom: 24px;
}
.timeline article:before {
  content: "";
  position: absolute;
  left: -25px;
  top: 7px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.timeline h3 {
  font-size: 13px;
}
.timeline p {
  font-size: 12px;
  margin-top: 6px;
  white-space: pre-wrap;
}
.timeline small {
  font-size: 10px;
}
details pre {
  white-space: pre-wrap;
  font-size: 11px;
  max-height: 250px;
  overflow: auto;
}
dialog {
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 26px;
  width: 640px;
  max-width: calc(100% - 28px);
  max-height: 90dvh;
  padding: 26px;
  box-shadow: 0 30px 100px #0006;
}
dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(5px);
}
.modal-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}
.modal-heading .btn {
  flex-shrink: 0;
}
#toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  max-width: calc(100% - 32px);
  padding: 14px 23px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.loading-state {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.loading-state:before {
  content: "";
  display: block;
  margin: 0 auto 20px;
  width: 25px;
  height: 25px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.skip-link {
  position: fixed;
  top: -70px;
  left: 15px;
  z-index: 120;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px;
}
.skip-link:focus {
  top: 10px;
}
.assignment {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin-top: 10px;
}
.theme-preview {
  padding: 25px;
  border-radius: 20px;
  background: var(--input);
  border: 1px solid var(--line);
  margin-top: 20px;
}
.theme-preview strong {
  font-size: 30px;
  display: block;
  letter-spacing: -1px;
}
.theme-preview .badge {
  margin-bottom: 15px;
}
.section-tabs {
  display: flex;
  overflow: auto;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 5px;
}
.section-tabs .btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.section-tabs .active {
  border-color: var(--accent);
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
body[data-density="compact"] {
  --space: 17px;
}
body[data-density="compact"] td,
body[data-density="compact"] th {
  padding: 11px 15px;
}
body[data-motion="none"] *,
body[data-motion="light"] * {
  animation: none !important;
  scroll-behavior: auto !important;
}
body[data-motion="none"] * {
  transition: none !important;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  main {
    padding-top: 48px;
  }
  .topbar {
    max-width: 1400px;
  }
}
@media (max-width: 1190px) {
  .brand-name {
    display: none;
  }
  .topbar {
    gap: 14px;
    width: calc(100% - 40px);
  }
  .profile-trigger span:last-child {
    display: none;
  }
  .nav-scroll a {
    padding: 9px 11px;
  }
  .span-3 {
    grid-column: span 3;
  }
  .auth-shell {
    gap: 40px;
  }
  .evaluation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .topbar {
    flex-wrap: wrap;
    top: 10px;
    padding: 10px 12px;
    row-gap: 10px;
    border-radius: 22px;
  }
  .brand-name {
    display: block;
  }
  .brand {
    flex: 1;
  }
  .nav-wrap {
    order: 3;
    flex-basis: 100%;
    width: 100%;
  }
  .profile-trigger span:last-child {
    display: block;
  }
  .nav-scroll a {
    font-size: 12px;
  }
  .nav-scroll a svg {
    display: none;
  }
  main {
    padding-top: 30px;
  }
  .span-3 {
    grid-column: span 6;
  }
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 6;
  }
  .span-7.trend-panel {
    grid-column: span 12;
  }
  .span-5.completion-panel {
    grid-column: span 12;
  }
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .two-cols {
    grid-template-columns: 1fr;
  }
  .page-heading {
    align-items: flex-start;
  }
  .auth-shell {
    gap: 30px;
  }
  .auth-art h1 {
    font-size: 44px;
  }
  .auth-art .orbit {
    display: none;
  }
  .auth-panel {
    padding: 25px;
  }
}
@media (max-width: 600px) {
  :root {
    --radius: 21px;
    --space: 19px;
  }
  .topbar {
    width: calc(100% - 24px);
    margin-top: 10px;
    top: 8px;
  }
  .brand-name {
    font-size: 14px;
  }
  .brand-name small {
    font-size: 9px;
  }
  .brand-symbol {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
  .profile-trigger .avatar {
    width: 35px;
    height: 35px;
  }
  .profile-trigger span:last-child {
    display: none;
  }
  main {
    padding: 28px 14px 45px;
  }
  h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .page-heading {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 23px;
  }
  .heading-actions {
    width: 100%;
  }
  .heading-actions .btn.primary {
    flex: 1;
  }
  .eyebrow {
    font-size: 9px;
    margin-bottom: 9px;
  }
  .page-heading p {
    font-size: 12px;
    margin-top: 8px;
  }
  .bento {
    gap: 12px;
  }
  .span-3 {
    grid-column: span 6;
  }
  .span-4,
  .span-5,
  .span-6,
  .span-7,
  .span-8 {
    grid-column: span 12;
  }
  .stat {
    min-height: 135px;
    padding: 16px;
  }
  .stat .stat-top {
    font-size: 11px;
  }
  .stat strong {
    font-size: 34px;
  }
  .stat.featured strong {
    font-size: 40px;
  }
  .stat small {
    font-size: 9px;
  }
  .stat .stat-icon {
    width: 24px;
    height: 24px;
  }
  .panel-head {
    margin-bottom: 18px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    justify-content: stretch;
  }
  .form-actions > .btn.primary {
    flex: 1;
  }
  .auth-shell {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-height: 0;
    max-width: 420px;
  }
  .auth-art {
    padding: 12px 6px 0;
    width: 100%;
  }
  .auth-art .brand-name {
    font-size: 16px;
  }
  .auth-art h1 {
    font-size: 37px;
    letter-spacing: -1.5px;
    margin-top: 25px;
  }
  .auth-art p {
    font-size: 12px;
    margin-top: 13px;
  }
  .auth-panel {
    width: 100%;
    padding: 24px;
  }
  .auth-art .pill {
    display: none;
  }
  .filters {
    gap: 12px;
  }
  .evaluation-grid {
    grid-template-columns: 1fr;
  }
  .definition {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .definition .full {
    grid-column: 1/-1;
  }
  .definition div {
    padding: 11px;
  }
  .definition dd {
    font-size: 12px;
  }
  .completion-layout {
    gap: 20px;
  }
  .completion-ring {
    width: 110px;
    height: 110px;
  }
  .table-wrap.mobile-cards {
    border: 0;
    overflow: visible;
  }
  .mobile-cards table,
  .mobile-cards tbody,
  .mobile-cards tr,
  .mobile-cards td {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .mobile-cards thead {
    display: none;
  }
  .mobile-cards tr {
    border: 1px solid var(--line);
    border-radius: 17px;
    margin-bottom: 12px;
    padding: 12px;
    background: var(--input);
  }
  .mobile-cards td {
    border: 0;
    padding: 7px;
  }
  .mobile-cards td:before {
    content: attr(data-label);
    display: block;
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 4px;
  }
  .pagination {
    font-size: 10px;
  }
  .pagination .btn {
    padding: 8px 10px;
  }
  .chart {
    height: 170px;
  }
  dialog {
    margin: auto 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 24px 24px 0 0;
    padding: 22px 18px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
  }
  .footer-note {
    font-size: 9px;
  }
  .panel form {
    scroll-margin-top: 150px;
  }
  .heading-actions .pill {
    margin-left: auto;
  }
  .tags-row {
    gap: 6px;
  }
  .group-chip {
    font-size: 11px;
    padding: 9px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@supports not (backdrop-filter: blur(10px)) {
  .topbar {
    background: var(--surface-raised);
  }
}

.text-link,
.message.success,
.group-chip.active,
.activity-symbol,
.auth-art h1 em {
  color: var(--accent-text, var(--accent));
}
:root[data-theme="light"] .badge.done,
:root[data-theme="light"] .badge.RENDAH {
  color: #28572f;
}

.password-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  min-width: 0;
}
.password-section {
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.password-section legend {
  font-size: 12px;
  font-weight: 750;
  padding: 0 8px;
}
.password-old {
  background: var(--input);
  border-left: 4px solid #b99a60;
}
.password-new {
  border-left: 4px solid var(--accent);
  background: var(--surface-raised);
}
.password-new legend {
  color: var(--accent-text, var(--accent));
}
main[aria-busy="true"]:after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  z-index: 80;
  pointer-events: none;
}
