:root {
  /* ---- Claude-like cream palette ---- */
  --bg: #f4efe6;
  --bg2: #ece5d8;
  --sidebar: #ebe3d4;
  --card: #ffffff;
  --card2: #fbf8f2;
  --ink: #2b2722;
  --ink-soft: #4a443c;
  --muted: #8a8175;
  --faint: #b3a99a;
  --line: #e8e0d1;
  --line-soft: #ded5c4;
  --accent: #c9744f;
  --accent-2: #b5623e;
  --accent-3: #d98a63;
  --accent-soft: rgba(201, 116, 79, .12);
  --accent-ring: rgba(201, 116, 79, .28);
  --blue: #5b7c99;
  --mint: #5fa17a;
  --mint-soft: rgba(95, 161, 122, .18);
  --danger: #c2554b;
  --topbar-bg: rgba(244, 239, 230, .72);
  --drop-bg: rgba(255, 255, 255, .82);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-xs: 0 1px 2px rgba(43, 39, 34, .05);
  --shadow: 0 1px 2px rgba(43, 39, 34, .05), 0 10px 26px -10px rgba(43, 39, 34, .14);
  --shadow-lg: 0 4px 8px rgba(43, 39, 34, .06), 0 28px 70px -24px rgba(43, 39, 34, .30);
  --shadow-press: inset 0 2px 5px rgba(43, 39, 34, .10);
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; color: var(--ink);
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(217, 138, 99, .14), transparent 60%),
    radial-gradient(900px 600px at 102% 4%, rgba(91, 124, 153, .10), transparent 58%),
    radial-gradient(700px 700px at 50% 118%, rgba(201, 116, 79, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.hidden { display: none !important; }
button { font-family: inherit; cursor: pointer; color: inherit; }
input, textarea, select { font-family: inherit; }
.spacer { flex: 1; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
::selection { background: var(--accent-soft); }

/* scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--line-soft) transparent; }
*::-webkit-scrollbar { width: 9px; height: 9px; }
*::-webkit-scrollbar-thumb { background: var(--line-soft); border-radius: 999px; border: 2px solid transparent; background-clip: content-box; }
*::-webkit-scrollbar-thumb:hover { background: var(--faint); background-clip: content-box; }

/* ---- buttons (pill) ---- */
.pill {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-soft); font-weight: 500; font-size: 14px;
  background: var(--card); color: var(--ink-soft); box-shadow: var(--shadow-xs);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .08s ease, opacity .15s;
}
.pill:hover { border-color: var(--faint); box-shadow: var(--shadow); }
.pill:active { transform: translateY(1px); }
.pill.solid {
  background: linear-gradient(180deg, var(--accent-3), var(--accent)); border-color: var(--accent-2);
  color: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(43, 39, 34, .12), 0 8px 18px -8px rgba(201, 116, 79, .55);
}
.pill.solid:hover { background: linear-gradient(180deg, var(--accent), var(--accent-2)); box-shadow: 0 2px 4px rgba(43, 39, 34, .14), 0 12px 24px -8px rgba(201, 116, 79, .6); }
.pill.blue { background: var(--card); border-color: var(--line-soft); color: var(--blue); }
.pill.blue:hover { border-color: var(--blue); }
.pill.ghost { background: transparent; border-color: transparent; color: var(--muted); box-shadow: none; }
.pill.ghost:hover { background: var(--bg2); color: var(--ink); box-shadow: none; }
.pill.danger { background: transparent; border-color: var(--danger); color: var(--danger); box-shadow: none; }
.pill.danger:hover { background: rgba(194, 85, 75, .08); }
.pill:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.icon-btn { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; color: var(--muted); border-radius: 11px; font-size: 17px; transition: background .12s, color .12s; }
.icon-btn:hover { background: var(--bg2); color: var(--ink); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }

/* ---- shell + sidebar ---- */
.shell { display: flex; min-height: 100vh; }
.scrim { display: none; }
.sidebar {
  width: 264px; flex: none;
  height: 100vh; position: sticky; top: 0;
  background: linear-gradient(180deg, var(--sidebar), #e6ddcc);
  border-right: 1px solid var(--line-soft);
  display: flex; flex-direction: column; padding: 16px 13px; gap: 4px;
  transition: margin-left .25s ease, transform .25s ease;
}
.shell.collapsed .sidebar { margin-left: -264px; }
.side-head { display: flex; align-items: center; margin-bottom: 16px; padding: 4px 6px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .2px; flex: 1; font-size: 15.5px; }
.orb-grad, .brand .orb, .login-card .orb, .hero-orb {
  background: radial-gradient(circle at 30% 26%, #ffd9c4, var(--accent) 58%, var(--accent-2) 100%);
}
.brand .orb { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: 0 2px 8px rgba(201, 116, 79, .5); }
.side-link {
  display: block; width: 100%; text-align: left; border: 1px solid transparent; background: transparent; color: var(--ink-soft);
  padding: 10px 12px; border-radius: 11px; font-size: 14px; transition: background .12s, color .12s, border-color .12s;
}
.side-link:hover { background: rgba(255, 255, 255, .55); color: var(--ink); }
.side-link.active { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-xs); font-weight: 600; }
.side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .9px; color: var(--faint); padding: 14px 12px 5px; font-weight: 600; }
.side-projects { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; flex: 1 1 0; min-height: 0; }
.side-proj { display: flex; align-items: center; gap: 10px; }
.side-proj .pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
.side-proj .pdot.running { background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }
.side-foot { border-top: 1px solid var(--line-soft); padding-top: 12px; margin-top: 6px; flex: none; }
.side-user { font-size: 12px; color: var(--muted); padding: 2px 12px 8px; }
.side-foot-row { display: flex; flex-direction: column; gap: 2px; }
.side-link.sm { font-size: 13px; padding: 8px 12px; }
.side-link.sm#logout { color: var(--danger); }
.side-link.sm#logout:hover { background: rgba(226, 115, 138, .12); }

/* ---- main ---- */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar-mini {
  display: flex; align-items: center; gap: 12px; padding: 13px 22px;
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5;
  background: var(--topbar-bg); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.topbar-title { font-size: 14px; color: var(--muted); font-weight: 500; }
#side-open { display: none; }
.shell.collapsed #side-open { display: inline-flex; }
.wrap { max-width: 940px; width: 100%; margin: 0 auto; padding: 30px 26px; flex: 1; }

/* ---- dashboard / hero ---- */
.home { display: flex; flex-direction: column; }
.hero { text-align: center; padding: 6vh 4px 12px; }
.hero-orb {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 20px;
  box-shadow: 0 10px 30px -6px rgba(201, 116, 79, .55), inset 0 -4px 10px rgba(181, 98, 62, .35);
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-greet { font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: .2px; margin: 0 0 6px; }
.hero-greet span { color: var(--accent-2); }
.hero-sub { color: var(--muted); font-size: 16px; margin: 0 0 26px; }
.hero-composer {
  display: flex; align-items: flex-end; gap: 10px; max-width: 680px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 12px 12px 12px 18px;
  box-shadow: var(--shadow-lg); transition: border-color .15s, box-shadow .15s;
}
.hero-composer:focus-within { border-color: var(--accent-ring); box-shadow: var(--shadow-lg), 0 0 0 4px var(--accent-ring); }
.hero-composer textarea {
  flex: 1; border: none; background: transparent; resize: none; outline: none; color: var(--ink);
  font-size: 16px; line-height: 1.5; padding: 6px 0; max-height: 160px; min-height: 28px;
}
.hero-composer textarea::placeholder { color: var(--faint); }
.hero-send {
  flex: none; width: 42px; height: 42px; border-radius: 14px; border: none; color: #fff; font-size: 18px;
  background: linear-gradient(180deg, var(--accent-3), var(--accent)); box-shadow: 0 6px 16px -6px rgba(201, 116, 79, .7);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .1s, box-shadow .15s;
}
.hero-send:hover { box-shadow: 0 8px 20px -6px rgba(201, 116, 79, .8); }
.hero-send:active { transform: scale(.92); }
.hero-hint { color: var(--muted); font-size: 13px; margin: 22px 0 12px; }
.home-chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; max-width: 720px; margin: 0 auto; }
.home-chips.nudge { animation: nudge .5s ease; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.home-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line-soft); background: var(--card); color: var(--ink-soft); font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s, transform .08s;
}
.home-chip:hover { border-color: var(--accent-ring); box-shadow: var(--shadow); transform: translateY(-1px); }
.home-chip .pdot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.home-chip .pdot.running { background: var(--mint); box-shadow: 0 0 0 3px var(--mint-soft); }

.gallery-label { font-size: 11px; text-transform: uppercase; letter-spacing: .9px; color: var(--faint); font-weight: 600; margin: 40px 0 14px; text-align: center; }
.page-title { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 8px 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.proj-card { display: flex; flex-direction: column; gap: 9px; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .1s; position: relative; overflow: hidden; }
.proj-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--accent-3), var(--accent)); opacity: 0; transition: opacity .15s; }
.proj-card:hover { border-color: var(--accent-ring); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.proj-card:hover::before { opacity: 1; }
.proj-card h3 { margin: 0; font-size: 16.5px; font-weight: 600; }
.proj-meta { color: var(--muted); font-size: 12.5px; word-break: break-all; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 7px; background: var(--faint); }
.dot.idle { background: var(--faint); }
.dot.running { background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); animation: dot-blink 1.1s ease-in-out infinite; }
@keyframes dot-blink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 3px var(--mint-soft); } 50% { opacity: .35; box-shadow: 0 0 0 7px transparent; } }

