/* MyAccount website — page layout primitives.
 * Ported from Perch Website/account.html (commit fe50a3b) inline <style>
 * so MyAccount inherits visual parity with Perch's old account page,
 * extended for our multi-page chrome (shared header, service tiles,
 * sign-in card, etc.). Token variables live in dark-theme.css.
 */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); min-height: 100vh; }

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ─────────────────────────────────────────────── */
.ac-header {
  height: 54px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
}
.ac-logo-wrap { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.ac-logo-icon {
  width: 28px; height: 28px; background: var(--green-dim); border: 1px solid rgba(45,106,53,0.2);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.ac-logo-text { display: flex; flex-direction: column; line-height: 1; }
.ac-logo-name { font-size: 12.5px; font-weight: 700; color: var(--green); font-family: var(--font-ui); }
.ac-logo-sub { font-size: 7.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-light); }
.ac-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.ac-nav a, .ac-nav button {
  font-family: var(--font-ui); font-size: 11.5px; color: var(--muted); text-decoration: none;
  padding: 6px 12px; border-radius: 7px; border: none; background: none; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.ac-nav a:hover, .ac-nav button:hover { background: var(--green-dim); color: var(--green); text-decoration: none; }
.ac-nav .ac-nav-active { background: var(--green-dim); border: 1px solid rgba(45,106,53,0.22); color: var(--green); }

/* Avatar/account pill with dropdown ─────────────────────── */
.ac-account-pill { position: relative; margin-left: 4px; }
.ac-account-pill > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--border-mid);
  background: var(--panel);
  cursor: pointer;
  user-select: none;
}
.ac-account-pill > summary::-webkit-details-marker { display: none; }
.ac-account-pill .nav-avatar-sm {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #5ba86e, var(--green));
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: white;
  border: 2px solid rgba(45,106,53,0.22);
}
.ac-account-pill-name { font-size: 11.5px; color: var(--ink); font-weight: 500; }
.ac-account-pill-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--panel); border: 1px solid var(--border-mid); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 220px; padding: 6px; z-index: 120;
}
.ac-account-pill-menu a, .ac-account-pill-menu button {
  display: block; width: 100%; text-align: left;
  font-family: var(--font-ui); font-size: 12px; color: var(--ink);
  padding: 9px 12px; border-radius: 6px; border: 0; background: none;
  cursor: pointer; text-decoration: none;
}
.ac-account-pill-menu a:hover, .ac-account-pill-menu button:hover { background: var(--green-dim); color: var(--green); }
.ac-account-pill-menu .ac-menu-danger { color: var(--like-red); }
.ac-account-pill-menu .ac-menu-danger:hover { background: var(--like-red-dim); color: var(--like-red); }
.ac-account-pill-menu hr { border: 0; border-top: 1px solid var(--border); margin: 4px 0; }

/* ── Page layout ────────────────────────────────────────── */
.ac-page { max-width: 720px; margin: 0 auto; padding: 36px 24px 60px; }
.ac-page--wide { max-width: 960px; }
.ac-page-title { font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: var(--ink); margin: 0 0 4px; }
.ac-page-sub { font-size: 12px; color: var(--muted); margin: 0 0 28px; }

/* ── Cards ──────────────────────────────────────────────── */
.ac-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 24px; margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.ac-card-title {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted-light); margin: 0 0 14px;
}

/* ── Service tiles (landing) ────────────────────────────── */
.ac-tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px; margin-top: 20px;
}
.ac-tile {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px 24px; text-decoration: none; color: var(--ink); display: block;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}
.ac-tile:hover {
  border-color: rgba(45, 106, 53, 0.35); text-decoration: none;
  box-shadow: 0 6px 18px rgba(45, 106, 53, 0.12);
}
.ac-tile-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 12px;
}
.ac-tile-title { font-family: var(--font-serif); font-size: 18px; font-weight: 500; color: var(--ink); margin: 0; }
.ac-tile-arrow { color: var(--green); font-size: 14px; }
.ac-tile-stats { display: flex; gap: 18px; flex-wrap: wrap; }
.ac-tile-stat-value { font-size: 18px; font-weight: 600; color: var(--ink); }
.ac-tile-stat-label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.ac-tile-note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
@media (max-width: 640px) {
  .ac-tiles { grid-template-columns: 1fr; }
}

