/* Shared typography, controls, cards, tables and feedback. Palette: design-tokens.css. */
[hidden]{display:none!important}
*{box-sizing:border-box}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;          /* 1.5 เดิมแน่นเกินสำหรับสระบน-ล่างของไทย */
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.page-head h1 { font-size: 28px; line-height: 1.35; font-weight: 700; }

.panel h2,
.job-main h2 { font-size: 18px; line-height: 1.3; font-weight: 700; }

.eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.job-order,
.job-time span,
.muted-line {
  font-variant-numeric: tabular-nums;
}

.job-order {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
}

.muted-line { color: var(--muted); font-size: 13px; }

.helper {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--r-2);
  background: var(--brand);
  color: var(--on-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.icon-btn {
  width: 38px;
  min-height: 38px;
  padding: 0;
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid var(--line);
}

.icon-btn:hover { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }

button,
.as-link {
  min-height: 42px;
  border: 0;
  border-radius: var(--r-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  transition: background-color .12s, border-color .12s, color .12s, transform .04s;
}

button:disabled { cursor: not-allowed; opacity: .45; }

button:focus-visible,
.as-link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.primary {
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
}

.primary:hover { background: var(--brand-dark); }

.primary:active { transform: translateY(1px); }

.ghost {
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line);
  font-weight: 600;
}

.ghost:hover { background: var(--surface-2); border-color: var(--line-strong); color: var(--ink); }

.ghost:active { background: var(--bg-sunken); }

.danger {
  background: var(--soft-bad);
  color: var(--bad);
  border: 1px solid var(--bad);
}

.danger:hover { background: var(--soft-bad); }

.small { min-height: 32px; padding: 0 10px; font-size: 13px; }

.live-indicator,
.data-source {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0 11px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.live-indicator {
  border-color: #c3d4ef;
  background: #e8f0fc;
  color: var(--brand-dark);
}

.live-indicator::before {
  content: "";
  width: 7px; height: 7px;
  margin-right: 8px;
  border-radius: var(--r-pill);
  background: var(--good);
  box-shadow: 0 0 0 3px rgb(18 105 62 / 18%);
  animation: livePulse 2.2s ease-in-out infinite;
}

.live-indicator[data-tone="warn"] {
  border-color: #f3d3a3;
  background: var(--soft-wait);
  color: var(--wait);
}

.live-indicator[data-tone="warn"]::before { background: var(--wait); box-shadow: 0 0 0 3px rgb(150 71 10 / 18%); }

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgb(18 105 62 / 20%); }
  50%      { box-shadow: 0 0 0 5px rgb(18 105 62 / 6%); }
}

.badge {
  position: relative;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--r-pill);
  padding: 0 10px 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: currentColor;
  flex: 0 0 auto;
}

