/* BVote — giao diện chính, phong cách bvote.vn:
   xanh lá #00b24e + navy #202e46, font hiển thị Phudu, nền #f7f9fc */
:root {
  --primary: #00b24e;
  --primary-dark: #009444;
  --primary-light: #e6f9ee;
  --accent: #f65f04;
  --gold: #feb300;
  --navy: #202e46;
  --text: #202e46;
  --muted: #7d80a3;
  --border: #d6dce7;
  --bg: #f7f9fc;
  --ok-bg: #e6f9ee;  --ok-text: #00733a;  --ok-border: #a8ebc6;
  --err-bg: #fef2f2; --err-text: #991b1b; --err-border: #fecaca;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(32,46,70,.06), 0 6px 18px rgba(32,46,70,.06);
  --shadow-hover: 0 4px 10px rgba(32,46,70,.08), 0 12px 28px rgba(32,46,70,.10);
  --font-display: "Phudu", "Be Vietnam Pro", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65; min-height: 100vh;
  display: flex; flex-direction: column;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy); line-height: 1.25; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; width: 100%; }
main.container { flex: 1; padding-top: 28px; padding-bottom: 56px; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Topbar */
.topbar { background: #fff; border-bottom: 1px solid #e8edf5; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 8px rgba(32,46,70,.04); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); letter-spacing: .01em; }
.brand span { color: var(--primary); }
.brand:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--navy); font-weight: 500; }
.nav a:hover { color: var(--primary-dark); text-decoration: none; }
.inline { display: inline; }
.linklike { background: none; border: none; color: var(--muted); cursor: pointer; font: inherit; }
.linklike:hover { color: var(--navy); }

/* Buttons — kiểu pill của bvote.vn */
.btn {
  display: inline-block; border: none; cursor: pointer; font: inherit; font-weight: 600;
  border-radius: 999px; padding: 11px 26px; transition: all .18s; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff !important; box-shadow: 0 4px 14px rgba(0,178,78,.30); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,178,78,.38); }