/* ── Profile header card ────────────────────────────────── */
.ac-profile-row { display: flex; align-items: center; gap: 18px; }
.ac-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #5ba86e, var(--green));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: white; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(45, 106, 53, 0.22);
}
.ac-profile-info { flex: 1; min-width: 0; }
.ac-display-name { font-family: var(--font-serif); font-size: 20px; font-weight: 500; margin: 0 0 3px; }
.ac-email { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.ac-profile-links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ── Buttons ────────────────────────────────────────────── */
.ac-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 8px; border: 1px solid var(--border);
  cursor: pointer; text-decoration: none; transition: all 0.15s;
  background: var(--bg); color: var(--ink);
}
.ac-btn:hover { background: var(--panel); border-color: var(--border-mid); text-decoration: none; }
.ac-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ac-btn.primary { background: var(--green); color: white; border-color: var(--green); }
.ac-btn.primary:hover { background: #245529; border-color: #245529; }
.ac-btn.danger { background: var(--like-red-dim); color: var(--like-red); border-color: rgba(192, 48, 58, 0.22); }
.ac-btn.danger:hover { background: rgba(192, 48, 58, 0.15); }
.ac-btn.large { font-size: 13px; padding: 10px 18px; }

/* ── Info rows (key/value list) ─────────────────────────── */
.ac-info-row { display: flex; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.ac-info-row:last-child { border-bottom: none; }
.ac-info-label { font-size: 11px; color: var(--muted); width: 130px; flex-shrink: 0; }
.ac-info-value { font-size: 12px; color: var(--ink); word-break: break-all; }

/* ── Banners / notes ────────────────────────────────────── */
.ac-setup-banner {
  background: rgba(212, 107, 42, 0.07); border: 1px solid rgba(212, 107, 42, 0.22);
  border-radius: 10px; padding: 12px 16px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.ac-setup-icon { font-size: 18px; flex-shrink: 0; }
.ac-setup-text { flex: 1; font-size: 12px; color: var(--ink); line-height: 1.5; }
.ac-setup-text strong { color: var(--orange); }

.ac-info-banner {
  background: var(--sky-dim); border: 1px solid rgba(43, 90, 143, 0.22);
  border-radius: 10px; padding: 12px 16px; font-size: 12px; color: var(--ink); line-height: 1.6;
}
.ac-info-banner strong { color: var(--sky); }

/* ── Quick links grid ───────────────────────────────────── */
.ac-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 540px) {
  .ac-links-grid { grid-template-columns: 1fr; }
}
.ac-link-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 10px; text-decoration: none;
  background: var(--bg); transition: all 0.15s; cursor: pointer;
}
.ac-link-item[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.ac-link-item[aria-disabled="true"]:hover { background: var(--bg); border-color: var(--border); }
.ac-link-item:hover { border-color: rgba(45, 106, 53, 0.3); background: var(--green-dim); text-decoration: none; }
.ac-link-icon { font-size: 18px; flex-shrink: 0; }
.ac-link-label { font-size: 12px; font-weight: 600; color: var(--ink); display: block; }
.ac-link-sub { font-size: 10.5px; color: var(--muted); display: block; margin-top: 1px; }

/* ── Status / errors ────────────────────────────────────── */
.ac-error { background: var(--like-red-dim); border: 1px solid rgba(192, 48, 58, 0.22); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; color: var(--like-red); font-size: 12px; }
.ac-loading { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 13px; }

#clerk-user-profile { margin-top: 18px; min-height: 600px; }

/* ── Username picker ────────────────────────────────────── */
.ac-username-card { background: rgba(45, 106, 53, 0.05); border-color: rgba(45, 106, 53, 0.25); }
.ac-username-card-title { font-family: var(--font-serif); font-size: 17px; font-weight: 500; color: var(--ink); margin: 0 0 4px; }
.ac-username-card-sub { font-size: 11.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.6; }
.ac-username-input-row { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.ac-username-at { font-size: 17px; font-weight: 700; color: var(--muted); line-height: 1; }
.ac-username-input {
  flex: 1; height: 38px; padding: 0 12px; border: 1px solid var(--border-mid);
  border-radius: 8px; background: var(--panel); color: var(--ink);
  font-size: 14px; font-family: 'Courier New', monospace; outline: none;
}
.ac-username-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(45, 106, 53, 0.10); }
.ac-username-avail { font-size: 11.5px; min-height: 18px; margin-bottom: 10px; }
.ac-username-avail.ok { color: var(--green); }
.ac-username-avail.taken { color: var(--like-red); }
.ac-username-avail.checking { color: var(--muted); }
.ac-username-rules { font-size: 10.5px; color: var(--muted-light); margin-bottom: 14px; line-height: 1.6; }
.ac-username-changes-note { font-size: 11px; color: var(--muted); margin-bottom: 12px; }

/* ── Privacy toggle ─────────────────────────────────────── */
.ac-privacy-row { display: flex; align-items: center; gap: 14px; }
.ac-privacy-text { flex: 1; min-width: 0; }
.ac-privacy-label { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 4px; }
.ac-privacy-desc { font-size: 11.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.ac-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.ac-toggle input { opacity: 0; width: 0; height: 0; }
.ac-toggle .ac-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border-mid); border-radius: 24px; transition: background 0.18s;
}
.ac-toggle .ac-slider::before {
  content: ""; position: absolute; height: 18px; width: 18px;
  left: 3px; top: 3px; background: white; border-radius: 50%;
  transition: transform 0.18s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.ac-toggle input:checked + .ac-slider { background: var(--green); }
.ac-toggle input:checked + .ac-slider::before { transform: translateX(20px); }
.ac-toggle input:disabled + .ac-slider { opacity: 0.5; cursor: not-allowed; }
.ac-privacy-status { font-size: 11px; color: var(--muted); margin-top: 8px; min-height: 14px; }
.ac-privacy-status.ok { color: var(--green); }
.ac-privacy-status.err { color: var(--like-red); }

/* ── Danger zone ────────────────────────────────────────── */
.ac-danger-card { border-color: rgba(192, 48, 58, 0.20); background: rgba(192, 48, 58, 0.03); }
.ac-danger-desc { font-size: 12px; color: var(--muted); margin: 0 0 14px; line-height: 1.6; }
.ac-danger-list { font-size: 12px; color: var(--ink); margin: 12px 0 18px; padding-left: 22px; line-height: 1.65; }
.ac-danger-list li { margin: 2px 0; }

/* ── Sign-in card (signin/, desktop-signin/) ────────────── */
.ac-signin-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 32px 16px;
}
.ac-signin-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
  padding: 36px 32px; width: 100%; max-width: 480px; text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.ac-signin-card h1 { font-family: var(--font-serif); font-size: 24px; font-weight: 500; margin: 0 0 12px; }
.ac-signin-card .lede { color: var(--muted); font-size: 13px; margin: 0 0 22px; }
.ac-signin-note {
  background: var(--orange-dim); border: 1px solid rgba(212, 107, 42, 0.20);
  border-radius: 8px; padding: 10px 12px; font-size: 11.5px; color: var(--ink);
  text-align: left; margin: 0 0 18px;
}
.ac-status-box {
  background: var(--green-dim); border: 1px solid rgba(45, 106, 53, 0.22);
  border-radius: 8px; padding: 10px 12px; font-size: 12px; color: var(--green); margin-bottom: 12px;
}
.ac-signin-footer { margin-top: 22px; font-size: 11px; color: var(--muted); }
.ac-signin-footer a { color: var(--sky); }

/* ── Compute usage tiles (cloud-compute page + landing) ── */
.ac-stat-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 540px) {
  .ac-stat-grid { grid-template-columns: 1fr; }
}
.ac-stat {
  padding: 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg);
}
.ac-stat-value { font-size: 20px; font-weight: 600; color: var(--ink); }
.ac-stat-label { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

/* ── Cloud Compute dashboard (jobs history, live progress, timeline) ── */

/* Quota progress bar — shows analyzed / monthly cap. Two-tone: filled
   green up to current count, light track for the remainder. */
.ac-quota-wrap { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ac-quota-track {
  position: relative; height: 10px; border-radius: 5px;
  background: var(--border); overflow: hidden;
}
.ac-quota-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--green);
  transition: width 200ms ease;
}
.ac-quota-fill--warn  { background: var(--orange); }
.ac-quota-fill--over  { background: var(--like-red); }
.ac-quota-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--muted);
}

