/* hive 中枢 Dashboard — 总控 Web 控制台（毛玻璃设计语言，同 win-agent GUI） */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #e8ebf1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(240, 180, 41, 0.10), transparent 60%),
    radial-gradient(900px 560px at 8% 108%, rgba(96, 125, 255, 0.09), transparent 60%),
    linear-gradient(160deg, rgba(17, 19, 28, 0.96), rgba(11, 13, 20, 0.98));
  background-attachment: fixed;
}

/* ambient glow blobs */
.glow { position: fixed; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
#app-shell { display: flex; flex-direction: column; min-height: 100vh; position: relative; z-index: 1; }
.glow-a { width: 420px; height: 300px; right: -60px; top: -80px; background: rgba(240, 180, 41, 0.07); }
.glow-b { width: 460px; height: 340px; left: -80px; bottom: -100px; background: rgba(96, 125, 255, 0.06); }

#topbar, #tabs, main { position: relative; z-index: 1; }

.mono { font-family: "Cascadia Code", Consolas, "SF Mono", monospace; }
.svgic { vertical-align: -2px; }
.hidden { display: none !important; }
.empty { color: #4d5468; font-size: 12px; padding: 10px 0; }

/* ===== glass surface ===== */
.glass {
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* ===== top bar ===== */
#topbar {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px; padding: 0 20px;
  background: rgba(18, 20, 28, 0.55);
  backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky; top: 0; z-index: 10;
}
.tb-left { display: flex; align-items: center; gap: 10px; }
.tb-logo { font-size: 18px; }
.tb-title { font-weight: 600; color: #f0b429; font-size: 16px; }
.tb-sub { color: #6d7488; font-size: 12px; }
.tb-right { display: flex; align-items: center; gap: 12px; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: #e5484d; display: inline-block; }
.dot.ok { background: #46a758; box-shadow: 0 0 6px rgba(70, 167, 88, .6); }
.ws-state { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #8b93a7; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: #aab2c4;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px; padding: 2.5px 10px;
}
.badge.amber { color: #f0c45c; border-color: rgba(240, 180, 41, .35); background: rgba(240, 180, 41, .10); }
.badge.ok { color: #7dd48c; border-color: rgba(70, 167, 88, .35); background: rgba(70, 167, 88, .12); }
.badge.err { color: #ff8589; border-color: rgba(229, 72, 77, .35); background: rgba(229, 72, 77, .12); }
.badge.gray { color: #8b93a7; }

/* ===== tabs ===== */
#tabs { display: flex; gap: 4px; padding: 14px 20px 0; }
.tab {
  display: flex; align-items: center; gap: 7px;
  background: transparent; border: none; color: #8b93a7;
  padding: 9px 18px; font-size: 13px; cursor: pointer; border-radius: 10px;
}
.tab .ic { display: flex; }
.tab:hover { color: #d7dae0; background: rgba(255,255,255,.04); }
.tab.active {
  color: #f0b429; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

/* ===== layout ===== */
main { padding: 14px 20px 30px; }
.view { display: none; flex-direction: column; gap: 12px; }
.view.active { display: flex; }

/* ===== tiles ===== */
#tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { padding: 13px 16px; }
.tile-top { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: #7d8598; }
.tile-top .svgic { color: #7d8598; }
.tile-k { font-size: 11px; color: #8b93a7; letter-spacing: .3px; }
.tile-v { font-size: 26px; font-weight: 650; color: #eef1f6; }
.tile-u { font-size: 12px; color: #6d7488; margin-left: 3px; }

/* ===== cards ===== */
.card { padding: 14px 18px; }
.card h3 {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; text-transform: uppercase; letter-spacing: 1px;
  color: #8b93a7; margin-bottom: 12px; font-weight: 600;
}
.card h3 .svgic { color: #7d8598; }
.card h3 .count {
  margin-left: 2px;
  background: rgba(240, 180, 41, .14); color: #f0c45c;
  border-radius: 999px; padding: 0 8px; font-size: 11px; line-height: 18px;
}
.card h3 .primary, .card h3 .ghost { margin-left: auto; }

/* ===== buttons ===== */
button {
  background: rgba(255,255,255,.07); color: #d7dae0; border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; padding: 5px 13px; font-size: 12px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
button:hover { background: rgba(255,255,255,.12); }
button.primary { background: rgba(240,180,41,.16); border-color: rgba(240,180,41,.4); color: #f0c45c; }
button.primary:hover { background: rgba(240,180,41,.24); }
button.ghost { background: transparent; border-color: transparent; color: #8b93a7; }
button.ghost:hover { color: #d7dae0; background: rgba(255,255,255,.06); }
button.danger { border-color: rgba(255,143,137,.4); color: #ff8589; }
button.danger:hover { background: rgba(229, 72, 77, .18); }
button:disabled { opacity: .4; cursor: default; }

/* ===== node wall ===== */
.node-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.node-card { padding: 12px 14px; border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.node-card.flash { animation: nodeFlash 1.2s ease; }
@keyframes nodeFlash { 0% { background: rgba(240,180,41,.20); } 100% { background: rgba(255,255,255,.04); } }
.node-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.node-name { font-weight: 600; font-size: 13px; color: #f2f4f8; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.node-gpu { font-size: 11.5px; color: #8b93a7; margin-bottom: 6px; }
.node-meta { display: flex; flex-wrap: wrap; gap: 5px; font-size: 11px; color: #6d7488; }
.node-meta .mono { color: #8b93a7; }
.tagchip {
  display: inline-flex; align-items: center; font-size: 10.5px; color: #aab2c4;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px; padding: 1px 6px;
}

/* ===== task list ===== */
.chips { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.chip {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); color: #8b93a7;
  border-radius: 999px; padding: 3px 13px; font-size: 11.5px; cursor: pointer;
}
.chip:hover { color: #d7dae0; }
.chip.active { border-color: rgba(240,180,41,.5); color: #f0b429; background: rgba(240,180,41,.10); }

.task { border-bottom: 1px solid rgba(255,255,255,.05); padding: 10px 2px; cursor: pointer; }
.task:last-child { border-bottom: none; }
.task-row { display: flex; align-items: center; gap: 10px; }
.task-id { color: #6d7488; font-size: 11px; width: 90px; overflow: hidden; text-overflow: ellipsis; }
.task-name { flex: 1; color: #d7dae0; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-node { color: #f0c45c; font-size: 11.5px; }
.task-time { color: #6d7488; font-size: 11px; width: 88px; text-align: right; }
.task-detail { margin-top: 9px; padding: 10px 12px; border-radius: 9px; background: rgba(0,0,0,.22); font-size: 12px; }
.task-detail .arts { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.art-link { color: #7db3f5; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.art-link:hover { text-decoration: underline; }
.pbar { margin-top: 8px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; position: relative; }
.pbar-fill { height: 100%; background: linear-gradient(90deg, #d99a1f, #f0b429); border-radius: 3px; transition: width .6s ease; }
.pbar.indeterminate .pbar-fill {
  width: 35%; background: linear-gradient(90deg, transparent, #f0b429, transparent);
  animation: slide 1.4s ease-in-out infinite;
}
@keyframes slide { 0% { transform: translateX(-120%); } 100% { transform: translateX(320%); } }
.task-msg { margin-top: 5px; color: #6d7488; font-size: 11px; }

/* ===== workflow grid ===== */
.wf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.wf-card { padding: 13px 15px; border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.wf-name { font-weight: 600; font-size: 13px; color: #f2f4f8; margin-bottom: 6px; }
.wf-desc { color: #8b93a7; font-size: 11.5px; line-height: 1.5; margin-bottom: 8px; min-height: 32px; }
.wf-meta { display: flex; flex-wrap: wrap; gap: 5px; }

/* ===== ops list ===== */
.ops-row { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid rgba(255,255,255,.05); }
.ops-row:last-child { border-bottom: none; }
.ops-cmd { flex: 1; font-size: 12.5px; color: #d7dae0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops-cmd.danger-cmd { color: #ff8589; }
.ops-target { color: #6d7488; font-size: 11px; }

/* ===== modal ===== */
#modal-mask {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(5, 7, 12, .55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal { width: 560px; max-width: 96vw; max-height: 86vh; overflow-y: auto; padding: 20px 22px; }
.modal h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #f2f4f8; margin-bottom: 14px; }
.modal h3.danger { color: #ff8589; }
.modal .actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }

/* ===== forms ===== */
.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: 12px; color: #8b93a7; margin-bottom: 5px; }
.form-row input[type=text], .form-row input[type=number], .form-row textarea, .form-row select {
  width: 100%; padding: 8px 11px; font-size: 12.5px; color: #e8ebf1;
  background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
  outline: none; font-family: inherit;
}
.form-row textarea { min-height: 84px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: rgba(240,180,41,.5); }
.form-row input[type=file] { font-size: 12px; color: #8b93a7; }
.form-row select option { background: #161923; }
.form-err { color: #ff8589; font-size: 12px; margin-top: 8px; }
.form-ok { color: #7dd48c; font-size: 12px; margin-top: 8px; }

/* ===== scrollbars ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }
::-webkit-scrollbar-corner { background: transparent; }

/* ===== 数据表格（任务/设备） ===== */
.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid rgba(255,255,255,.06); }
.table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 780px; }
.table thead th {
  text-align: left; font-size: 11px; letter-spacing: .5px; color: #6d7488; font-weight: 600;
  padding: 9px 12px; background: rgba(255,255,255,.03); border-bottom: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}
.table tbody td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.05); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.task-tr { cursor: pointer; }
.task-tr:hover { background: rgba(255,255,255,.03); }
.task-tr.expanded { background: rgba(240,180,41,.05); }
.task-detail-tr td { background: rgba(0,0,0,.18); }
.tbl-id { color: #6d7488; font-size: 11px; }
.tbl-name { color: #e8ebf1; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl-sum { color: #8b93a7; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl-node { color: #f0c45c; font-size: 11.5px; }
.tbl-dur, .tbl-time { color: #6d7488; font-size: 11px; white-space: nowrap; }
/* ===== 准入审批横幅 ===== */
.approve-bar {
  border-color: rgba(240,180,41,.35);
  background: rgba(240,180,41,.07);
  padding: 12px 16px;
}
.ab-head {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  color: #f0c45c; font-size: 12.5px; margin-bottom: 8px;
}
.ab-actions { margin-left: auto; display: flex; gap: 6px; }
.ab-list { display: flex; flex-direction: column; gap: 2px; }
.ab-row {
  display: flex; align-items: center; gap: 14px; padding: 6px 4px;
  border-bottom: 1px solid rgba(255,255,255,.05); cursor: pointer; font-size: 12px;
}
.ab-row:last-child { border-bottom: none; }
.ab-row input[type=checkbox] { width: auto; accent-color: #f0b429; }
.ab-row .tbl-gpu { flex: 1; }

/* ===== 设备详情弹层 ===== */
.dv-approve-strip {
  display: flex; align-items: center; gap: 10px;
  color: #f0c45c; font-size: 12.5px; padding: 9px 12px; margin-bottom: 12px;
  background: rgba(240,180,41,.08); border: 1px solid rgba(240,180,41,.3); border-radius: 9px;
}
.dv-approve-strip button { margin-left: auto; }
.dv-approve-strip button + button { margin-left: 0; }
.dv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dv-sec { margin-bottom: 14px; }
.dv-k { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #8b93a7; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.dv-k .dv-auto { margin-left: auto; display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; color: #aab2c4; text-transform: none; letter-spacing: 0; cursor: pointer; }
.dv-auto input[type=checkbox] { width: auto; accent-color: #f0b429; }
.dv-health { display: flex; gap: 6px; flex-wrap: wrap; }
.hb.big { font-size: 12px; padding: 4px 12px; }
.dv-models {
  max-height: 120px; overflow-y: auto; display: flex; flex-wrap: wrap; gap: 5px;
  padding: 8px; background: rgba(0,0,0,.18); border-radius: 8px;
}
.dv-tasks { display: flex; flex-direction: column; }
.dv-task { display: flex; align-items: center; gap: 10px; padding: 6px 2px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 12px; }
.dv-task:last-child { border-bottom: none; }
.dv-shot { background: rgba(0,0,0,.22); border-radius: 9px; padding: 8px; text-align: center; }
.dv-shot img { max-width: 100%; max-height: 42vh; border-radius: 6px; }
.dv-shot-time { margin-left: auto; color: #6d7488; font-size: 11px; }

/* ===== 设备健康徽章 ===== */
.tbl-health { white-space: nowrap; }
.hb {
  display: inline-flex; align-items: center;
  font-size: 10.5px; color: #aab2c4;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px; padding: 1.5px 7px; margin-right: 4px;
}
.hb.ok { color: #7dd48c; border-color: rgba(70,167,88,.35); background: rgba(70,167,88,.12); }
.hb.err { color: #ff8589; border-color: rgba(229,72,77,.4); background: rgba(229,72,77,.14); }
.hb.warn { color: #f0c45c; border-color: rgba(240,180,41,.4); background: rgba(240,180,41,.12); }

/* 状态/节点/耗时列禁止换行（徽章两字换行观感差） */
.col-status { white-space: nowrap; min-width: 72px; }
.col-nowrap { white-space: nowrap; }
.col-status .badge { white-space: nowrap; }
.tbl-pct { display: block; margin-top: 3px; color: #f0c45c; font-size: 10.5px; text-align: center; }
.tbl-gpu { color: #a9b1c3; font-size: 11.5px; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tbl-caps { color: #8b93a7; font-size: 11px; }
.st { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; }
.st.ok { color: #7dd48c; } .st.busy { color: #f0c45c; } .st.off { color: #6d7488; }
.flash-row { animation: rowFlash 1.2s ease; }
@keyframes rowFlash { 0% { background: rgba(240,180,41,.22); } 100% { background: transparent; } }
.arts-preview { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.art-preview { display: flex; flex-direction: column; gap: 6px; }
.art-preview video { width: 260px; border-radius: 8px; background: #000; }

/* ===== 分页 ===== */
.pgn { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.pgn-btn { padding: 4px 10px; }
.pgn-info { color: #6d7488; font-size: 11.5px; }

/* ===== 素材库网格 ===== */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.art-card { border-radius: 11px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); overflow: hidden; cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.art-card:hover { transform: translateY(-2px); border-color: rgba(240,180,41,.4); }
.art-thumb { aspect-ratio: 16/9; background: #0a0c12; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.art-thumb video, .art-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-generic { color: #3a4155; }
.art-name { padding: 8px 10px 0; font-size: 11.5px; color: #d7dae0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-meta { padding: 3px 10px 0; font-size: 10.5px; color: #6d7488; }
.art-card .art-meta:last-child { padding-bottom: 10px; }

/* ===== 素材大图预览弹层 ===== */
.preview-title { overflow-wrap: anywhere; }
.preview-stage { display: flex; justify-content: center; background: rgba(0,0,0,.35); border-radius: 10px; padding: 10px; }
.preview-stage video { max-width: 100%; max-height: 52vh; border-radius: 6px; }
.preview-stage img { max-width: 100%; max-height: 52vh; border-radius: 6px; }
.preview-meta { margin-top: 10px; color: #6d7488; font-size: 11px; }
.btn-download { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 8px;
  background: rgba(240,180,41,.16); border: 1px solid rgba(240,180,41,.4); color: #f0c45c; font-size: 12px; text-decoration: none; }
.btn-download:hover { background: rgba(240,180,41,.24); }

/* ===== 工作流极简管理 ===== */
.wf-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid rgba(255,255,255,.05); }
.wf-row:last-of-type { border-bottom: none; }

/* ===== responsive ===== */
@media (max-width: 860px) {
  #tiles { grid-template-columns: repeat(2, 1fr); }
  main { padding: 12px 12px 24px; }
  #topbar, #tabs { padding-left: 12px; padding-right: 12px; }
  .task-id, .task-time { display: none; }
}

/* ===== 认证：登录视图 / 配对页 / 令牌 ===== */
#view-login, #view-pair, #view-claim {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(1100px 520px at 82% -8%, rgba(240, 180, 41, 0.08), transparent 60%),
              radial-gradient(900px 560px at 8% 108%, rgba(96, 125, 255, 0.07), transparent 60%),
              rgba(11, 13, 20, 0.9);
}
.login-card { width: 340px; padding: 30px 30px 26px; text-align: center; }
.login-logo { font-size: 34px; margin-bottom: 8px; }
.login-card h2 { font-size: 17px; font-weight: 600; color: #f2f4f8; margin-bottom: 4px; }
.login-card .hint { margin-bottom: 16px; }

.field { display: block; text-align: left; margin-bottom: 12px; }
.field span { display: block; font-size: 11.5px; color: #8b93a7; margin-bottom: 6px; }
.field input, .field select {
  width: 100%; height: 34px; padding: 0 12px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8ebf1; font-size: 13px; outline: none;
}
.field select option { background: #161923; }
.field input:focus, .field select:focus { border-color: rgba(240, 180, 41, 0.5); background: rgba(255, 255, 255, 0.07); }

/* 账户页排版统一（8px 栅格）：字段间 12 / 卡片内边距 18 / 标签-控件 6 / 按钮组-内容 12 / 控件高度 32-34 */
#view-account .card { padding: 16px 18px; }
#view-account .card h3 { margin-bottom: 12px; }
#view-account .row { align-items: center; gap: 10px; margin: 8px 0; }
#view-account .row input[type="text"] { height: 32px; }
#view-account .row button, .acct-form button { height: 32px; padding: 0 13px; }
#view-account .hint { margin: 0 0 12px; }
#view-account .card > button { margin-top: 4px; }
.acct-form { display: grid; grid-template-columns: 1fr 160px auto; gap: 10px; align-items: end; margin-bottom: 4px; }
.acct-form .field { margin-bottom: 0; }
.acct-form .form-err { grid-column: 1 / -1; }
@media (max-width: 720px) { .acct-form { grid-template-columns: 1fr; } }

/* 认领页 */
.claim-card { width: 360px; }
#claim-form .field input { height: 36px; }
#claim-form button.wide { margin-top: 4px; }
.login-error { color: #ff8589; font-size: 12px; min-height: 16px; margin: 2px 0 8px; }
button.wide { width: 100%; padding: 9px 0; font-size: 13.5px; }

.pair-card { width: 380px; }
.pair-agent { font-size: 14px; color: #d7dae0; margin: 6px 0 2px; }
.pair-agent b { color: #f0c45c; }
.pair-actions { display: flex; gap: 10px; margin-top: 14px; }
.pair-actions button { flex: 1; padding: 10px 0; font-size: 13.5px; }
button.approve { background: rgba(70, 167, 88, .16); border-color: rgba(70, 167, 88, .45); color: #7dd48c; }
button.approve:hover { background: rgba(70, 167, 88, .26); }

.token-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.token-row:last-child { border-bottom: none; }
.token-row .v { min-width: 120px; }
.token-meta { flex: 1; color: #6d7488; font-size: 11.5px; }
.token-reveal { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: rgba(240, 180, 41, 0.07); border: 1px solid rgba(240, 180, 41, 0.3); }
.reveal-label { font-size: 11.5px; color: #f0c45c; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.reveal-row { display: flex; gap: 8px; align-items: center; }
.reveal-row code { flex: 1; word-break: break-all; font-size: 12px; color: #f2f4f8; background: rgba(0,0,0,.25); padding: 7px 10px; border-radius: 7px; }
.prompt-box { width: 100%; height: 220px; margin-top: 10px; padding: 10px; font-size: 11.5px; color: #a9b1c3;
  background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; resize: vertical; }
.row input[type="text"] { flex: 1; padding: 8px 12px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8ebf1; font-size: 12.5px; outline: none; }
.row input[type="text"]:focus { border-color: rgba(240, 180, 41, 0.5); }
