/* FAST Đối tác — giao diện chung (trang đăng nhập, đối tác, quản trị) */
:root {
  --brand: #00a3a5;
  --brand-d: color-mix(in srgb, var(--brand) 78%, #000);
  --brand-l: color-mix(in srgb, var(--brand) 10%, #fff);
  --accent: #ed3237;
  --ink: #1f2933;
  --ink-2: #52606d;
  --ink-3: #8a96a3;
  --line: #e4e8ed;
  --bg: #f4f6f8;
  --card: #fff;
  --ok: #12a150;
  --ok-bg: #e7f7ee;
  --warn: #c77700;
  --warn-bg: #fff4e0;
  --bad: #d92d20;
  --bad-bg: #fdecea;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 14px/1.55 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: var(--brand-d); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.3; }
h1 { font-size: 22px; } h2 { font-size: 17px; } h3 { font-size: 15px; }
p { margin: 0 0 .8em; }
.ic { flex: none; vertical-align: -3px; }
.muted { color: var(--ink-3); }
.small { font-size: 12.5px; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; }
.right { text-align: right; }
.center { text-align: center; }
.hide { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }
.trunc { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }

/* Nút, ô nhập */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s; }
.btn:hover { border-color: #c9d1da; background: #fafbfc; }
.btn-primary { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 65%, #000); border-color: color-mix(in srgb, var(--brand) 65%, #000); }
.btn-ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-ok:hover { background: #0e8a44; }
.btn-danger { color: var(--bad); }
.btn-danger:hover { background: var(--bad-bg); border-color: #f5c2bd; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 13px; border-radius: 6px; }
.btn-icon { width: 38px; padding: 0; }
.btn-block { width: 100%; height: 44px; font-size: 15px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 13.5px; }
.field { margin-bottom: 14px; }
.hint { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; font-weight: 400; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=url], input[type=search], select, textarea {
  width: 100%; height: 40px; padding: 0 12px; border: 1px solid #d3dae2; border-radius: 8px; font: inherit; color: var(--ink); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; }
select { padding-right: 30px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a96a3' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--brand-d); width: 16px; height: 16px; }
.pw { position: relative; }
.pw input { padding-right: 42px; }
.pw button { position: absolute; right: 4px; top: 4px; height: 32px; width: 34px; border: 0; background: none; color: var(--ink-3); cursor: pointer; border-radius: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }

/* Thông báo */
.alert { padding: 11px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 13.5px; border: 1px solid transparent; }
.alert-ok { background: var(--ok-bg); color: #0b6b35; border-color: #bfe8cf; }
.alert-err { background: var(--bad-bg); color: #a3241a; border-color: #f5c2bd; }
.alert-warn { background: var(--warn-bg); color: #8a5300; border-color: #f5dcae; }
.alert-info { background: var(--brand-l); color: var(--brand-d); border-color: color-mix(in srgb, var(--brand) 25%, #fff); }
.alert ul { margin: 0; padding-left: 18px; }

.badge { display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 500; border: 1px solid; white-space: nowrap; }
.badge-ok { color: var(--ok); background: var(--ok-bg); border-color: #bfe8cf; }
.badge-warn { color: var(--warn); background: var(--warn-bg); border-color: #f5dcae; }
.badge-bad { color: var(--bad); background: var(--bad-bg); border-color: #f5c2bd; }
.badge-muted { color: var(--ink-2); background: #f1f3f5; border-color: #e1e5ea; }
.badge-brand { color: var(--brand-d); background: var(--brand-l); border-color: color-mix(in srgb, var(--brand) 25%, #fff); }

/* Thẻ, bảng */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 16px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-h h2 { margin: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-weight: 600; color: var(--ink-2); background: #f8fafb; padding: 11px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; min-width: 0; border-bottom: 1px solid #eef1f4; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fafcfc; }
.tbl .cb { width: 36px; }
.tbl input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--brand-d); }
.empty { padding: 36px 12px; text-align: center; color: var(--ink-3); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 14px; font-size: 13.5px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; word-break: break-word; }

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input, .toolbar select { width: auto; min-width: 150px; height: 38px; }
.toolbar input[type=date] { min-width: 140px; }
.toolbar .sp { flex: 1; }
.pager { display: flex; justify-content: flex-end; align-items: center; gap: 6px; padding: 12px 0 0; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.pager span { margin-right: 6px; }
.pg { min-width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); background: #fff; padding: 0 6px; }
.pg.cur { border-color: var(--brand-d); color: var(--brand-d); font-weight: 600; }
.pg.off { pointer-events: none; opacity: .45; }
.pg:hover { text-decoration: none; border-color: #c9d1da; }
.pager select.per { width: auto; height: 30px; font-size: 13px; padding: 0 28px 0 8px; }

/* Số liệu */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat .lb { color: var(--ink-2); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.stat .lb .ic { color: var(--brand-d); }
.stat .vl { font-size: 26px; font-weight: 700; margin-top: 4px; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: 12.5px; color: var(--ink-3); }
.chart { width: 100%; height: 200px; display: block; }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

/* Ô copy link */
.copybox { display: flex; border: 1px solid #cfd8e0; border-radius: 9px; overflow: hidden; background: #fff; }
.copybox input { border: 0; height: 44px; flex: 1; min-width: 0; font-weight: 600; color: var(--brand-d); background: #fff; box-shadow: none !important; }
.copybox .btn { border: 0; border-left: 1px solid #cfd8e0; border-radius: 0; height: 44px; }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.share-btns .btn { height: 36px; }
.sb-zalo { color: #0068ff; } .sb-fb { color: #1877f2; }

/* Hộp xác nhận tự vẽ (không dùng window.confirm) */
.modal-bg { position: fixed; inset: 0; background: rgba(15, 23, 32, .45); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal { background: #fff; border-radius: 12px; width: 100%; max-width: 440px; padding: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); }
.modal h3 { font-size: 16px; }
.modal .acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1f2933; color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 13.5px; z-index: 120; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

/* Menu … */
.dd { position: relative; display: inline-block; }
.dd-menu { position: absolute; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(16, 24, 40, .12); min-width: 170px; z-index: 30; padding: 4px; display: none; }
.dd.open .dd-menu { display: block; }
.dd-menu a, .dd-menu button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; border-radius: 6px; cursor: pointer; }
.dd-menu a:hover, .dd-menu button:hover { background: #f3f6f8; text-decoration: none; }

/* ───── Trang đăng nhập kiểu MISA ID ───── */
.auth { min-height: 100vh; display: flex; background: #fff; }
.auth-side { flex: 1 1 52%; position: relative; overflow: hidden; color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.14), transparent 40%), radial-gradient(circle at 85% 85%, rgba(255,255,255,.10), transparent 45%), linear-gradient(135deg, var(--brand-d), var(--brand)); }
.auth-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.auth-side h1 { font-size: 34px; font-weight: 700; max-width: 520px; margin-bottom: 14px; letter-spacing: -.5px; }
.auth-side p.lead { font-size: 16px; opacity: .92; max-width: 500px; margin-bottom: 28px; }
.auth-feats { display: grid; gap: 14px; max-width: 500px; position: relative; z-index: 1; }
.auth-feat { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 14px 16px; }
.auth-feat .ic { width: 22px; height: 22px; margin-top: 2px; }
.auth-feat b { display: block; font-size: 15px; }
.auth-feat span { font-size: 13.5px; opacity: .88; }
.auth-main { flex: 1 1 48%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 20px; background: #fff; }
.auth-box { width: 100%; max-width: 400px; }
.auth-box.wide { max-width: 760px; }
.auth-logo { display: block; margin: 0 auto 22px; height: 52px; }
.auth-box h2 { text-align: center; font-size: 22px; margin-bottom: 4px; }
.auth-box .sub { text-align: center; color: var(--ink-2); margin-bottom: 24px; }
.auth-box .sub b { color: var(--brand-d); }
.auth-links { display: flex; justify-content: space-between; margin: -4px 0 18px; font-size: 13.5px; }
.auth-or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; margin: 20px 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-foot { margin-top: 28px; color: var(--ink-3); font-size: 12.5px; text-align: center; }
.auth-foot a { color: var(--ink-2); }
.terms { font-size: 14px; line-height: 1.7; }
.terms h3 { margin-top: 18px; }

/* ───── Trang đối tác ───── */
.top { height: 60px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 20px; gap: 16px; position: sticky; top: 0; z-index: 20; }
.top .logo { height: 34px; }
.top .tt { font-weight: 600; color: var(--ink-2); padding-left: 16px; border-left: 1px solid var(--line); }
.top .sp { flex: 1; }
.top .who { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 6px 8px; border-radius: 8px; border: 0; background: none; font: inherit; color: inherit; }
.top .who:hover { background: #f3f6f8; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-l); color: var(--brand-d); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.who-txt { text-align: left; line-height: 1.25; }
.who-txt b { display: block; font-size: 13.5px; } .who-txt span { font-size: 12px; color: var(--ink-3); }
.menu-btn { display: none; }
.shell { display: flex; min-height: calc(100vh - 60px); }
.side { width: 240px; flex: none; background: #fff; border-right: 1px solid var(--line); padding: 16px 12px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; margin-bottom: 2px; }
.side a:hover { background: #f3f6f8; text-decoration: none; color: var(--ink); }
.side a.on { background: var(--brand-l); color: var(--brand-d); }
.side .sep { height: 1px; background: var(--line); margin: 10px 4px; }
.side .code { margin: 4px 4px 14px; padding: 12px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-d), var(--brand)); color: #fff; }
.side .code span { font-size: 12px; opacity: .85; } .side .code b { display: block; font-size: 20px; letter-spacing: 1px; }
.main { flex: 1; min-width: 0; padding: 24px; max-width: 1200px; }
.ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.ph h1 { margin: 0; } .ph p { margin: 4px 0 0; color: var(--ink-2); }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 16px; }
.hero .card { margin: 0; }
.qr { width: 132px; height: 132px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; flex: none; }
.qr img, .qr canvas { width: 100% !important; height: 100% !important; }
.bal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bal div { background: var(--bg); border-radius: 8px; padding: 12px; }
.bal b { display: block; font-size: 22px; } .bal span { font-size: 12.5px; color: var(--ink-2); }
.rules li { margin-bottom: 6px; }

/* ───── Quản trị ───── */
.atop { height: 56px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 20px; gap: 14px; }
.atop .logo { height: 30px; }
.atop .tt { font-weight: 600; }
.atop .sp { flex: 1; }
.awrap { padding: 18px 20px 40px; max-width: 1480px; margin: 0 auto; }
.tabs { display: flex; flex-wrap: nowrap; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: fit-content; max-width: 100%; margin-bottom: 18px; }
.tabs > :first-child { border-radius: 8px 0 0 8px; }
.tabs > :last-child { border-radius: 0 8px 8px 0; }
/* Nhóm "Thiết lập" trong thanh tab: trông như một tab, bấm ra menu con */
.tabs .tabdd > button { padding: 10px 18px; color: var(--ink); background: none; border: 0; font: inherit; white-space: nowrap; display: flex; gap: 6px; align-items: center; cursor: pointer; height: 100%; }
.tabs .tabdd > button:hover { background: #f8fafb; }
.tabs .tabdd > button.on { color: var(--ok); font-weight: 500; box-shadow: inset 0 -2px 0 var(--ok); }
.tabs .tabdd .dd-menu { right: auto; left: 0; }
.tabs .tabdd .dd-menu a.now { color: var(--ok); font-weight: 500; }
.tabs a { padding: 10px 18px; color: var(--ink); border-right: 1px solid var(--line); white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.tabs a:last-child { border-right: 0; }
.tabs a:hover { background: #f8fafb; text-decoration: none; }
.tabs a.on { color: var(--ok); background: #fff; font-weight: 500; box-shadow: inset 0 -2px 0 var(--ok); }
.tabs .n { background: var(--accent); color: #fff; border-radius: 10px; font-size: 11px; padding: 0 6px; line-height: 17px; font-weight: 600; }
.subtabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.subtabs a { padding: 6px 12px; border-radius: 6px; color: var(--ink-2); border: 1px solid var(--line); background: #fff; }
.subtabs a.on { border-color: var(--brand-d); color: var(--brand-d); background: var(--brand-l); }
.acc { font-weight: 600; }
.acc small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12px; }
.ua { max-width: 230px; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; color: var(--ink-2); }
.foot { text-align: center; color: var(--ink-2); font-size: 12.5px; padding: 18px 0 0; }
.snippet { background: #0f1720; color: #d7e3ee; padding: 14px 16px; border-radius: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; white-space: pre-wrap; word-break: break-all; position: relative; }
.snippet .btn { position: absolute; top: 8px; right: 8px; background: #1f2b38; border-color: #2c3a49; color: #d7e3ee; }
.sec-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; flex-wrap: wrap; }
.sec-tabs a { padding: 9px 14px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.sec-tabs a.on { color: var(--brand-d); border-color: var(--brand-d); font-weight: 500; }
.sec-tabs a:hover { text-decoration: none; }

@media (max-width: 980px) {
  .auth-side { display: none; }
  .hero { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .side { position: fixed; top: 60px; left: 0; bottom: 0; z-index: 25; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 10px 30px rgba(0,0,0,.15); overflow-y: auto; }
  .side.open { transform: none; }
  .main { padding: 16px; }
  .top { padding: 0 12px; gap: 8px; }
  .top .tt, .who-txt { display: none; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; } .kv dd { margin-bottom: 8px; }
  .awrap { padding: 12px 12px 32px; }
  .atop { padding: 0 12px; }
  .tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; }
  .toolbar input, .toolbar select { min-width: 0; flex: 1 1 140px; }
  .stat .vl { font-size: 22px; }
  .bal { grid-template-columns: 1fr 1fr; }
  .bal b { font-size: 18px; }
  .linkrow { flex-direction: column; align-items: stretch !important; }
  .linkrow .qr { align-self: center; }
  .card { padding: 16px; }
}

/* Tab "Giới thiệu nhận thưởng": nhóm sản phẩm + thẻ sản phẩm (25/11/2026, mục 2.5 của khách FAST) */
.ptabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin: 0 0 16px; padding-bottom: 10px; }
.ptab { background: #fff; border: 1px solid var(--line); color: var(--ink-2); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ptab:hover { border-color: var(--brand); color: var(--brand-d); }
.ptab.on { background: var(--brand-l); border-color: var(--brand); color: var(--brand-d); font-weight: 600; }
.ptab .n { background: var(--brand); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; padding: 0 6px; }
.ptab:not(.on) .n { background: #eef1f4; color: var(--ink-2); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.pcard:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.pc-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.pc-img { height: 38px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; flex: none; }
.pc-noimg { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: var(--brand); background: var(--brand-l); border-radius: 8px; }
.pc-name { font-weight: 600; line-height: 1.35; }
.pc-reward { color: var(--brand-d); background: var(--brand-l); border-radius: 8px; padding: 6px 10px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.pc-sum { color: var(--ink-2); font-size: 13px; margin: 0; }
.pc-acts { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.pc-acts .btn { flex: 1; justify-content: center; }
.pc-foot { border-top: 1px dashed var(--line); padding-top: 8px; }
.pm-box { max-width: 560px; position: relative; max-height: 86vh; overflow: auto; }
.pm-x { position: absolute; top: 12px; right: 12px; }
.pm-body { margin-top: 12px; color: var(--ink-2); font-size: 13.5px; }
.pm-body ul, .pm-body ol { padding-left: 18px; margin: 0 0 .6em; }
.pm-box textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 10px; font: inherit; font-size: 13px; resize: vertical; }