.badge.good { background: var(--soft-good);    color: var(--good);    border-color: #a9dcc1; }

.badge.wait { background: var(--soft-wait);    color: var(--wait);    border-color: #f3d3a3; }

.badge.bad { background: var(--soft-bad);     color: var(--bad);     border-color: #f6c2be; }

.badge.artwork { background: var(--soft-artwork); color: var(--artwork); border-color: #d3c2f7; }

.badge.muted { background: var(--soft-muted);   color: var(--muted);   border-color: var(--line); }

.badge.info { background: #dbeafe; color: #1e40af; border-color: #b8cbf3; }

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

@media (min-width: 760px) {
.stats-strip { grid-template-columns: repeat(6, 1fr); }
}

.stat {
  position: relative;
  min-height: 80px;
  padding: var(--s-3) var(--s-3) var(--s-3) 16px;
  border-radius: var(--r-2);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--line);
}

.stat.good { background: var(--surface); }

.stat.good::before { background: var(--good); }

.stat.wait::before { background: var(--wait); }

.stat.artwork::before { background: var(--artwork); }

.stat.bad::before { background: var(--bad); }

.stat-head {
  display: flex;
  flex-wrap: wrap;
  min-height: 22px;
  gap: 6px;
  align-items: flex-start;
  justify-content: space-between;
}
.stat-head > span { flex: 1 0 100%; }

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin-top: var(--s-1);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stat.bad strong { color: var(--bad); }

.stat.good strong { color: var(--good); }

.stat-clear-button {
  min-height: 22px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  border: 1px solid rgb(163 22 15 / 24%);
  background: #fff;
  color: var(--bad);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-clear-button:hover { background: var(--soft-bad); }

.job-card,
.panel,
.request-card,
.image-output-card {
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface);
  padding: var(--s-4);
  box-shadow: var(--shadow-card);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.job-card { padding: var(--s-3) var(--s-4); }

.job-card:hover { border-color: var(--line-strong); }

.job-card.live-changed {
  animation: liveFlash 1.4s ease-out;
}

@keyframes liveFlash {
  0%   { border-color: #5a93e8; box-shadow: 0 0 0 4px rgb(18 87 201 / 20%); }
  60%  { border-color: #5a93e8; box-shadow: 0 0 0 6px rgb(18 87 201 / 8%); }
  100% { border-color: var(--line); box-shadow: var(--shadow-card); }
}

.job-main {
  display: flex;
  gap: var(--s-3);
  justify-content: space-between;
  align-items: flex-start;
}

.job-title-block { min-width: 0; }

.buyer-row {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-wrap: wrap;
}

.buyer-link { min-width: 0; }

.buyer-link h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.buyer-link:hover h2 { color: var(--brand); }

.copy-buyer-button {
  min-height: 24px;
  padding: 0 8px;
  border-radius: var(--r-1);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}

.job-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

.job-meta span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: var(--r-1);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.job-time {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: var(--s-2);
  color: var(--muted);
  font-size: 12px;
}

.job-time span { white-space: nowrap; }

.job-time span::before {
  content: "·";
  display: inline-block;
  margin-right: 8px;
  color: var(--line-strong);
}

.job-time span:first-child::before { content: ""; margin: 0; }

.mini-image-row {
  display: flex;
  gap: var(--s-2);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

.mini-image-item {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex: 0 1 auto;
  max-width: 100%;
}

.mini-image-button {
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
}

.mini-image-button:hover { border-color: var(--brand); }

.mini-image-button img {
  display: block;
  width: 52px; height: 52px;
  object-fit: cover;
}

.mini-copy-button {
  max-width: min(220px, calc(100vw - 140px));
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.button-row {
  display: flex;
  gap: var(--s-2);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

.compact-row { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px dashed var(--line); }

.bad-text { color: var(--bad); font-weight: 600; font-size: 13px; }

.image-output-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s-3);
}

.image-output-card { padding: var(--s-3); box-shadow: none; }

.image-output-grid .image-row-card { grid-column: 1 / -1; }

.image-thumb-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: var(--s-2);
}

.image-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
  background: var(--surface-2);
}

.image-thumb-button { min-height: 0; padding: 0; cursor: zoom-in; }

.image-thumb img { width: 100%; height: 100%; object-fit: contain; }

.image-output-body { padding-top: var(--s-3); }

.image-output-body h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; }

.alert.inline {
  position: relative;
  padding: 12px 12px 12px 36px;
  border-radius: var(--r-2);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 var(--s-3);
}

.alert.inline::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-radius: var(--r-pill);
  background: currentColor;
  box-shadow: 0 0 0 3px rgb(18 105 62 / 18%);
}

.alert.good { background: var(--soft-good); color: var(--good); border-color: #a9dcc1; }

.alert.bad { background: var(--soft-bad);  color: var(--bad);  border-color: #f6c2be; }

.alert.bad::before { box-shadow: 0 0 0 3px rgb(163 22 15 / 18%); }

.alert-card { min-width: 0; overflow: hidden; border-left: 4px solid var(--line); }

.alert-card.high { border-left-color: var(--bad); }

.alert-card.medium { border-left-color: var(--wait); }

.alert-card.low { border-left-color: var(--muted); }

.alert-card h2,
.alert-card p,
.alert-card .job-order {
  overflow-wrap: anywhere; word-break: break-word; min-width: 0;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface);
  color: var(--ink);
  padding: 9px 12px;
  font: inherit;
  transition: border-color .12s, box-shadow .12s;
}

input:hover,
select:hover,
textarea:hover { border-color: var(--line-strong); }

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--focus-ring);
}

textarea { min-height: 88px; resize: vertical; line-height: 1.5; }

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--bad);
  box-shadow: 0 0 0 3px rgb(163 22 15 / 14%);
}

.stack,
.grid-form,
.action-form { display: grid; gap: var(--s-3); }

@media (min-width: 760px) {
.grid-form {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
  }
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}

@media (max-width: 430px) {
.search-row { grid-template-columns: 1fr; }
}

.brief-preview-panel {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface-2);
}

.brief-preview {
  margin: 0;
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ink);
  font: 13px/1.55 var(--font-mono);
}

.brief-head {
  display: flex;
  gap: var(--s-2);
  justify-content: space-between;
  align-items: center;
}

.brief-head strong { font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-2); }

.validation-summary {
  margin: var(--s-3) 0 0;
  padding: 10px 12px;
  border-radius: var(--r-2);
  background: var(--soft-wait);
  color: var(--wait);
  font-size: 13px;
  font-weight: 600;
}

.quality-line { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-2); font-size: 13px; font-weight: 600; }