/* ---- login ---- */
.center { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { width: 374px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 34px 28px; box-shadow: var(--shadow-lg); }
.login-card h1 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: .3px; }
.login-card .orb { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; box-shadow: 0 10px 28px -6px rgba(201, 116, 79, .55); animation: floaty 5s ease-in-out infinite; }
.field { text-align: left; margin: 14px 0; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-soft);
  background: var(--card2); color: var(--ink); outline: none; font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); background: var(--card); }
.err { color: var(--danger); font-size: 13px; min-height: 18px; }

/* ---- login tabs ---- */
.tabs { display: flex; gap: 6px; background: var(--bg2); border-radius: 13px; padding: 4px; margin: 4px 0 16px; }
.tabs .tab { flex: 1; border: none; background: transparent; padding: 9px; border-radius: 10px; font-weight: 500; color: var(--muted); transition: background .15s, color .15s, box-shadow .15s; }
.tabs .tab.active { background: var(--card); color: var(--accent-2); font-weight: 600; box-shadow: var(--shadow-xs); }

/* ---- PIN pad ---- */
.pin-dots { display: flex; justify-content: center; gap: 13px; margin: 8px 0 4px; }
.pin-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--line-soft); transition: all .12s ease; }
.pin-dot.on { background: var(--accent); transform: scale(1.12); box-shadow: 0 0 0 3px var(--accent-ring); }
.pinpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin: 18px 0 4px; }
.key { height: 58px; border: 1px solid var(--line-soft); border-radius: 15px; font-size: 21px; font-weight: 500; color: var(--ink); background: var(--card); box-shadow: var(--shadow-xs); transition: transform .08s, box-shadow .12s, background .12s; }
.key:hover { box-shadow: var(--shadow); }
.key:active { transform: scale(.94); box-shadow: var(--shadow-press); }
.key.ghost { background: transparent; border-color: transparent; color: var(--muted); box-shadow: none; }

