:root {
  color-scheme: dark;
  --bg: #0b1115;
  --bg-soft: #111b21;
  --panel: rgba(14, 25, 31, 0.78);
  --panel-strong: rgba(11, 19, 24, 0.92);
  --line: rgba(178, 198, 208, 0.18);
  --text: #edf4f7;
  --muted: #8ea4b0;
  --accent: #f3a84f;
  --accent-strong: #ff6a3d;
  --success: #54c68a;
  --warn: #f0bf62;
  --error: #ff7b78;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.35);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI Variable Text", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(243, 168, 79, 0.18), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(83, 152, 229, 0.16), transparent 22%),
    linear-gradient(180deg, #0a1014 0%, #0d1419 42%, #0c1217 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 28px;
  opacity: 0.35;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 1px solid rgba(243, 168, 79, 0.3);
  background: linear-gradient(135deg, rgba(243, 168, 79, 0.2), rgba(255, 106, 61, 0.15));
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

button:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 168, 79, 0.58);
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
}

select {
  background-color: #111a20;
  color: var(--text);
  color-scheme: dark;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(243, 168, 79, 0.45);
  box-shadow: 0 0 0 3px rgba(243, 168, 79, 0.12);
}

select option,
select optgroup {
  background-color: #111a20;
  color: var(--text);
}

select option:checked,
select option:hover,
select option:focus {
  background-color: #1a2831;
  color: var(--text);
}

select option[disabled] {
  color: var(--muted);
}

textarea {
  resize: vertical;
  min-height: 132px;
}

