:root {
  --bg: #061515;
  --bg2: #0b2222;
  --card: rgba(255,255,255,.09);
  --card2: rgba(255,255,255,.13);
  --text: #f6fbfa;
  --muted: #9fb9b4;
  --line: rgba(255,255,255,.14);
  --gold: #f6c960;
  --teal: #3de2cf;
  --danger: #ff6b6b;
  --shadow: 0 26px 70px rgba(0,0,0,.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, #164846 0, transparent 40%), radial-gradient(circle at 85% 15%, rgba(246,201,96,.18), transparent 35%), linear-gradient(135deg, var(--bg), #020807 70%); color: var(--text); }
button, input, textarea, select { font: inherit; }
a { color: var(--teal); }
.boot { display:grid; place-items:center; min-height:100vh; color:var(--muted); }
.glass { background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.06)); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.center { text-align:center; }
.hidden { display:none!important; }
.stack { display:flex; flex-direction:column; gap:14px; }
.compact { gap:10px; }
.brand-row { display:flex; align-items:center; gap:10px; font-size:15px; }
.brand-row img { width:34px; height:34px; }
.brand-row strong { font-size:24px; letter-spacing:-.04em; }
.brand-row span { color:var(--muted); border-left:1px solid var(--line); padding-left:10px; }
.login-shell { min-height:100vh; display:grid; grid-template-columns: minmax(300px, 560px) 1fr; align-items:center; gap:48px; padding:44px; max-width:1240px; margin:auto; }
.login-card { border-radius:34px; padding:36px; }
h1 { margin: 0; font-size: clamp(34px, 6vw, 68px); line-height:.95; letter-spacing:-.07em; }
.login-card h1 { margin: 24px 0 18px; }
.login-card p { font-size:17px; line-height:1.6; }
.login-showcase { position:relative; min-height:620px; display:grid; place-items:center; }
.orb { position:absolute; width:420px; height:420px; border-radius:999px; background: radial-gradient(circle, rgba(61,226,207,.3), rgba(246,201,96,.12), transparent 68%); filter: blur(8px); }
.phone-preview { position:relative; width:min(360px, 88vw); height:650px; border-radius:44px; padding:24px; transform: rotate(2deg); }
.phone-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; }
.phone-top b { color:#28e299; font-size:13px; }
.tool-pill { background:rgba(246,201,96,.16); border:1px solid rgba(246,201,96,.26); padding:14px 16px; border-radius:18px; margin-bottom:20px; }
.preview-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.preview-grid div { height:230px; border-radius:22px; background:linear-gradient(160deg, rgba(255,255,255,.25), rgba(255,255,255,.04)); border:1px solid var(--line); }
.prompt-lines { margin-top:28px; display:grid; gap:12px; }
.prompt-lines span { height:18px; border-radius:20px; background:rgba(255,255,255,.1); }
.input { width:100%; background:rgba(255,255,255,.09); border:1px solid var(--line); color:var(--text); border-radius:16px; padding:13px 14px; outline:none; }
.input:focus { border-color:rgba(61,226,207,.65); box-shadow:0 0 0 4px rgba(61,226,207,.12); }
.input::placeholder { color:#78918d; }
textarea.input, .textarea { min-height:150px; resize:vertical; }
.small-area { min-height:120px; font-size:12px; word-break:break-all; }
label { display:grid; gap:7px; color:#d6e5e2; font-size:14px; }
.btn { border:0; cursor:pointer; border-radius:16px; padding:13px 18px; font-weight:800; color:#061515; background:linear-gradient(135deg, var(--teal), #b5fff5); box-shadow:0 10px 30px rgba(61,226,207,.22); transition:.18s transform, .18s opacity; }
.btn:hover { transform:translateY(-1px); }
.btn:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.btn.secondary { color:#fff; background:rgba(255,255,255,.12); border:1px solid var(--line); box-shadow:none; }
.btn.ghost { color:#fff; background:rgba(255,255,255,.08); border:1px solid var(--line); box-shadow:none; }
.btn.danger { color:#fff; background:rgba(255,107,107,.18); border:1px solid rgba(255,107,107,.34); box-shadow:none; }
.btn.tiny { border-radius:11px; padding:8px 10px; font-size:12px; }
.hint { margin-top:14px; border:1px solid rgba(246,201,96,.28); background:rgba(246,201,96,.08); color:#f8df9b; border-radius:16px; padding:12px; font-size:13px; line-height:1.45; }
.payment-shell, .app-shell { max-width:1360px; margin:auto; padding:22px; }
.pay-header, .topbar { display:flex; justify-content:space-between; align-items:center; border-radius:24px; padding:14px 18px; position:sticky; top:12px; z-index:5; }
.top-actions, .actions { display:flex; gap:10px; flex-wrap:wrap; }
.pay-hero { margin:22px 0; border-radius:34px; padding:34px; display:flex; justify-content:space-between; gap:24px; align-items:center; }
.eyebrow { color:var(--gold); font-weight:800; text-transform:uppercase; letter-spacing:.12em; font-size:12px; }
.pay-hero h1 { max-width:760px; margin:10px 0 14px; }
.price-card { min-width:230px; border-radius:28px; padding:24px; background:linear-gradient(145deg, rgba(246,201,96,.23), rgba(255,255,255,.08)); border:1px solid rgba(246,201,96,.26); display:grid; gap:4px; text-align:right; }
.price-card strong { font-size:36px; color:var(--gold); }
.struck { text-decoration:line-through; color:#b8aaa5; }
.pay-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:start; }
.card-pad, .card { border-radius:28px; padding:22px; }
.card h3, .card-pad h2, .side-pane h3 { margin:0 0 14px; }
.qris-panel { text-align:center; }
#qrisMount { background:white; border-radius:24px; padding:18px; max-width:330px; margin:14px auto; }
#qrisMount svg { width:100%; height:auto; display:block; }
.invoice-info { display:flex; justify-content:space-between; gap:16px; background:rgba(255,255,255,.08); border:1px solid var(--line); padding:12px 14px; border-radius:16px; }
.status-box { margin-top:14px; display:grid; gap:4px; background:rgba(255,255,255,.08); border:1px solid var(--line); padding:13px; border-radius:16px; }
.empty-state { display:grid; place-items:center; min-height:150px; border:1px dashed var(--line); border-radius:22px; color:var(--muted); padding:18px; text-align:center; }
.tool-rail { margin:18px 0; border-radius:26px; padding:12px; display:flex; gap:10px; overflow:auto; }
.tool-btn { min-width:130px; color:var(--text); background:rgba(255,255,255,.07); border:1px solid var(--line); border-radius:22px; padding:13px 12px; display:grid; gap:4px; justify-items:center; cursor:pointer; position:relative; }
.tool-btn span { font-size:28px; }
.tool-btn b { font-size:13px; }
.tool-btn em { position:absolute; top:7px; right:8px; font-style:normal; color:#061515; background:var(--gold); border-radius:999px; padding:2px 6px; font-size:9px; font-weight:900; }
.tool-btn.active { border-color:rgba(61,226,207,.6); background:rgba(61,226,207,.16); }
.workspace { display:grid; grid-template-columns:minmax(0, 1fr) 360px; gap:18px; align-items:start; }
.main-pane { display:grid; gap:18px; }
.section-title { border-radius:30px; padding:24px; display:flex; align-items:center; gap:18px; }
.title-emoji { width:62px; height:62px; border-radius:22px; display:grid; place-items:center; background:rgba(255,255,255,.1); font-size:32px; }
.section-title h1 { font-size:34px; margin:0 0 4px; }
.section-title p { margin:0; color:var(--muted); }
.grid-two { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.settings-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; }
.upload-box { min-height:250px; border:1px dashed rgba(255,255,255,.22); border-radius:24px; background:rgba(255,255,255,.05); display:grid; place-items:center; overflow:hidden; position:relative; margin-bottom:12px; }
.upload-empty { text-align:center; color:var(--muted); display:grid; gap:5px; }
.upload-empty b { color:var(--text); }
.upload-box img, .upload-box video { width:100%; height:100%; object-fit:cover; display:block; }
.close-media { position:absolute; top:10px; right:10px; z-index:2; width:34px; height:34px; border-radius:999px; border:0; background:rgba(0,0,0,.55); color:#fff; cursor:pointer; font-size:24px; }
.file-label { display:inline-flex; justify-content:center; width:100%; }
.side-pane { border-radius:28px; padding:18px; position:sticky; top:106px; max-height:calc(100vh - 130px); overflow:auto; }
.task-list { display:grid; gap:12px; }
.task { border:1px solid var(--line); background:rgba(255,255,255,.06); border-radius:20px; padding:12px; display:grid; gap:10px; }
.task div:first-child { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.task div:first-child span, .status { border-radius:999px; padding:4px 8px; font-size:10px; background:rgba(61,226,207,.16); color:#a9fff6; font-weight:800; }
.task p { margin:0; color:var(--muted); font-size:12px; line-height:1.4; }
.task img, .task video { width:100%; border-radius:14px; max-height:240px; object-fit:cover; }
.download { display:inline-block; border:1px solid var(--line); border-radius:12px; padding:8px 10px; text-decoration:none; font-size:12px; }
.key-status, .affiliate-card { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:16px; }
.key-status > *, .affiliate-card > div { border:1px solid var(--line); border-radius:20px; padding:16px; background:rgba(255,255,255,.07); display:grid; gap:8px; }
.affiliate-card strong { font-size:34px; color:var(--gold); }
.admin-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; margin-bottom:18px; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; min-width:780px; }
th, td { border-bottom:1px solid var(--line); padding:12px 10px; text-align:left; vertical-align:top; }
th { color:var(--gold); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
td small { display:block; color:var(--muted); margin-top:4px; }
.input.mini { min-width:90px; padding:8px 10px; border-radius:11px; display:inline-block; }
.switch-mini { display:inline-flex; align-items:center; gap:6px; margin-right:8px; font-size:12px; color:var(--muted); }
.toggle-line { display:flex; align-items:center; gap:9px; }
.status.PAID, .status.COMPLETED { background:rgba(42,224,151,.16); color:#99ffce; }
.status.REJECTED, .status.CANCELLED { background:rgba(255,107,107,.16); color:#ffb4b4; }
@media (max-width: 980px) {
  .login-shell { grid-template-columns:1fr; padding:18px; }
  .login-showcase { display:none; }
  .pay-hero, .pay-grid, .workspace, .grid-two, .admin-grid { grid-template-columns:1fr; }
  .pay-hero { align-items:stretch; }
  .price-card { text-align:left; }
  .workspace { display:block; }
  .side-pane { position:static; max-height:none; margin-top:18px; }
  .settings-grid { grid-template-columns:1fr; }
  .section-title h1 { font-size:28px; }
  .section-title { align-items:flex-start; }
}
@media (max-width: 560px) {
  .payment-shell, .app-shell { padding:12px; }
  .pay-header, .topbar { border-radius:18px; }
  .brand-row strong { font-size:20px; }
  .brand-row span { display:none; }
  .top-actions { gap:6px; }
  .btn { padding:12px 14px; }
  h1 { font-size:38px; }
  .pay-hero, .card, .card-pad, .section-title { padding:18px; border-radius:22px; }
  .tool-btn { min-width:112px; }
}
/* v2.1 fixes + affiliate payout UI */
.input option, .input optgroup { color:#061515; background:#ffffff; }
.input option:checked { color:#061515; background:#d7fffa; }
.error-hint { display:flex; align-items:center; justify-content:space-between; gap:12px; border-color:rgba(255,107,107,.36); background:rgba(255,107,107,.1); color:#ffd2d2; }
.summary-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.metric { border-radius:24px; padding:18px; display:grid; gap:8px; min-height:120px; }
.metric span { color:var(--muted); font-size:13px; }
.metric strong { font-size:clamp(22px, 2.5vw, 34px); color:var(--gold); letter-spacing:-.04em; word-break:break-word; }
.metric small { color:#c7ddd9; }
.status.UNPAID { background:rgba(246,201,96,.16); color:#ffe29a; }
.status.WITHDRAW_REQUESTED, .status.PENDING, .status.PROCESSING, .status.WAITING_PAYMENT, .status.WAITING_REVIEW { background:rgba(61,226,207,.14); color:#a9fff6; }
.status.REJECTED, .status.CANCELLED { background:rgba(255,107,107,.16); color:#ffb4b4; }
.status.PAID, .status.COMPLETED { background:rgba(42,224,151,.16); color:#99ffce; }
.card + .card, .summary-grid + .card, .grid-two + .card { margin-top:18px; }
@media (max-width: 980px) { .summary-grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 560px) { .summary-grid { grid-template-columns:1fr; } table { min-width:920px; } .error-hint { align-items:flex-start; flex-direction:column; } }

/* v2.2 public-first checkout flow */
.public-shell { max-width: 1280px; }
.luxe-hero { position: relative; overflow: hidden; }
.luxe-hero:before { content:""; position:absolute; inset:-120px -80px auto auto; width:320px; height:320px; border-radius:999px; background:radial-gradient(circle, rgba(246,201,96,.30), transparent 70%); filter:blur(4px); pointer-events:none; }
.trust-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.trust-row span { border:1px solid var(--line); background:rgba(255,255,255,.07); border-radius:999px; padding:8px 12px; color:#dcefed; font-size:13px; }
.premium-price { box-shadow:0 22px 70px rgba(246,201,96,.16); }
.public-pay-grid { grid-template-columns:1.05fr .95fr; }
.public-pay-grid > .proof-luxe { grid-column:1 / -1; }
.checkout-card, .qris-luxe, .proof-luxe, .login-inline { position:relative; overflow:hidden; }
.checkout-card:after, .qris-luxe:after, .proof-luxe:after, .login-inline:after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(135deg, rgba(255,255,255,.10), transparent 35%, rgba(246,201,96,.05)); opacity:.65; }
.login-inline { margin:18px 0; border-radius:28px; padding:22px; display:grid; grid-template-columns:1fr 1.5fr; gap:18px; align-items:end; }
.login-inline h2 { margin:0 0 8px; font-size:26px; letter-spacing:-.04em; }
.login-inline-form { display:grid; grid-template-columns:1fr 1fr auto; gap:12px; align-items:end; }
.req { color:var(--gold); font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
.account-created { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; margin:16px 0; }
.account-created > div { background:rgba(255,255,255,.08); border:1px solid var(--line); border-radius:18px; padding:14px; display:grid; gap:5px; }
.account-created span { color:var(--muted); font-size:12px; }
.account-created b { word-break:break-word; }
.account-created button { grid-column:1 / -1; }
.success-hint { border-color:rgba(42,224,151,.36); background:rgba(42,224,151,.10); color:#baffdc; }
.input.big { padding:15px 15px; border-radius:18px; }
@media (max-width: 980px) {
  .public-pay-grid, .login-inline, .login-inline-form { grid-template-columns:1fr; }
  .account-created { grid-template-columns:1fr; }
}

/* v2.3 responsive luxury polish + copyright footer */
html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, #164846 0, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(246,201,96,.18), transparent 35%),
    linear-gradient(135deg, var(--bg), #020807 70%);
  background-color: #020807;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background-color: #020807;
  -webkit-text-size-adjust: 100%;
}
#app {
  min-height: 100vh;
  min-height: 100dvh;
  background:
    radial-gradient(circle at top left, #164846 0, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(246,201,96,.18), transparent 35%),
    linear-gradient(135deg, var(--bg), #020807 70%);
}
img, video, svg, canvas { max-width: 100%; }
.payment-shell, .app-shell {
  width: min(100%, 1360px);
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
}
.public-shell { width: min(100%, 1280px); }
.pay-header, .topbar {
  gap: 14px;
  width: 100%;
  max-width: 100%;
}
.brand-row { min-width: 0; }
.brand-row strong { white-space: nowrap; }
.top-actions { min-width: 0; }
.top-actions .btn { white-space: normal; line-height: 1.18; }
.pay-hero > *, .pay-grid > *, .public-pay-grid > *, .workspace > *, .main-pane > * { min-width: 0; }
.public-pay-grid { grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); }
.price-card {
  min-width: 0;
  width: min(360px, 100%);
  align-self: stretch;
  justify-content: center;
}
.price-card strong {
  font-size: clamp(34px, 5vw, 56px);
  line-height: .98;
  letter-spacing: -.05em;
}
.luxe-hero h1 { max-width: 780px; }
.card-pad h2, .card h3 { letter-spacing: -.035em; }
.site-footer {
  margin: 26px auto 0;
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 26px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: 0 18px 46px rgba(0,0,0,.20);
  display: grid;
  gap: 6px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: -.035em;
}
.footer-brand img { width: 24px; height: 24px; }
.site-footer p { margin: 0; font-size: 13px; }
.site-footer small { color: #7fa09b; font-size: 12px; }

@media (max-width: 980px) {
  .payment-shell, .app-shell {
    width: 100%;
    max-width: none;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .pay-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .pay-grid, .public-pay-grid, .workspace, .grid-two, .admin-grid {
    grid-template-columns: 1fr !important;
  }
  .public-pay-grid > .proof-luxe { grid-column: auto !important; }
  .login-inline, .login-inline-form, .account-created { grid-template-columns: 1fr !important; }
  .price-card { width: 100%; text-align: left; }
  .pay-header { position: sticky; top: max(10px, env(safe-area-inset-top)); }
}

@media (max-width: 720px) {
  .payment-shell, .app-shell { padding: 14px 12px max(26px, env(safe-area-inset-bottom)); }
  .pay-header {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    border-radius: 22px;
    padding: 14px;
  }
  .pay-header .brand-row { justify-content: center; }
  .pay-header .top-actions, .pay-header .top-actions .btn { width: 100%; }
  .topbar { flex-wrap: wrap; border-radius: 22px; padding: 13px; }
  .topbar .brand-row { flex: 1 1 auto; }
  .topbar .top-actions { margin-left: auto; }
  .pay-hero { margin: 16px 0; padding: 22px; border-radius: 26px; }
  .pay-hero h1 { font-size: clamp(36px, 12vw, 56px); line-height: .95; }
  .pay-hero p { font-size: 15px; line-height: 1.55; }
  .trust-row span { flex: 1 1 100%; text-align: center; }
  .price-card { min-height: 190px; padding: 22px; border-radius: 26px; }
  .price-card strong { font-size: clamp(44px, 15vw, 64px); }
  .public-pay-grid { gap: 14px; }
  .card-pad, .card, .section-title { border-radius: 24px; padding: 18px; }
  .card-pad h2 { font-size: clamp(25px, 8vw, 36px); line-height: 1.08; }
  .empty-state { min-height: 190px; }
  #qrisMount { max-width: 100%; padding: 14px; border-radius: 20px; }
  .invoice-info { flex-direction: column; text-align: center; gap: 6px; }
  .site-footer { border-radius: 22px; padding: 18px 14px; }
}

@media (max-width: 430px) {
  .payment-shell, .app-shell { padding-left: 10px; padding-right: 10px; }
  .pay-header .brand-row strong, .topbar .brand-row strong { font-size: 22px; }
  .brand-row img { width: 32px; height: 32px; }
  .pay-header .btn { padding: 12px 13px; font-size: 14px; }
  .pay-hero { padding: 20px 18px; }
  .pay-hero h1 { font-size: clamp(34px, 13vw, 48px); }
  .price-card { min-height: 168px; }
  .price-card strong { font-size: clamp(40px, 17vw, 58px); }
  .card-pad, .card, .section-title { padding: 16px; }
  .input.big { padding: 13px 14px; }
  .btn { width: 100%; }
  .topbar .btn, .tool-btn .btn, .btn.tiny { width: auto; }
  table { min-width: 860px; }
}

/* v2.4 output progress + delete controls */
.side-pane-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.side-pane-head h3 { margin:0 0 6px; }
.side-pane-head .btn { flex-shrink:0; }
.task {
  position:relative;
  overflow:hidden;
  box-shadow: 0 16px 38px rgba(0,0,0,.16);
}
.task:before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(145deg, rgba(255,255,255,.08), transparent 38%, rgba(246,201,96,.04));
  opacity:.7;
}
.task-head, .task-title, .task-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.task-head { position:relative; z-index:1; align-items:flex-start; }
.task-title { flex:1; min-width:0; align-items:flex-start; }
.task-title b {
  display:block;
  font-size:15px;
  line-height:1.3;
  word-break:break-word;
}
.icon-btn {
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.05);
  color:#f6f7f7;
  width:34px;
  height:34px;
  border-radius:999px;
  display:grid;
  place-items:center;
  cursor:pointer;
  font-size:20px;
  line-height:1;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.icon-btn:hover {
  transform:translateY(-1px);
  background:rgba(255,107,107,.12);
  border-color:rgba(255,107,107,.35);
}
.delete-task-btn { flex-shrink:0; }
.task-progress-wrap {
  display:grid;
  gap:8px;
  position:relative;
  z-index:1;
}
.task-progress-meta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.task-progress-meta small { color:#d6ece8; }
.task-progress-meta strong {
  color:var(--gold);
  font-size:12px;
  letter-spacing:.04em;
}
.task-progress-track {
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.22);
}
.task-progress-fill {
  display:block;
  height:100%;
  border-radius:inherit;
  position:relative;
  transition:width .45s ease;
}
.task-progress-fill.is-active {
  background:linear-gradient(90deg, #40d8d0 0%, #9af7ea 65%, #d7fff6 100%);
}
.task-progress-fill.is-done {
  background:linear-gradient(90deg, #2ae097 0%, #78f0bf 100%);
}
.task-progress-fill.is-failed {
  background:linear-gradient(90deg, #ff7b7b 0%, #ffb4b4 100%);
}
.task-progress-fill.is-active:after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.22) 35%, transparent 70%);
  animation:taskBarShine 1.8s linear infinite;
}
@keyframes taskBarShine {
  from { transform:translateX(-120%); }
  to { transform:translateX(140%); }
}
.task-meta {
  position:relative;
  z-index:1;
  color:var(--muted);
  font-size:11px;
  flex-wrap:wrap;
}
.task .actions {
  position:relative;
  z-index:1;
  display:flex;
  justify-content:flex-start;
  gap:8px;
  flex-wrap:wrap;
}
.task .download { position:relative; z-index:1; margin-top:8px; }
.task-active { border-color:rgba(61,226,207,.22); }
.task-failed { border-color:rgba(255,107,107,.24); }
@media (max-width: 560px) {
  .side-pane-head { flex-direction:column; align-items:stretch; }
  .side-pane-head .btn { width:100%; }
}