/* ---- console (chat) ---- */
.statusbar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.chat-card { position: relative; padding: 0; overflow: hidden; display: flex; flex-direction: column; height: 70vh; transition: outline-color .15s ease; outline: 2px dashed transparent; outline-offset: -8px; }
.chat-card.dragging { outline-color: var(--accent); }
.chat-card.dragging::after { content: '📎 Lepas di sini buat lampirkan screenshot'; position: absolute; inset: 0; display: grid; place-items: center; background: var(--drop-bg); font-weight: 600; color: var(--accent-2); pointer-events: none; }
.chat { flex: 1; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, var(--card2), var(--card)); }
.bubble { max-width: 82%; padding: 13px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
/* pesanku (kanan) = gradient accent + teks putih (ala WhatsApp outgoing) */
.msg-me .bubble.user { background: linear-gradient(165deg, var(--accent-3), var(--accent) 55%, var(--accent-2)); border: none; color: #fff; border-bottom-right-radius: 5px; box-shadow: var(--shadow); }
/* pesan anggota lain (kiri) = bubble netral (incoming) + nama warna */
.msg-other .bubble.user { background: var(--card2); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; border-bottom-right-radius: 16px; box-shadow: var(--shadow-xs); }
.bubble.ai { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; box-shadow: var(--shadow-xs); }
.bubble.plan { align-self: flex-start; background: rgba(91, 124, 153, .09); border: 1px solid rgba(91, 124, 153, .28); border-bottom-left-radius: 5px; }
.bubble.plan b { color: var(--blue); }
.bubble img { max-width: 260px; border-radius: 12px; display: block; margin: 0 0 8px; box-shadow: var(--shadow); }
.bubble img:last-child { margin-bottom: 0; }   /* gambar tanpa teks setelahnya */

/* WHITA "lagi mikir" — indikator hidup di chat */
.bubble.thinking { display: flex; align-items: center; gap: 11px; color: var(--ink-soft); background: var(--card); border: 1px solid var(--line); }
.think-dots { display: inline-flex; gap: 4px; flex: none; }
.think-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; opacity: .3; animation: whita-bounce 1.25s infinite ease-in-out; }
.think-dots i:nth-child(2) { animation-delay: .16s; }
.think-dots i:nth-child(3) { animation-delay: .32s; }
@keyframes whita-bounce { 0%, 75%, 100% { transform: translateY(0); opacity: .3; } 38% { transform: translateY(-5px); opacity: 1; } }
.think-txt { font-size: 14px; }
.status-line { align-self: flex-start; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.spin { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); animation: pulse 1.1s ease-in-out infinite; flex: none; }
@keyframes pulse { 0%, 100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }

.composer { border-top: 1px solid var(--line); padding: 16px; background: var(--card); }
.composer textarea { width: 100%; border: 1px solid var(--line-soft); border-radius: 15px; padding: 13px 15px; resize: none; background: var(--card2); color: var(--ink); outline: none; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.composer textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); background: var(--card); }
.composer-actions { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.attach-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--bg2); border: 1px solid var(--line-soft); border-radius: 999px; padding: 5px 10px; font-size: 12px; margin-bottom: 8px; }
.attach-chip button { border: none; background: transparent; color: var(--muted); }