label span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.shell {
  width: min(1400px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.topbar {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
  padding: 18px 24px;
  background: linear-gradient(180deg, rgba(14, 25, 31, 0.96), rgba(10, 17, 21, 0.92));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: riseIn 420ms ease both;
}

.eyebrow {
  margin: 0 0 6px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.75rem;
}

.brandblock h1 {
  margin: 0;
  font-family: "Bahnschrift", "Segoe UI Variable Display", sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subtle {
  color: var(--muted);
  max-width: 44rem;
  margin: 6px 0 0;
  font-size: 0.94rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.statusstrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-self: center;
}

.statusstrip > div,
.tab-panel,
.reply-item,
.log-list,
.progress-rail,
.table-wrap,
.account-focus-shell,
.account-focus-card,
.account-form,
.filters,
.stacked-panel,
.batch-grid section,
.log-section,
.manual-note {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.statusstrip > div {
  border-radius: 16px;
  padding: 12px 14px;
}

.label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.tabs {
  display: flex;
  gap: 10px;
  padding: 18px 0 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex: 0 0 auto;
  border-radius: 999px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  padding-inline: 1.2rem;
}

.tab.is-active {
  color: var(--text);
  border-color: rgba(243, 168, 79, 0.28);
  background: rgba(243, 168, 79, 0.12);
}

.workspace {
  padding-top: 18px;
}

.tab-panel {
  display: none;
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  animation: fadeSlide 260ms ease both;
}

.tab-panel.is-active {
  display: block;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 20px;
}

.section-head.compact {
  margin-bottom: 14px;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-head h2,
.section-head h3 {
  margin: 0;
  font-size: 1.2rem;
}

.section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.account-form,
.filters,
.batch-grid section,
.log-section,
.account-focus-shell,
.stacked-panel {
  border-radius: var(--radius);
  padding: 18px;
}

.account-form,
.filters,
.settings-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.switchline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.switchline span {
  margin-bottom: 0;
}

.switchline input {
  width: auto;
}

.form-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.stacked-panel {
  margin-bottom: 14px;
}

.stacked-panel summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text);
}

.stacked-panel summary::-webkit-details-marker {
  display: none;
}

.stacked-panel[open] summary {
  margin-bottom: 12px;
}

.stacked-panel .account-form,
.stacked-panel .settings-form,
.stacked-panel .filters {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.stacked-panel-body {
  padding-top: 12px;
}

.bulk-form .span-3 {
  grid-column: span 3;
}

.table-wrap {
  border-radius: var(--radius);
  overflow: auto;
}

.table-wrap.is-hidden {
  display: none;
}

.account-focus-shell {
  margin-bottom: 14px;
}

.focus-picker {
  display: block;
}

.focus-search {
  display: block;
  margin-bottom: 10px;
}

.focus-search input {
  font-size: 0.95rem;
}

.focus-picker select {
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 2.4rem;
}

.account-focus-panel {
  margin-top: 10px;
}

.account-focus-inline {
  display: grid;
  gap: 8px;
}

.focus-error-inline {
  display: none;
  padding: 0.15rem 0;
  color: var(--error);
  font-size: 0.92rem;
  line-height: 1.45;
}

.focus-error-inline.is-visible {
  display: block;
}

.account-cards {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

thead th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.action-menu-shell {
  width: min(100%, 136px);
}

.account-focus-inline .action-menu-shell {
  width: 100%;
}

.action-menu {
  position: relative;
  width: 100%;
}

.action-menu[open] {
  z-index: 5;
}

.action-menu summary {
  list-style: none;
}

.action-menu summary::-webkit-details-marker {
  display: none;
}

.action-menu-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 168, 79, 0.3);
  background: linear-gradient(135deg, rgba(243, 168, 79, 0.16), rgba(255, 106, 61, 0.12));
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.action-menu-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 168, 79, 0.54);
}

.action-menu-trigger::after {
  content: "▾";
  color: var(--muted);
  font-size: 0.88em;
  transition: transform 160ms ease;
}

.action-menu[open] .action-menu-trigger::after {
  transform: rotate(180deg);
}

.action-menu-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(178, 198, 208, 0.16);
  background: rgba(8, 14, 18, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.action-menu-list button {
  width: 100%;
  min-height: 38px;
  padding: 0.58rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(178, 198, 208, 0.16);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.tag.ok {
  color: var(--success);
}

.tag.warn {
  color: var(--warn);
}

.tag.error {
  color: var(--error);
}

/* ── maFile list ── */
.mafile-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0;
}

.mafile-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  gap: 10px;
}

.mafile-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.mafile-main strong {
  font-size: 1.02rem;
}

/* ── Reply list ── */
.reply-list {
  display: grid;
  gap: 14px;
}

.reply-item {
  border-radius: 20px;
  overflow: hidden;
}

.reply-item summary {
  list-style: none;
  cursor: pointer;
}

.reply-item summary::-webkit-details-marker {
  display: none;
}

.reply-item-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
}

.reply-user {
  color: var(--accent);
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.reply-user-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reply-fetched-at {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.reply-fetch-button,
.reply-close-button {
  min-height: 32px;
  padding: 0.42rem 0.82rem;
  font-size: 0.82rem;
  line-height: 1;
}

.reply-fetch-button[data-mode="active"] {
  background: linear-gradient(135deg, rgba(243, 168, 79, 0.22), rgba(255, 106, 61, 0.2));
  border-color: rgba(243, 168, 79, 0.48);
  color: var(--text);
}

.reply-fetch-button[data-mode="queued"] {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(143, 166, 177, 0.3);
  color: var(--muted);
}

.reply-close-button[data-mode="local-close"] {
  border-color: rgba(240, 191, 98, 0.35);
  color: var(--warn);
}

.reply-close-button[data-mode="local-closed"] {
  border-color: rgba(84, 198, 138, 0.35);
  color: var(--success);
}

.reply-title {
  margin: 0.25rem 0 0.45rem;
  font-size: clamp(1.04rem, 2vw, 1.32rem);
}

.reply-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 0.7rem;
}

.reply-preview {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reply-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  justify-items: end;
  min-width: 148px;
}

.reply-time {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.reply-time-label {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reply-time-value {
  font-size: 1.05rem;
  line-height: 1.15;
}

.reply-updated-flag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 123, 120, 0.5);
  background: rgba(255, 123, 120, 0.12);
  color: var(--error);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reply-local-flag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 191, 98, 0.35);
  background: rgba(240, 191, 98, 0.08);
  color: var(--warn);
  font-size: 0.82rem;
  font-weight: 700;
}

.reply-updated-time {
  display: inline-flex;
  align-items: center;
  color: var(--error);
  font-weight: 600;
}

.reply-item.has-updated {
  border-color: rgba(255, 123, 120, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 123, 120, 0.08),
    var(--shadow);
}

.reply-thread {
  padding: 0 18px 18px;
  display: grid;
  gap: 12px;
}

.message {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.message.staff {
  border-color: rgba(243, 168, 79, 0.35);
}

.message.is-new {
  box-shadow: inset 0 0 0 1px rgba(255, 106, 61, 0.5);
}

.message.has-updated {
  border-color: rgba(255, 123, 120, 0.45);
  background: linear-gradient(180deg, rgba(255, 123, 120, 0.08), rgba(255, 255, 255, 0.03));
}

.message header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.batch-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-bottom: 18px;
}

.progress-rail {
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 240ms ease;
}

.progress-meta,
.active-users {
  margin-top: 12px;
  color: var(--muted);
}

.manual-note {
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 14px;
}

.manual-note strong {
  display: block;
  margin-bottom: 0.35rem;
}

.manual-note p {
  margin: 0;
  color: var(--muted);
}

.batch-picker-section {
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.batch-picker-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(180px, 0.7fr) 1.1fr;
  gap: 14px;
  align-items: end;
  margin-bottom: 12px;
}

.batch-picker-toolbar label {
  display: block;
}

.batch-search {
  display: block;
}

.batch-picker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.batch-selection-meta {
  margin-bottom: 12px;
  color: var(--muted);
}

.batch-account-list {
  display: grid;
  gap: 10px;
  max-height: 340px;
  overflow: auto;
  padding-right: 4px;
}

.batch-account-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(178, 198, 208, 0.12);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.batch-account-item.is-disabled {
  opacity: 0.8;
}

.batch-account-check input {
  width: auto;
  margin: 0;
}

.batch-account-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.batch-account-main strong {
  font-size: 0.98rem;
  line-height: 1.2;
  word-break: break-all;
}

.batch-account-main span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
}