.btn-accent { background: var(--accent); color: #fff !important; box-shadow: 0 4px 14px rgba(246,95,4,.28); }
.btn-accent:hover { filter: brightness(.94); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--primary-dark); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-danger { background: #fff; color: #dc2626; border: 1.5px solid #fca5a5; }
.btn-danger:hover { background: #fef2f2; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-lg { padding: 15px 36px; font-size: 1.08rem; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* Flash */
.flash { padding: 13px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; }
.flash-ok { background: var(--ok-bg); color: var(--ok-text); border: 1px solid var(--ok-border); }
.flash-err { background: var(--err-bg); color: var(--err-text); border: 1px solid var(--err-border); }

/* Cards */
.card { background: #fff; border: 1px solid #e8edf5; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.card + .card { margin-top: 20px; }
.card h2 { margin-bottom: 14px; font-size: 1.25rem; }

/* Hero trang chủ — gradient trắng -> xám nhạt kiểu bvote.vn */
.hero { text-align: center; padding: 64px 20px 46px; background: linear-gradient(180deg, #fff, var(--bg)); border-radius: 0 0 28px 28px; margin: -28px -20px 8px; }
.hero h1 { font-size: 3rem; margin-bottom: 18px; font-weight: 700; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero p { color: var(--muted); font-size: 1.18rem; max-width: 660px; margin: 0 auto 30px; }
.hero .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 40px 0; }
.feature { background: #fff; border: 1px solid #e8edf5; border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); transition: all .18s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.feature .icon {
  font-size: 1.6rem; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); border-radius: 14px; margin-bottom: 12px;
}
.feature h3 { margin: 8px 0 6px; font-size: 1.05rem; }
.feature p { color: var(--muted); font-size: .93rem; }

/* Poll grid */
.poll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.poll-card {
  background: #fff; border: 1px solid #e8edf5; border-radius: 16px; padding: 22px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 9px; transition: all .18s;
}
.poll-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.poll-card h3 { font-size: 1.12rem; }
.poll-card h3 a { color: var(--navy); }
.poll-card .meta { color: var(--muted); font-size: .88rem; display: flex; gap: 12px; flex-wrap: wrap; }
.poll-card .desc { color: var(--muted); font-size: .93rem; flex: 1; }
.badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); border-radius: 999px; padding: 3px 13px; font-size: .8rem; font-weight: 600; }
.badge-green { background: var(--ok-bg); color: var(--ok-text); }
.badge-gray { background: #eef1f6; color: var(--muted); }

/* Forms */
.form-narrow { max-width: 460px; margin: 0 auto; }
.form-wide { max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; color: var(--navy); }
.field .hint { color: var(--muted); font-size: .85rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=url],
input[type=datetime-local], input[type=number], select, textarea {
  width: 100%; padding: 11px 15px; border: 1.5px solid var(--border); border-radius: 10px;
  font: inherit; background: #fff; transition: all .15s; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,178,78,.12); }
textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-cards { display: grid; gap: 10px; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--border); border-radius: 12px; padding: 13px 15px; cursor: pointer; background: #fff; transition: all .15s; }
.radio-card:has(input:checked) { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 3px rgba(0,178,78,.10); }
.radio-card input { margin-top: 4px; accent-color: var(--primary); }
.radio-card b { display: block; color: var(--navy); }
.radio-card small { color: var(--muted); }

/* Domain preview */
.domain-preview {
  background: var(--primary-light); border: 1.5px dashed var(--primary); border-radius: 12px;
  padding: 13px 16px; font-family: ui-monospace, monospace; font-size: 1.05rem; color: var(--primary-dark); font-weight: 600;
}

/* Contestant vote cards */
.contestant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.contestant-card {
  background: #fff; border: 1px solid #e8edf5; border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: all .18s;
}
.contestant-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.contestant-card .photo { width: 100%; height: 220px; object-fit: cover; background: #eef1f6; display: block; }
.contestant-card .photo-placeholder { background: linear-gradient(135deg, #e6f9ee, #d7f3e3); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.contestant-card .body { padding: 17px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.contestant-card h3 { font-size: 1.08rem; }
.contestant-card .desc { color: var(--muted); font-size: .9rem; flex: 1; }
.contestant-card .votes { font-weight: 700; color: var(--primary-dark); }

/* Results bars */
.result-row { margin-bottom: 18px; }
.result-row .label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 5px; }
.result-row .label .count { color: var(--muted); font-weight: 500; }
.result-bar { background: #eef1f6; border-radius: 999px; height: 16px; overflow: hidden; }
.result-bar .fill { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); height: 100%; border-radius: 999px; transition: width .6s ease; min-width: 2px; }
.result-row.winner .fill { background: linear-gradient(90deg, #e08800, var(--gold)); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid #e8edf5; border-radius: var(--radius); padding: 18px 16px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.stat .lbl { color: var(--muted); font-size: .85rem; }

/* Tables */
table.list { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.list th, table.list td { padding: 13px 15px; text-align: left; border-bottom: 1px solid #e8edf5; }
table.list th { background: #f7f9fc; font-size: .82rem; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
table.list tr:last-child td { border-bottom: none; }

/* Page head */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head h1 { font-size: 1.7rem; }
.subtle { color: var(--muted); }

/* Footer — navy đậm kiểu doanh nghiệp */
.footer { background: var(--navy); color: #93a1b8; padding: 26px 0; font-size: .9rem; text-align: center; margin-top: auto; }
.footer b { color: #fff; }

/* Empty state */
.empty { text-align: center; padding: 52px 20px; color: var(--muted); }
.empty .big { font-size: 3rem; margin-bottom: 10px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 44px 16px 34px; }
  .field-row { grid-template-columns: 1fr; }
  .nav { gap: 10px; font-size: .92rem; }
}

/* ============================================================
   THEME THEO LOẠI BÌNH CHỌN
   Mỗi loại (poll_type) có một giao diện riêng: màu chủ đạo,
   hero banner, kiểu thẻ thí sinh. Class: .pollpage.theme-<code>
   ============================================================ */

/* --- Hero banner dùng chung --- */
.poll-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 18px; padding: 44px 28px 36px;
  text-align: center; margin-bottom: 26px; position: relative; overflow: hidden;
}
.poll-hero .hero-icon { font-size: 3.2rem; margin-bottom: 8px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.25)); }
.poll-hero h1 { font-size: 2.1rem; line-height: 1.25; }
.poll-hero .hero-desc { margin: 12px auto 0; max-width: 640px; opacity: .92; }
.poll-hero .hero-badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.hbadge {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(4px); color: #fff; border-radius: 999px;
  padding: 4px 14px; font-size: .85rem; font-weight: 600;
}
.hbadge-live { background: rgba(16,185,129,.35); border-color: rgba(110,231,183,.6); }
.hero-link { color: #fff; font-weight: 700; text-decoration: underline; }
.poll-hero-sm { padding: 30px 24px 26px; }
.poll-hero-sm h1 { font-size: 1.6rem; }

/* Trong .pollpage, các component (nút, badge, thanh kết quả) tự ăn màu theme
   nhờ ghi đè biến --primary/--primary-dark/--primary-light theo từng theme. */

/* --- 👑 pageant: sang trọng hồng–tím, ảnh chân dung cao, tiêu đề serif --- */
.theme-pageant { --primary: #db2777; --primary-dark: #9d174d; --primary-light: #fdf2f8; }
.theme-pageant .poll-hero { background: linear-gradient(135deg, #ec4899, #8b5cf6 65%, #6d28d9); }
.theme-pageant .poll-hero h1 { font-family: Georgia, "Times New Roman", serif; letter-spacing: .02em; }
.theme-pageant .contestant-card { border-radius: 18px; }
.theme-pageant .contestant-card .photo { height: 300px; }
.theme-pageant .contestant-card h3 { text-align: center; font-family: Georgia, serif; font-size: 1.15rem; }
.theme-pageant .contestant-card .votes { text-align: center; }
.theme-pageant .result-row.winner .fill { background: linear-gradient(90deg, #d97706, #fbbf24); }

/* --- 🏢 company: xanh corporate, vuông vắn, gọn gàng --- */
.theme-company { --primary: #0369a1; --primary-dark: #075985; --primary-light: #f0f9ff; }
.theme-company .poll-hero { background: linear-gradient(120deg, #0c4a6e, #0369a1 70%, #0284c7); border-radius: 8px; }
.theme-company .contestant-card { border-radius: 8px; }
.theme-company .contestant-card .photo { height: 160px; object-fit: contain; background: #f8fafc; padding: 14px; }
.theme-company .contestant-card h3 { text-transform: uppercase; font-size: .98rem; letter-spacing: .04em; }
.theme-company .btn { border-radius: 6px; }

/* --- 📦 product: cam thương mại, thẻ gọn kiểu gian hàng --- */
.theme-product { --primary: #ea580c; --primary-dark: #c2410c; --primary-light: #fff7ed; }
.theme-product .poll-hero { background: linear-gradient(135deg, #f97316, #ea580c 60%, #b45309); }
.theme-product .contestant-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.theme-product .contestant-card .photo { height: 180px; object-fit: contain; background: #fff; padding: 10px; }
.theme-product .btn { border-radius: 999px; }

/* --- 🧑‍💼 employee: teal, avatar tròn như thẻ nhân viên --- */
.theme-employee { --primary: #0d9488; --primary-dark: #0f766e; --primary-light: #f0fdfa; }
.theme-employee .poll-hero { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.theme-employee .contestant-card { text-align: center; padding-top: 22px; }
.theme-employee .contestant-card .photo {
  width: 140px; height: 140px; border-radius: 50%; margin: 0 auto;
  border: 4px solid var(--primary-light); box-shadow: 0 2px 10px rgba(13,148,136,.25);
  font-size: 2.6rem;
}
.theme-employee .contestant-card h3 { margin-top: 4px; }

/* --- 🎤 music: tím neon, thẻ nền tối kiểu sân khấu --- */
.theme-music { --primary: #7c3aed; --primary-dark: #5b21b6; --primary-light: #f5f3ff; }
.theme-music .poll-hero { background: linear-gradient(135deg, #1e1b4b, #5b21b6 55%, #a21caf); }
.theme-music .contestant-card { background: #17153a; border-color: #312e81; }
.theme-music .contestant-card h3 { color: #f5f3ff; }
.theme-music .contestant-card .desc { color: #a5b4fc; }
.theme-music .contestant-card .votes { color: #c4b5fd; }
.theme-music .contestant-card .photo-placeholder { background: linear-gradient(135deg, #312e81, #6d28d9); }
.theme-music .btn-primary { background: linear-gradient(90deg, #8b5cf6, #d946ef); }
.theme-music .btn-outline { background: transparent; color: #c4b5fd; border-color: #6d28d9; }

/* --- ⚽ sports: xanh lá năng động, kết quả kiểu bảng tỉ số --- */
.theme-sports { --primary: #16a34a; --primary-dark: #15803d; --primary-light: #f0fdf4; }
.theme-sports .poll-hero { background: repeating-linear-gradient(120deg, #15803d, #15803d 60px, #16a34a 60px, #16a34a 120px); }
.theme-sports .poll-hero h1 { text-transform: uppercase; letter-spacing: .05em; font-weight: 900; }
.theme-sports .contestant-card h3 { text-transform: uppercase; }
.theme-sports .result-bar { height: 24px; border-radius: 6px; }
.theme-sports .result-row .label .count { font-family: ui-monospace, monospace; }
.theme-sports .stat .num { font-family: ui-monospace, monospace; }

/* --- 🍜 food: đỏ–cam ấm áp --- */
.theme-food { --primary: #dc2626; --primary-dark: #b91c1c; --primary-light: #fef2f2; }
.theme-food .poll-hero { background: linear-gradient(135deg, #f59e0b, #dc2626); }
.theme-food .contestant-card { border-radius: 20px; }
.theme-food .contestant-card .photo { height: 200px; }
.theme-food .contestant-card .photo-placeholder { background: linear-gradient(135deg, #fef3c7, #fee2e2); }
.theme-food .btn { border-radius: 999px; }

/* --- 📸 photo: gallery nền tối, ảnh lớn là trung tâm --- */
.theme-photo { --primary: #404040; --primary-dark: #171717; --primary-light: #fafafa; }
.theme-photo .poll-hero { background: linear-gradient(160deg, #0a0a0a, #262626 70%, #404040); }
.theme-photo .contestant-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.theme-photo .contestant-card { background: #171717; border-color: #262626; }
.theme-photo .contestant-card .photo { height: 280px; }
.theme-photo .contestant-card .photo-placeholder { background: linear-gradient(135deg, #262626, #404040); }
.theme-photo .contestant-card h3 { color: #fafafa; font-weight: 500; }
.theme-photo .contestant-card .desc { color: #a3a3a3; }
.theme-photo .contestant-card .votes { color: #e5e5e5; }
.theme-photo .btn-primary { background: #fafafa; color: #171717 !important; }
.theme-photo .btn-primary:hover { background: #d4d4d4; }
.theme-photo .btn-outline { background: transparent; color: #d4d4d4; border-color: #525252; }

/* --- 🎓 education: xanh dương học đường, thẻ kiểu vở kẻ dòng --- */
.theme-education { --primary: #2563eb; --primary-dark: #1d4ed8; --primary-light: #eff6ff; }
.theme-education .poll-hero { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.theme-education .contestant-card { border-left: 5px solid var(--primary); }
.theme-education .contestant-card .photo { height: 190px; }

/* --- 🐾 pet: vàng cam vui nhộn, bo tròn mềm mại --- */
.theme-pet { --primary: #d97706; --primary-dark: #b45309; --primary-light: #fffbeb; }
.theme-pet .poll-hero { background: linear-gradient(135deg, #fbbf24, #f59e0b 60%, #ea580c); }
.theme-pet .contestant-card { border-radius: 26px; }
.theme-pet .contestant-card .photo { height: 230px; }
.theme-pet .contestant-card .photo-placeholder { font-size: 4.2rem; background: linear-gradient(135deg, #fef3c7, #ffedd5); }
.theme-pet .btn { border-radius: 999px; font-weight: 800; }

/* --- 💡 idea: vàng sáng tạo, thẻ viền nét đứt như bản phác thảo --- */
.theme-idea { --primary: #ca8a04; --primary-dark: #a16207; --primary-light: #fefce8; }
.theme-idea .poll-hero { background: linear-gradient(135deg, #713f12, #ca8a04 70%, #eab308); }
.theme-idea .contestant-card { border: 2px dashed #d4c48a; box-shadow: none; }
.theme-idea .contestant-card .photo { height: 170px; }
.theme-idea .contestant-card .photo-placeholder { background: #fefce8; }

/* --- 🗳️ other: giữ màu mặc định indigo --- */
.theme-other .poll-hero { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }

@media (max-width: 640px) {
  .poll-hero h1 { font-size: 1.5rem; }
  .poll-hero { padding: 30px 18px 26px; }
}

/* Nút đăng nhập Google + divider */
.btn-google {
  background: #fff; color: var(--navy) !important; border: 1.5px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-google:hover { background: #f7f9fc; border-color: #b9c3d4; }
.btn-google svg { flex: 0 0 auto; }
.divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: .85rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Thanh chia sẻ + mã QR */
.share-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: #fff; border: 1px solid #e8edf5; border-radius: var(--radius);
  padding: 12px 18px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.share-label { font-weight: 700; color: var(--navy); }
.qr-details { position: relative; }
.qr-details summary {
  list-style: none; cursor: pointer; display: inline-block;
  border: 1.5px solid var(--primary); color: var(--primary-dark); background: #fff;
  border-radius: 999px; padding: 8px 18px; font-size: .9rem; font-weight: 600;
}
.qr-details summary::-webkit-details-marker { display: none; }
.qr-details[open] summary { background: var(--primary-light); }
.qr-box {
  position: absolute; z-index: 20; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid #e8edf5; border-radius: 14px;
  box-shadow: var(--shadow-hover); padding: 16px; text-align: center; width: 236px;
}
.qr-box img { border-radius: 8px; }
.manage-share { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.qr-side { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.qr-side img { border: 1px solid #e8edf5; border-radius: 10px; }

/* Mục tùy chọn nâng cao (thu gọn) trong form */
details.adv { border: 1.5px dashed var(--border); border-radius: 12px; padding: 0; margin-bottom: 18px; }
details.adv summary { cursor: pointer; padding: 13px 16px; font-weight: 600; color: var(--muted); list-style: none; }
details.adv summary::-webkit-details-marker { display: none; }
details.adv summary:hover { color: var(--navy); }
details.adv[open] { border-style: solid; }
details.adv[open] summary { border-bottom: 1px solid var(--border); margin-bottom: 14px; color: var(--navy); }
details.adv .adv-body { padding: 0 16px 6px; }

/* Khu quản trị */
.admin-search { display: flex; gap: 10px; margin-bottom: 18px; max-width: 520px; }
.admin-actions form { display: flex; gap: 6px; flex-wrap: wrap; }
.pager { display: flex; gap: 10px; margin-top: 16px; }
.mini-chart { display: flex; align-items: flex-end; gap: 5px; height: 120px; }
.mini-chart .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 4px; }
.mini-chart .b { width: 100%; background: linear-gradient(180deg, var(--primary), var(--primary-dark)); border-radius: 4px 4px 0 0; min-height: 2px; }
.mini-chart .b2 { background: linear-gradient(180deg, #60a5fa, #2563eb); }
.mini-chart span { font-size: .62rem; color: var(--muted); transform: rotate(-45deg); white-space: nowrap; }