/* ---- progress ---- */
.progress { background: var(--card); border: 1px solid var(--line); border-radius: 15px; padding: 13px 16px; margin-bottom: 14px; box-shadow: var(--shadow-xs); }
.progress-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; margin-bottom: 9px; }
.progress-head #progress-time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.progress-head #progress-pct { color: var(--accent-2); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; font-weight: 600; }
.progress-track { height: 8px; border-radius: 999px; background: var(--bg2); overflow: hidden; }
#progress-bar { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--accent-2), var(--accent-3), var(--blue)); background-size: 220% 100%; transition: width .45s cubic-bezier(.4, 0, .2, 1); animation: flow 2.2s linear infinite; }
@keyframes flow { from { background-position: 0% 0; } to { background-position: 220% 0; } }
.progress.done #progress-bar { background: var(--mint); animation: none; }
.progress.error #progress-bar { background: var(--danger); animation: none; }

/* ---- modal / admin table ---- */
.modal { position: fixed; inset: 0; background: rgba(43, 39, 34, .42); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 40; padding: 20px; }
.modal-card { width: min(820px, 95vw); max-height: 85vh; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.modal-card pre { flex: 1; overflow: auto; background: #2b2722; color: #ece5d8; padding: 14px; border-radius: 12px; font-size: 12px; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-weight: 600; }
.section { margin-bottom: 26px; }
.section h2 { font-family: var(--serif); font-size: 19px; font-weight: 400; }
footer { text-align: center; color: var(--faint); font-size: 12px; padding: 28px; }

/* ---- mobile ---- */
@media (max-width: 820px) {
  .sidebar { position: fixed; top: 0; left: 0; bottom: 0; z-index: 30; margin-left: 0 !important; box-shadow: 0 0 60px rgba(43, 39, 34, .35); }
  .shell.collapsed .sidebar { transform: translateX(-100%); }
  #side-open { display: inline-flex !important; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(43, 39, 34, .35); z-index: 20; }
  .shell.collapsed .scrim { display: none; }
  .hero-greet { font-size: 31px; }
  .hero { padding-top: 4vh; }
  #terminal, .chat-card { height: 64vh; }
}
@media (prefers-reduced-motion: reduce) { *, #progress-bar, .hero-orb, .login-card .orb { animation: none !important; transition: none !important; } }

/* ============ THEMES (tombol ganti di sidebar) ============ */
/* Airy putih — Gemini-like */
html[data-theme="airy"] {
  --bg: #fbfbfe; --bg2: #f0f1f9; --sidebar: #f3f4fb; --card: #ffffff; --card2: #f8f9fe;
  --ink: #1f1f24; --ink-soft: #3a3a44; --muted: #6b6b78; --faint: #a6a6b4;
  --line: #e9eaf4; --line-soft: #dee0f0;
  --accent: #6b6ef0; --accent-2: #5a4fe0; --accent-3: #8b7df7;
  --accent-soft: rgba(107, 110, 240, .12); --accent-ring: rgba(107, 110, 240, .28);
  --blue: #4c7df7; --mint: #2bb673; --danger: #e2556b;
  --topbar-bg: rgba(251, 251, 254, .72); --drop-bg: rgba(255, 255, 255, .85);
  --shadow: 0 1px 2px rgba(40, 42, 80, .05), 0 10px 26px -10px rgba(60, 66, 140, .16);
  --shadow-lg: 0 4px 8px rgba(40, 42, 80, .06), 0 28px 70px -24px rgba(60, 66, 140, .28);
}
html[data-theme="airy"] body {
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(107, 110, 240, .13), transparent 60%),
    radial-gradient(900px 600px at 102% 4%, rgba(139, 125, 247, .11), transparent 58%),
    radial-gradient(700px 700px at 50% 118%, rgba(76, 125, 247, .08), transparent 60%),
    var(--bg);
}
html[data-theme="airy"] .sidebar { background: linear-gradient(180deg, #f4f5fb, #eceefb); }

/* Warm-dark coffee — versi naik kelas */
html[data-theme="warm"] {
  --bg: #1b1a18; --bg2: #232120; --sidebar: #151413; --card: #221f1e; --card2: #262321;
  --ink: #ece7df; --ink-soft: #d8d2c8; --muted: #948d83; --faint: #6c665e;
  --line: #302d2a; --line-soft: #3a3633;
  --accent: #e0916b; --accent-2: #c9744f; --accent-3: #ecab86;
  --accent-soft: rgba(224, 145, 107, .14); --accent-ring: rgba(224, 145, 107, .30);
  --blue: #8fb0d6; --mint: #8fc7a3; --danger: #d98a82;
  --topbar-bg: rgba(27, 26, 24, .72); --drop-bg: rgba(27, 26, 24, .82);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .25);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -10px rgba(0, 0, 0, .55);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, .35), 0 28px 70px -24px rgba(0, 0, 0, .7);
}
html[data-theme="warm"] body {
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(224, 145, 107, .10), transparent 60%),
    radial-gradient(900px 600px at 102% 4%, rgba(143, 176, 214, .06), transparent 58%),
    radial-gradient(700px 700px at 50% 118%, rgba(201, 116, 79, .07), transparent 60%),
    var(--bg);
}
html[data-theme="warm"] .sidebar { background: linear-gradient(180deg, #151413, #1c1a18); }
html[data-theme="warm"] .side-link:hover { background: rgba(255, 255, 255, .06); }
html[data-theme="warm"] .modal-card pre { background: #0f0e0d; }

/* Ungu gelap — grape (purple dark) */
html[data-theme="grape"] {
  --bg: #161522; --bg2: #1f1d2e; --sidebar: #121121; --card: #201e30; --card2: #262338;
  --ink: #ece9f6; --ink-soft: #d6d2e8; --muted: #918bac; --faint: #615c7a;
  --line: #2e2b42; --line-soft: #383452;
  --accent: #8b85f5; --accent-2: #6b6ef0; --accent-3: #a99cf9;
  --accent-soft: rgba(139, 133, 245, .16); --accent-ring: rgba(139, 133, 245, .32);
  --blue: #8fb0d6; --mint: #7fd0a8; --danger: #e2738a;
  --topbar-bg: rgba(22, 21, 34, .72); --drop-bg: rgba(22, 21, 34, .82);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 26px -10px rgba(0, 0, 0, .6);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, .4), 0 28px 70px -24px rgba(0, 0, 0, .72);
}
html[data-theme="grape"] body {
  background:
    radial-gradient(1100px 620px at 8% -8%, rgba(139, 133, 245, .14), transparent 60%),
    radial-gradient(900px 600px at 102% 4%, rgba(169, 156, 249, .10), transparent 58%),
    radial-gradient(700px 700px at 50% 118%, rgba(107, 110, 240, .09), transparent 60%),
    var(--bg);
}
html[data-theme="grape"] .sidebar { background: linear-gradient(180deg, #121121, #1a1828); }
html[data-theme="grape"] .side-link:hover { background: rgba(255, 255, 255, .06); }
html[data-theme="grape"] .modal-card pre { background: #0d0c16; }

/* theme switcher swatches */
.theme-row { display: flex; gap: 8px; padding: 4px 12px 10px; }
.theme-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-soft); padding: 0; cursor: pointer; position: relative; transition: transform .1s, border-color .12s; }
.theme-dot:hover { transform: scale(1.12); }
.theme-dot.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.theme-dot[data-theme="cream"] { background: radial-gradient(circle at 32% 30%, #f7f1e8, #c9744f); }
.theme-dot[data-theme="airy"] { background: radial-gradient(circle at 32% 30%, #fff, #6b6ef0); }
.theme-dot[data-theme="warm"] { background: radial-gradient(circle at 32% 30%, #3a3431, #e0916b); }
.theme-dot[data-theme="grape"] { background: radial-gradient(circle at 32% 30%, #2a2740, #8b85f5); }

/* members + assignment */
.tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; }
.tag.super { background: var(--accent-soft); color: var(--accent-2); }
.tag.builder { background: rgba(91, 124, 153, .14); color: var(--blue); }
.tag.off { background: rgba(180, 169, 154, .18); color: var(--muted); }
.assign-list { display: flex; flex-direction: column; gap: 8px; max-height: 50vh; overflow-y: auto; margin: 8px 0 16px; }
.assign-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.assign-item:hover { border-color: var(--faint); }
.assign-item input { width: auto; }

/* ============================================================
   ✨ GLOW-UP WHITA — orb bernyawa, wordmark, aura, polish (2026-05-23)
   ============================================================ */

/* --- Orb signature: aura sunrise yang hidup (theme-adaptive) --- */
.brand .orb, .login-card .orb, .hero-orb { position: relative; isolation: isolate; }
.login-card .orb, .hero-orb {
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, var(--accent-3) 44%, var(--accent) 74%, var(--accent-2) 100%);
}
/* halo bernafas di belakang orb */
.login-card .orb::after, .hero-orb::after {
  content: ''; position: absolute; inset: -48%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-ring) 0%, transparent 68%);
  filter: blur(7px); animation: whita-halo 4.5s ease-in-out infinite;
}
@keyframes whita-halo { 0%, 100% { opacity: .4; transform: scale(.82); } 50% { opacity: .92; transform: scale(1.16); } }
/* kilau iris berputar pelan */
.login-card .orb::before, .hero-orb::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  background: conic-gradient(from 0deg, transparent 0%, rgba(255, 255, 255, .55) 12%, transparent 34%);
  mix-blend-mode: soft-light; animation: whita-sheen 7s linear infinite;
}
@keyframes whita-sheen { to { transform: rotate(360deg); } }
.hero-orb { width: 74px; height: 74px; }
/* brand orb mini denyut */
.brand .orb { animation: whita-mini 3.6s ease-in-out infinite; }
@keyframes whita-mini { 0%, 100% { box-shadow: 0 2px 8px var(--accent-ring); } 50% { box-shadow: 0 2px 15px var(--accent-ring), 0 0 0 3px var(--accent-soft); } }

/* --- Wordmark "WHITA" gradient --- */
.wm {
  background: linear-gradient(115deg, var(--accent-2), var(--accent-3) 55%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  font-weight: 700; letter-spacing: .4px;
}
.tagline { color: var(--muted); font-size: 11.5px; letter-spacing: .2px; margin: 2px 0 18px; }
.tagline b { color: var(--accent-2); font-weight: 700; }

/* --- Hero: aura lembut di belakang sapaan --- */
.hero { position: relative; }
.hero::before {
  content: ''; position: absolute; left: 50%; top: 0; width: 480px; height: 300px; max-width: 90vw;
  transform: translateX(-50%); z-index: -1; pointer-events: none; filter: blur(14px);
  background: radial-gradient(58% 58% at 50% 32%, var(--accent-soft), transparent 72%);
}

/* --- Chat: bubble masuk halus + thinking shimmer --- */
.bubble { animation: bubble-in .32s cubic-bezier(.2, .7, .3, 1) both; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(7px) scale(.99); } to { opacity: 1; transform: none; } }
.bubble.thinking {
  background: linear-gradient(100deg, var(--card) 0%, var(--card2) 50%, var(--card) 100%);
  background-size: 200% 100%; animation: bubble-in .32s both, think-shimmer 2.6s linear infinite;
}
@keyframes think-shimmer { to { background-position: -200% 0; } }

/* --- Pill solid: kilau halus pas hover --- */
.pill.solid { position: relative; overflow: hidden; }
.pill.solid::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .55s ease;
}
.pill.solid:hover::after { transform: translateX(120%); }

/* ---- chat gaya WhatsApp: row + avatar + warna pembeda ---- */
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 86%; animation: bubble-in .32s cubic-bezier(.2, .7, .3, 1) both; }
.msg-ai, .msg-other { align-self: flex-start; }
.msg-me { align-self: flex-end; flex-direction: row-reverse; }
.msg .bubble { margin: 0; max-width: 100%; animation: none; }   /* animasi pindah ke .msg */
.msg .avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; margin-bottom: 1px; }
.msg .avatar.orb { background: radial-gradient(circle at 32% 26%, #fff, var(--accent-3) 45%, var(--accent) 75%, var(--accent-2)); box-shadow: 0 1px 6px var(--accent-ring); position: relative; }
.msg .avatar.orb::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0%, rgba(255, 255, 255, .5) 14%, transparent 36%); mix-blend-mode: soft-light; animation: whita-sheen 7s linear infinite; }
.av-init { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-xs); }
.msg-name { display: block; font-size: 11px; font-weight: 700; margin-bottom: 3px; opacity: .95; }
/* bubble WHITA: dikasih tint accent biar gak putih polos + ekor */
.bubble.ai:not(.thinking) { background: color-mix(in srgb, var(--accent) 7%, var(--card)); border-color: var(--accent-ring); border-bottom-left-radius: 5px; }
@media (prefers-reduced-motion: reduce) { .msg, .msg .avatar.orb::after { animation: none !important; } }

/* ---- bubble panjang bisa di-collapse ("Selengkapnya/Tutup") ---- */
.bubble.collapsible.collapsed .bubble-body { max-height: 300px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.bubble-toggle { display: block; margin-top: 8px; background: none; border: none; color: var(--accent-2); font-size: 13px; font-weight: 700; cursor: pointer; padding: 3px 0 0; }
.bubble.ai .bubble-toggle { color: var(--accent-2); }

/* ---- markdown di dalam bubble chat ---- */
.bubble code { background: var(--bg2); border: 1px solid var(--line-soft); border-radius: 6px; padding: 1px 6px; font-family: var(--mono); font-size: .86em; }
.bubble.ai b, .bubble.plan b { color: var(--ink); font-weight: 700; }
.bubble .md-h { display: block; margin: 6px 0 2px; font-size: 1.02em; color: var(--accent-2); }
.bubble ul { margin: 6px 0; padding-left: 20px; }
.bubble li { margin: 3px 0; }
.bubble a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.bubble a:hover { color: var(--accent); }

/* ---- dialog ber-tema (ganti confirm/alert/prompt) ---- */
.dlg-card { width: min(420px, 92vw); max-height: none; display: block; animation: dlg-in .2s cubic-bezier(.2, .8, .3, 1.2) both; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.dlg-msg { margin: 0 0 16px; color: var(--ink-soft); white-space: pre-wrap; line-height: 1.55; }
.dlg-card h3 { font-family: var(--serif); font-weight: 400; }

/* ---- sidebar brand subtitle (kepanjangan WHITA) ---- */
.side-head { align-items: flex-start; }
.brand-wrap { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand-sub { font-size: 9px; line-height: 1.4; color: var(--faint); letter-spacing: .2px; padding-left: 30px; }
.brand-sub b { color: var(--accent-2); font-weight: 700; }

/* ---- sidebar polish: easing halus + aksen menu aktif ---- */
.sidebar { transition: margin-left .32s cubic-bezier(.4, 0, .2, 1), transform .32s cubic-bezier(.4, 0, .2, 1); }
.side-link { position: relative; }
.side-link.active::before {
  content: ''; position: absolute; left: -13px; top: 7px; bottom: 7px; width: 3px;
  border-radius: 0 4px 4px 0; background: linear-gradient(180deg, var(--accent-3), var(--accent));
}

/* ---- Floating WHITA orb — pengganti ☰ pas sidebar di-hide ---- */
#side-open { display: none !important; }   /* tombol hamburger lama diganti orb mengambang */
/* pas sidebar disembunyiin, geser isi topbar ke kanan biar gak ketutup orb mengambang */
.topbar-mini { transition: padding-left .3s cubic-bezier(.4, 0, .2, 1); }
.shell.collapsed .topbar-mini { padding-left: 76px; }
.side-fab {
  position: fixed; top: 14px; left: 14px; z-index: 28; padding: 0;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); box-shadow: var(--shadow-lg);
  display: none; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .18s cubic-bezier(.2, .8, .3, 1.4), box-shadow .2s;
}
.shell.collapsed .side-fab { display: inline-flex; animation: fab-pop .42s cubic-bezier(.2, .8, .3, 1.5) both; }
@keyframes fab-pop { 0% { opacity: 0; transform: scale(.3) rotate(-40deg); } 60% { opacity: 1; transform: scale(1.12) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
.side-fab:hover { transform: scale(1.1) rotate(-4deg); box-shadow: var(--shadow-lg), 0 0 0 5px var(--accent-soft); }
.side-fab:active { transform: scale(.92); }
.side-fab .orb {
  width: 32px; height: 32px; border-radius: 50%; position: relative; isolation: isolate;
  background: radial-gradient(circle at 32% 26%, #fff 0%, var(--accent-3) 44%, var(--accent) 74%, var(--accent-2) 100%);
}
.side-fab .orb::after {
  content: ''; position: absolute; inset: -45%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-ring) 0%, transparent 68%); filter: blur(6px);
  animation: whita-halo 4.5s ease-in-out infinite;
}
.side-fab .orb::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  background: conic-gradient(from 0deg, transparent 0%, rgba(255, 255, 255, .55) 12%, transparent 34%);
  mix-blend-mode: soft-light; animation: whita-sheen 7s linear infinite;
}

/* gerak dimatiin kalau user minta reduce-motion */
@media (prefers-reduced-motion: reduce) {
  .login-card .orb::after, .hero-orb::after, .login-card .orb::before, .hero-orb::before,
  .side-fab .orb::after, .side-fab .orb::before, .shell.collapsed .side-fab,
  .brand .orb, .bubble, .bubble.thinking { animation: none !important; }
}

/* ============================================================
   CONSOLE FULL-SCREEN (2026-05-23) — chat penuh + composer melayang + pop ala Messenger
   ============================================================ */
#view-console { max-width: 100%; width: 100%; margin: 0; padding: 0; height: calc(100dvh - 52px); display: flex; flex-direction: column; min-height: 0; position: relative; }
.console-head { display: flex; align-items: center; gap: 10px; padding: 14px 26px; border-bottom: 1px solid var(--line); flex: none; }
.console-name { font-family: var(--serif); font-size: 19px; }
.console-status { font-size: 12.5px; color: var(--muted); }
#view-console .progress { margin: 12px 26px 0; }

/* area chat penuh, tanpa card */
#view-console .chat-card { flex: 1; min-height: 0; padding: 0; border: none; background: none; box-shadow: none; border-radius: 0; display: flex; overflow: visible; height: auto; outline: 2px dashed transparent; outline-offset: -10px; }
#view-console .chat { flex: 1; min-height: 0; overflow-y: auto; padding: 22px max(22px, calc((100% - 880px) / 2)) 124px; background: none; gap: 12px; }

/* composer MELAYANG */
.composer-float { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(820px, calc(100% - 40px)); background: color-mix(in srgb, var(--card) 88%, transparent); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 7px 9px; z-index: 6; backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-top: 1px solid var(--line); }
.composer-row { display: flex; align-items: center; gap: 6px; }
.composer-float textarea { flex: 1; border: none; background: transparent; resize: none; outline: none; color: var(--ink); font-size: 15.5px; line-height: 1.5; padding: 9px 4px; max-height: 150px; min-height: 22px; }
.composer-float textarea::placeholder { color: var(--faint); }
.comp-attach { width: 38px; height: 38px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: transparent; border: none; color: var(--muted); font-size: 17px; cursor: pointer; transition: background .12s, color .12s; }
.comp-attach:hover { background: var(--bg2); color: var(--ink); }
.comp-stop { width: 38px; height: 38px; flex: none; border-radius: 12px; border: 1px solid var(--danger); background: transparent; color: var(--danger); cursor: pointer; font-size: 12px; font-weight: 700; }
.comp-stop:hover { background: rgba(194, 85, 75, .12); }
.composer-float .hero-send { flex: none; width: 40px; height: 40px; }
.composer-float:focus-within { box-shadow: var(--shadow-lg), 0 0 0 4px var(--accent-ring); border-color: var(--accent-ring); }
.composer-float .attach-chip { margin: 0 0 8px 6px; }

/* footer disembunyiin pas di console biar full */
body:has(#view-console:not(.hidden)) footer { display: none; }

/* animasi POP ala Messenger (directional + springy) */
.msg-me { animation: pop-right .36s cubic-bezier(.18, .89, .32, 1.27) both; }
.msg-ai, .msg-other { animation: pop-left .36s cubic-bezier(.18, .89, .32, 1.27) both; }
@keyframes pop-right { from { opacity: 0; transform: translateX(26px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes pop-left { from { opacity: 0; transform: translateX(-26px) scale(.86); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .console-head { padding: 12px 14px; }
  #view-console .chat { padding: 16px 13px 108px; }
  .composer-float { width: calc(100% - 18px); bottom: 10px; border-radius: 20px; }
  .composer-float #btn-continue { display: none; }
}
@media (prefers-reduced-motion: reduce) { .msg-me, .msg-ai, .msg-other { animation: none !important; } }

/* ---- Buat App Baru: header galeri + badge ---- */
.gallery-head { display: flex; align-items: center; gap: 12px; margin: 40px 0 16px; }
.gallery-head .gallery-label { margin: 0; flex: 1; text-align: left; }
.badge-lock { font-size: 10px; font-weight: 700; color: var(--accent-2); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 4px; }
.badge-port { font-size: 11px; font-weight: 600; color: var(--blue); background: rgba(91, 124, 153, .14); padding: 1px 8px; border-radius: 999px; vertical-align: middle; margin-left: 4px; font-family: var(--mono); }
.proj-meta a { color: var(--accent-2); text-decoration: none; }
.proj-meta a:hover { text-decoration: underline; }

/* ===== ASISTEN WHITA ===== */
.asisten-banner {
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(120deg, var(--accent-soft), transparent 70%), var(--card);
  border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; margin: 4px 0 18px;
  box-shadow: 0 6px 20px -12px var(--accent-ring);
}
.asisten-banner .ab-orb {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 26%, #fff, var(--accent-3) 45%, var(--accent) 75%, var(--accent-2));
  box-shadow: 0 4px 14px -2px var(--accent-ring); animation: whita-mini 3.6s ease-in-out infinite;
}
.asisten-banner .ab-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.asisten-banner .ab-text b { font-size: 15px; }
.asisten-banner .ab-text span { color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.as-modes { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }
.as-mode {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); background: var(--card); color: var(--muted);
  border-radius: 999px; padding: 7px 14px; font-size: 13px; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.as-mode svg { width: 16px; height: 16px; flex: none; }
.as-mode:hover { border-color: var(--accent-ring); }
.as-mode.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 3px 10px -3px var(--accent-ring); }
.as-orb-sm {
  width: 18px; height: 18px; border-radius: 50%; display: inline-block;
  background: radial-gradient(circle at 32% 26%, #fff, var(--accent-3) 45%, var(--accent) 75%, var(--accent-2));
  box-shadow: 0 2px 6px var(--accent-ring);
}
.as-dots { display: inline-flex; gap: 4px; align-items: center; }
.as-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .4; animation: as-bounce 1.2s infinite; }
.as-dots i:nth-child(2) { animation-delay: .2s; } .as-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes as-bounce { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
@media (max-width: 640px) { .asisten-banner .ab-text span { white-space: normal; } }

/* ===== REPORT aktivitas ===== */
.report-list { display: flex; flex-direction: column; gap: 14px; }
.report-card { padding: 16px 18px; }
.rep-head { display: flex; align-items: center; gap: 12px; }
.rep-head .avatar.av-init { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; flex: none; }
.rep-who { display: flex; flex-direction: column; min-width: 0; }
.rep-who b { font-size: 15px; }
.rep-who span { font-size: 12px; color: var(--muted); text-transform: capitalize; }
.rep-stats { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12.5px; color: var(--muted); justify-content: flex-end; text-align: right; }
.rep-stats .rep-total { font-weight: 600; color: var(--ink); }
.rep-stats .ok { color: var(--mint); }
.rep-stats .bad { color: var(--danger); }
.rep-stats .rep-last { flex-basis: 100%; text-align: right; color: var(--faint); }
.rep-tasks { margin-top: 12px; border-top: 1px solid var(--line-soft); padding-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.rep-task { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.rep-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--faint); }
.rep-dot.done { background: var(--mint); }
.rep-dot.error { background: var(--danger); }
.rep-dot.running { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.rep-dot.stopped { background: var(--faint); }
.rep-proj { font-weight: 600; color: var(--ink-soft); flex: none; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep-instr { color: var(--muted); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep-time { color: var(--faint); font-size: 12px; flex: none; white-space: nowrap; }
.rep-none { color: var(--faint); font-size: 13px; font-style: italic; }
@media (max-width: 640px) { .rep-proj { max-width: 90px; } .rep-instr { display: none; } }