.batch-account-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.log-list {
  border-radius: var(--radius);
  overflow: hidden;
}

.log-entry {
  display: grid;
  grid-template-columns: 140px 110px minmax(110px, 180px) 1fr;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeSlide 220ms ease both;
}

.log-entry:last-child {
  border-bottom: none;
}

.muted {
  color: var(--muted);
}

.updated-word {
  color: var(--error);
  font-weight: 800;
  font-size: 1.08em;
}

.empty {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .topbar,
  .batch-grid,
  .batch-picker-toolbar,
  .account-form,
  .filters,
  .settings-form {
    grid-template-columns: 1fr;
  }

  .statusstrip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .reply-item-head,
  .log-entry {
    grid-template-columns: 1fr;
  }

  .shell {
    width: min(100vw - 18px, 100%);
  }

  .tab-panel {
    padding: 18px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .reply-meta,
  .reply-time {
    justify-items: start;
  }
}

@media (max-width: 820px) {
  html {
    font-size: 20px;
  }

  body::before {
    background-size: 100% 24px;
    opacity: 0.22;
  }

  .shell {
    width: min(100vw - 10px, 100%);
    padding: 10px 0 44px;
  }

  .topbar {
    gap: 8px;
    padding: 10px 12px;
    border-radius: 18px;
  }

  .eyebrow {
    margin-bottom: 4px;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .brandblock h1 {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .subtle {
    font-size: 0.92rem;
    line-height: 1.18;
    margin-top: 2px;
  }

  .tabs {
    position: sticky;
    top: 10px;
    z-index: 25;
    gap: 6px;
    margin-top: 8px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(11, 19, 24, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  }

  .tab {
    flex: 1 0 auto;
    text-align: center;
    padding: 0.52rem 0.6rem;
    font-size: 1.08rem;
  }

  .workspace {
    padding-top: 10px;
  }

  .tab-panel {
    border-radius: 16px;
    padding: 10px;
  }

  .account-form,
  .filters,
  .account-focus-shell,
  .stacked-panel,
  .batch-grid section,
  .batch-picker-section,
  .log-section {
    padding: 10px;
  }

  .section-head {
    gap: 8px;
    margin-bottom: 12px;
  }

  .section-head h2,
  .section-head h3 {
    font-size: 1.22rem;
  }

  .section-head p,
  label span,
  .label {
    font-size: 0.96rem;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions button,
  .section-head > button,
  .section-head > .ghost,
  .section-actions button,
  #runBatchNow {
    width: 100%;
  }

  .account-focus-inline {
    gap: 6px;
  }

  button,
  input,
  select,
  textarea {
    font-size: 1.04rem;
  }

  button {
    padding: 0.55rem 0.8rem;
  }

  input,
  select,
  textarea {
    padding: 0.62rem 0.78rem;
    border-radius: 10px;
  }

  .focus-search {
    margin-bottom: 6px;
  }

  .focus-search input,
  .focus-picker select {
    font-size: 0.98rem;
  }

  .action-menu-trigger {
    padding: 0.6rem 0.78rem;
    font-size: 1.02rem;
  }

  .action-menu-list {
    gap: 6px;
    margin-top: 6px;
    padding: 8px;
    border-radius: 12px;
  }

  .action-menu-list button {
    min-height: 32px;
    padding: 0.46rem 0.65rem;
    font-size: 0.98rem;
  }

  .batch-picker-actions {
    justify-content: stretch;
  }

  .batch-picker-actions button {
    width: 100%;
  }

  .reply-item {
    border-radius: 18px;
  }

  .reply-item-head {
    gap: 14px;
    padding: 16px;
  }

  .reply-user {
    font-size: 1.28rem;
  }

  .reply-fetch-button,
  .reply-close-button {
    padding-inline: 0.75rem;
  }

  .reply-status .tag,
  .reply-meta .tag {
    justify-content: center;
  }

  .reply-time-value {
    font-size: 1.24rem;
  }

  .reply-updated-flag {
    font-size: 1.02rem;
    letter-spacing: 0.14em;
  }

  .reply-thread {
    padding: 0 16px 16px;
  }

  .message {
    padding: 12px;
  }

  .message header {
    flex-direction: column;
    gap: 6px;
  }

  .log-entry {
    gap: 6px;
    padding: 12px 14px;
  }
}

@media (max-width: 620px) {
  html {
    font-size: 18px;
  }

  .statusstrip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .statusstrip > div {
    padding: 7px 8px;
    min-width: 0;
  }

  .statusstrip .label {
    margin-bottom: 0.18rem;
    font-size: 0.86rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .statusstrip strong {
    display: block;
    font-size: 1.08rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .filters {
    gap: 8px;
  }

  .action-menu-trigger {
    padding: 0.52rem 0.68rem;
  }

  .action-menu-list {
    padding: 6px;
    gap: 4px;
  }

  .action-menu-list button {
    min-height: 28px;
    padding: 0.38rem 0.5rem;
  }

  .batch-account-item {
    grid-template-columns: auto 1fr;
  }

  .batch-account-tags {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .reply-item summary {
    position: relative;
  }

  .reply-item-head {
    padding: 15px 14px;
  }

  .reply-preview {
    -webkit-line-clamp: 4;
  }

  .reply-meta {
    gap: 10px;
    padding-top: 2px;
  }

  .reply-time-label {
    font-size: 0.84rem;
  }

  .reply-time-value {
    font-size: 1.18rem;
  }

  .log-list,
  .progress-rail,
  .table-wrap,
  .account-form,
  .filters,
  .account-focus-shell,
  .stacked-panel,
  .batch-grid section,
  .batch-picker-section,
  .log-section,
  .manual-note,
  .statusstrip > div {
    border-radius: 16px;
  }

  .reply-time-beijing {
    font-size: 0.82rem;
    color: var(--accent);
    margin-left: 6px;
  }
}