/* Status badge — a small pill next to the job name. Color follows the
   terminal_reason or live status. */
.ac-badge {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 500; line-height: 1.6;
  letter-spacing: 0.02em; text-transform: capitalize;
  background: var(--border); color: var(--muted);
}
.ac-badge--running   { background: var(--sky-dim); color: var(--sky); }
.ac-badge--complete  { background: var(--green-dim); color: var(--green); }
.ac-badge--paused    { background: var(--orange-dim); color: var(--orange); }
.ac-badge--cancelled { background: var(--like-red-dim); color: var(--like-red); }
.ac-badge--failed    { background: var(--like-red-dim); color: var(--like-red); }

/* In-progress job card — per-job rich panel with two progress bars and
   action buttons. One per running job, stacked. */
.ac-job-card {
  background: var(--bg); border: 1px solid var(--border-mid);
  border-radius: 10px; padding: 14px 16px; margin-top: 12px;
}
.ac-job-card-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.ac-job-card-title {
  font-family: var(--font-ui); font-size: 13.5px; font-weight: 600;
  color: var(--ink); flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ac-job-card-meta {
  font-size: 11px; color: var(--muted); margin: -4px 0 8px;
}
.ac-job-card-actions { display: flex; gap: 6px; flex-shrink: 0; }
.ac-job-card-actions button {
  height: 26px; padding: 0 10px; font-size: 11.5px; font-weight: 500;
  border: 1px solid var(--border-mid); background: var(--panel);
  color: var(--ink); border-radius: 6px; cursor: pointer;
  font-family: var(--font-ui);
}
.ac-job-card-actions button:hover { background: var(--green-dim); }
.ac-job-card-actions button:disabled {
  opacity: 0.4; cursor: not-allowed; background: var(--panel);
}
.ac-job-card-actions button.danger { color: var(--like-red); }
.ac-job-card-actions button.danger:hover { background: var(--like-red-dim); }

.ac-progress-row { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.ac-progress-row-label {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--muted);
}
.ac-progress-track {
  height: 6px; border-radius: 3px; background: var(--border); overflow: hidden;
}
.ac-progress-fill {
  height: 100%; background: var(--sky); transition: width 200ms ease;
}
.ac-progress-fill--analyze { background: var(--green); }

/* History table — clickable rows expand to show event timeline. */
.ac-jobs-table {
  width: 100%; border-collapse: collapse; font-size: 12.5px;
  margin-top: 4px;
}
.ac-jobs-table th {
  text-align: left; font-weight: 500; font-size: 10.5px;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--muted); padding: 6px 8px;
  border-bottom: 1px solid var(--border-mid);
}
.ac-jobs-table td {
  padding: 10px 8px; border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.ac-jobs-table tr.expandable { cursor: pointer; }
.ac-jobs-table tr.expandable:hover td { background: var(--green-dim); }
.ac-jobs-table tr.expandable:hover td:first-child { border-radius: 6px 0 0 6px; }
.ac-jobs-table tr.expandable:hover td:last-child  { border-radius: 0 6px 6px 0; }
.ac-jobs-table tr.expand-row td {
  background: var(--bg); border-bottom: 1px solid var(--border-mid);
  padding: 14px 16px;
}
.ac-jobs-table .col-counts { font-variant-numeric: tabular-nums; color: var(--muted); }
.ac-jobs-table .col-date   { font-size: 11px; color: var(--muted); white-space: nowrap; }

/* Pagination footer for the history table. */
.ac-pager {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; font-size: 11.5px; color: var(--muted);
}
.ac-pager button {
  height: 26px; padding: 0 12px; font-size: 11.5px;
  border: 1px solid var(--border-mid); background: var(--panel);
  color: var(--ink); border-radius: 6px; cursor: pointer;
  font-family: var(--font-ui);
}
.ac-pager button:disabled { opacity: 0.4; cursor: not-allowed; }

/* Event timeline (per-job drill-in). Each event is a row with timestamp,
   type pill, and (collapsible) JSON details. */
.ac-timeline { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ac-timeline-empty { font-size: 12px; color: var(--muted); font-style: italic; }
.ac-timeline-item {
  display: grid; grid-template-columns: 90px 1fr; gap: 10px;
  padding: 6px 0; border-bottom: 1px dashed var(--border);
  font-size: 11.5px;
}
.ac-timeline-time { color: var(--muted-light); font-variant-numeric: tabular-nums; }
.ac-timeline-type {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  background: var(--border); color: var(--ink); font-size: 10.5px;
  font-weight: 500; margin-right: 6px;
}
.ac-timeline-type[data-kind="ok"]    { background: var(--green-dim); color: var(--green); }
.ac-timeline-type[data-kind="warn"]  { background: var(--orange-dim); color: var(--orange); }
.ac-timeline-type[data-kind="error"] { background: var(--like-red-dim); color: var(--like-red); }
.ac-timeline-data {
  font-family: 'Courier New', monospace; font-size: 10.5px;
  color: var(--muted); margin-top: 2px;
  overflow-x: auto; white-space: pre-wrap; word-break: break-all;
}

/* Spinner / refresh indicator next to the live counters. */
.ac-live-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); margin-right: 4px;
  animation: ac-pulse 1.6s ease-in-out infinite;
  vertical-align: middle;
}
@keyframes ac-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}