.quality-line.ready { background: var(--soft-good); color: var(--good); }

.quality-line.check { background: var(--soft-wait); color: var(--wait); }

.sb-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-2); background: var(--surface); }

.sb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

.sb-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.sb-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}

.sb-table tbody tr:last-child td { border-bottom: 0; }

.sb-table tbody tr:hover td { background: var(--surface-2); }

.sb-table .sb-time,
.sb-table .sb-num { font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }

.sb-transition {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px 2px 2px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 13px;
}

.sb-transition-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
}

.sb-transition-num--safe { background: var(--soft-good); border-color: #a9dcc1; color: var(--good); }

.sb-transition-num--warn { background: var(--soft-wait); border-color: #f3d3a3; color: var(--wait); }

.sb-transition-num--danger { background: var(--soft-bad);  border-color: #f6c2be; color: var(--bad); }

.sb-transition-glyph { color: var(--muted); font-weight: 700; font-size: 13px; }

.login-history {
  margin-top: var(--s-3);
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface-2);
}

.login-history-head { display: flex; gap: 10px; align-items: center; cursor: pointer; list-style: none; user-select: none; }

.login-history-head::-webkit-details-marker { display: none; }

.login-history-count { margin-left: auto; color: var(--muted); font-size: 12px; }

.login-history-toggle {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.login-history-toggle::before { content: "ดูประวัติ ▾"; }

.login-history[open] .login-history-toggle::before { content: "ซ่อน ▴"; }

.login-history-head:hover .login-history-toggle { border-color: var(--ink-2); }

.login-history[open] > .login-history-head { margin-bottom: var(--s-2); }

.login-history-head strong { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-2); }

.login-history-list { display: grid; gap: 4px; }

.login-history-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 8px;
  border-radius: var(--r-1);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
}

.login-history-row span:not(.badge) { color: var(--muted); font-family: var(--font-mono); font-size: 12px; }

.segmented {
  display: flex;
  gap: 6px;
  margin-bottom: var(--s-3);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.segmented a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.segmented a:hover { color: var(--ink); border-color: var(--line-strong); }

.segmented a.active {
  border-color: var(--brand);
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 700;
}

.segmented b,
.count-pill {
  min-width: 22px;
  min-height: 20px;
  padding: 0 7px;
  border-radius: var(--r-pill);
  display: inline-grid;
  place-items: center;
  background: var(--bg-sunken);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.segmented a.active b { background: var(--brand); color: var(--on-brand); }

.count-pop { animation: countPop .45s ease-out; }

@keyframes countPop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}

.pagination {
  display: flex;
  gap: var(--s-2);
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: var(--s-3) 0;
}

.pagination strong,
.pagination span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: var(--r-1);
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.pagination-summary { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }

.server-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-2);
  margin-top: var(--s-3);
}

@media (max-width: 760px) {
.server-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 430px) {
.server-status-grid { grid-template-columns: 1fr; }
}

.server-status-item {
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.server-status-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.server-status-item strong {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.server-status-item small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 18px;
  background: rgb(0 0 0 / 78%);
  backdrop-filter: blur(2px);
}

.lightbox-overlay[hidden] { display: none; }

.lightbox-shell {
  width: min(1100px, 100%);
  max-height: 94vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--s-3);
}

.lightbox-actions { display: flex; gap: var(--s-2); justify-content: flex-end; flex-wrap: wrap; }

.lightbox-actions .ghost {
  background: rgb(255 255 255 / 9%);
  color: var(--on-brand);
  border: 1px solid rgb(255 255 255 / 22%);
  backdrop-filter: blur(8px);
}

.lightbox-actions .ghost:hover { background: rgb(255 255 255 / 18%); border-color: rgb(255 255 255 / 40%); }

.lightbox-actions .ghost.danger { background: rgb(163 22 15 / 35%); color: #fff; border-color: rgb(163 22 15 / 60%); }

.lightbox-shell img {
  max-width: 100%;
  max-height: calc(94vh - 58px);
  object-fit: contain;
  justify-self: center; align-self: center;
  border-radius: var(--r-2);
  background: #fff;
}

.preview-watermark-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--s-3);
}

.preview-watermark-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 8px;
}

.preview-watermark-chip {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  transition: border-color .12s, background-color .12s, color .12s;
}

.preview-watermark-chip:hover { border-color: var(--brand); color: var(--brand-dark); }

.preview-watermark-chip.is-active {
  background: var(--brand);
  color: var(--on-brand);
  border-color: var(--brand);
  font-weight: 700;
  box-shadow: 0 1px 4px rgb(18 87 201 / 35%);
}

.empty {
  padding: 32px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-2);
  background: rgb(255 255 255 / 60%);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

* { box-sizing: border-box; }