/* Reason breakdown row — used under the usage card to show jobs by
   terminal_reason. */
.ac-reason-row {
  display: flex; justify-content: space-between;
  font-size: 11.5px; color: var(--ink);
  padding: 4px 0; border-bottom: 1px dashed var(--border);
}
.ac-reason-row:last-child { border-bottom: none; }
.ac-reason-row span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); }

/* Period toggle (this-month vs all-time). */
.ac-toggle {
  display: inline-flex; gap: 4px; padding: 2px;
  background: var(--bg); border: 1px solid var(--border-mid); border-radius: 8px;
}
.ac-toggle button {
  height: 24px; padding: 0 10px; font-size: 11px; font-weight: 500;
  border: 0; background: transparent; color: var(--muted);
  border-radius: 6px; cursor: pointer; font-family: var(--font-ui);
}
.ac-toggle button.active { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.06); }

/* Delete page (existing) — keep below new sections. */
/* ── Delete page ────────────────────────────────────────── */
.ac-delete-page { max-width: 560px; }
.ac-delete-confirm-input {
  width: 100%; height: 40px; padding: 0 14px;
  border: 1px solid var(--border-mid); border-radius: 8px;
  background: var(--panel); color: var(--ink);
  font-size: 14px; font-family: 'Courier New', monospace; outline: none;
  margin: 8px 0 16px;
}
.ac-delete-confirm-input:focus { border-color: var(--like-red); box-shadow: 0 0 0 3px var(--like-red-dim); }
.ac-delete-actions { display: flex; gap: 10px; justify-content: flex-end; }
