/* ============================================================
   益阳高新区智慧招商平台 — 设计系统
   参考 qingruan_platform/DESIGN.md
   深蓝侧栏 + 纯白内容区 + 对外门户扩展
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Backgrounds */
  --bg: #ffffff;
  --bg-sidebar: #0f1a2e;
  --bg-sidebar-hover: #1a2744;
  --bg-sidebar-active: #1e3355;
  --surface: #f8f9fb;
  --surface-border: #e9ecf1;

  /* Borders */
  --border: #e2e6ed;
  --border-light: #f0f1f3;

  /* Text */
  --text: #1a1d23;
  --text-secondary: #5f6672;
  --text-tertiary: #9299a3;
  --text-sidebar: #a8b8d4;
  --text-sidebar-active: #ffffff;

  /* Accent */
  --accent: #1e5bff;
  --accent-hover: #1545cc;
  --accent-rgb: 30, 91, 255;

  /* Track Colors */
  --track-sense: #3b82f6;      /* 智能感知 - 蓝 */
  --track-vision: #0ca678;     /* 工业视觉 - 绿 */
  --track-equip: #f08c00;      /* 装备智能 - 橙 */
  --track-compute: #8b5cf6;    /* 算力配套 - 紫 */

  /* Semantic */
  --success: #0ca678;
  --warning: #f08c00;
  --error: #e03131;
  --info: #3b82f6;

  /* Shadows */
  --shadow-subtle: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-elevated: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-modal: 0 8px 30px rgba(0,0,0,0.12);

  /* Spacing */
  --section-gap: 20px;
  --card-pad: 16px 20px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
               'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ---------- Layout: Admin Sidebar ---------- */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
  background: var(--bg-sidebar);
  width: 220px; flex-shrink: 0;
  min-height: 100vh;
  padding: 16px 0;
  display: flex; flex-direction: column;
}
.sidebar-brand {
  color: #fff; font-size: 16px; font-weight: 700;
  padding: 8px 20px 24px; letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
}
.sidebar-section { padding: 4px 0; }
.sidebar-label {
  color: var(--text-sidebar); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 12px 20px 4px; opacity: 0.6;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-sidebar); font-size: 13px; font-weight: 500;
  padding: 9px 20px; text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s ease;
}
.sidebar-link:hover {
  background: var(--bg-sidebar-hover);
  color: var(--text-sidebar-active);
  text-decoration: none;
}
.sidebar-link.active {
  background: var(--bg-sidebar-active);
  color: var(--text-sidebar-active);
  border-left-color: var(--accent);
}
.sidebar-link .icon { font-size: 16px; width: 20px; text-align: center; }

/* Sidebar overlay (mobile) */
.sidebar-overlay { display: none; }

/* ---------- Main Content ---------- */
.main-content { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.content-area { padding: 20px 24px; flex: 1; }

/* Topbar */
.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-title { font-size: 15px; font-weight: 600; color: var(--text); }

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { border-color: #cdd3db; }
.card-header {
  padding: 14px 20px; border-bottom: 1px solid var(--border-light);
  font-size: 14px; font-weight: 600; color: var(--text);
  background: transparent;
  display: flex; align-items: center; justify-content: space-between;
}
.card-body { padding: 16px 20px; }

/* ---------- KPI Stat Cards ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: var(--section-gap); }
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 18px 20px;
  box-shadow: var(--shadow-subtle);
}
.stat-value {
  font-size: 28px; font-weight: 700; color: var(--text);
  line-height: 1.2; font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 12px; color: var(--text-tertiary);
  margin-top: 4px; font-weight: 500;
}
.stat-sub {
  font-size: 11px; color: var(--text-tertiary); margin-top: 2px;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table {
  font-size: 13px; border-collapse: collapse; width: 100%;
}
.table thead th {
  font-size: 11px; font-weight: 600; color: var(--text-tertiary);
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 10px 14px; border-bottom: 2px solid var(--border);
  background: var(--surface); white-space: nowrap;
}
.table tbody td {
  padding: 10px 14px; border-bottom: 1px solid var(--border-light);
  color: var(--text); vertical-align: middle;
}
.table tbody tr:hover { background: #f5f7fa; }
.table .amount { font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 4px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.01em;
  white-space: nowrap;
}
.badge-primary { background: #e8efff; color: var(--accent); }
.badge-success { background: #e6f7f1; color: var(--success); }
.badge-warning { background: #fff4e6; color: var(--warning); }
.badge-danger  { background: #ffe9e9; color: var(--error); }
.badge-neutral { background: #f1f3f5; color: var(--text-secondary); }
.badge-info    { background: #e8f0fe; color: var(--info); }

/* Track badges */
.badge-track-sense   { background: #e8f0fe; color: var(--track-sense); }
.badge-track-vision  { background: #e6f7f1; color: var(--track-vision); }
.badge-track-equip   { background: #fff4e6; color: var(--track-equip); }
.badge-track-compute { background: #f0ebff; color: var(--track-compute); }

/* Stage badges */
.badge-stage-lead    { background: #f1f3f5; color: var(--text-secondary); }
.badge-stage-negotiate { background: #fff4e6; color: var(--warning); }
.badge-stage-sign    { background: #e8efff; color: var(--accent); }
.badge-stage-settle  { background: #e6f7f1; color: var(--success); }
.badge-stage-produce { background: #e6f7f1; color: #099268; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; font-size: 13px; font-weight: 500;
  border-radius: 6px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.12s ease;
  text-decoration: none; line-height: 1.4;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); text-decoration: none; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text-secondary); }
.btn-outline:hover { border-color: #b0b8c1; color: var(--text); background: var(--surface); text-decoration: none; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-xs { padding: 3px 8px; font-size: 11px; border-radius: 4px; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { background: #c92a2a; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-secondary); margin-bottom: 5px;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.form-control {
  width: 100%; padding: 8px 12px; font-size: 13px;
  border: 1px solid var(--border); border-radius: 6px;
  transition: border-color 0.15s;
  background: var(--bg); color: var(--text);
}
.form-control:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }

/* ---------- Nav Tabs ---------- */
.nav-tabs {
  border-bottom: 2px solid var(--border-light);
  display: flex; gap: 0; margin-bottom: 20px;
}
.nav-tabs .nav-link {
  padding: 10px 18px; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all 0.12s ease;
  text-decoration: none; cursor: pointer;
}
.nav-tabs .nav-link:hover { color: var(--text); text-decoration: none; }
.nav-tabs .nav-link.active {
  color: var(--accent); border-bottom-color: var(--accent); font-weight: 600;
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-bar .form-control { width: auto; min-width: 140px; }

/* ---------- Pagination ---------- */
.pagination {
  display: flex; gap: 4px; list-style: none;
  padding: 16px 0 0; justify-content: center;
}
.pagination .page-link {
  display: flex; align-items: center; justify-content: center;
  min-width: 32px; height: 32px; padding: 0 8px;
  font-size: 13px; border: 1px solid var(--border);
  border-radius: 6px; color: var(--text-secondary);
  transition: all 0.12s; text-decoration: none;
}
.pagination .page-link:hover { background: var(--surface); text-decoration: none; }
.pagination .active .page-link {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ---------- Modal ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 1050; }
.modal.show { display: flex; align-items: center; justify-content: center; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  animation: fadeIn 0.2s ease;
}
.modal-dialog {
  position: relative; background: var(--bg);
  border-radius: 10px; box-shadow: var(--shadow-modal);
  width: 560px; max-width: 90vw; max-height: 85vh;
  display: flex; flex-direction: column;
  animation: modalSlideIn 0.2s ease;
}
.modal-header {
  padding: 16px 20px; border-bottom: 1px solid var(--border-light);
  font-size: 15px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-close {
  background: none; border: none; font-size: 20px;
  color: var(--text-tertiary); cursor: pointer; padding: 4px;
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 20px; overflow-y: auto; flex: 1; }
.modal-footer {
  padding: 12px 20px; border-top: 1px solid var(--border-light);
  display: flex; justify-content: flex-end; gap: 8px;
}

/* ---------- Kanban Board ---------- */
.kanban-board {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  min-height: 400px; overflow-x: auto;
}
.kanban-col {
  background: var(--surface); border-radius: 8px;
  border: 1px solid var(--border-light); padding: 10px;
}
.kanban-col-header {
  font-size: 13px; font-weight: 600; color: var(--text);
  padding: 4px 6px 10px; display: flex; justify-content: space-between;
}
.kanban-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: 10px 12px; margin-bottom: 8px;
  font-size: 13px; cursor: pointer;
  transition: box-shadow 0.12s; box-shadow: var(--shadow-subtle);
}
.kanban-card:hover { border-color: #b0b8c1; }
.kanban-card .card-title { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.kanban-card .card-meta { font-size: 11px; color: var(--text-tertiary); }

/* ---------- Flash Messages ---------- */
.flash-msg {
  padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 8px;
}
.flash-error   { background: #ffe9e9; color: var(--error); border: 1px solid #fdd; }
.flash-success { background: #e6f7f1; color: var(--success); border: 1px solid #d4f0e4; }
.flash-warning { background: #fff4e6; color: var(--warning); border: 1px solid #ffe0b2; }

/* ---------- Map Container ---------- */
.map-container {
  width: 100%; height: 400px; border-radius: 8px;
  border: 1px solid var(--border); overflow: hidden;
}

/* ---------- Chain Graph Container ---------- */
.chain-graph {
  width: 100%; height: 550px;
  border: 1px solid var(--border); border-radius: 8px;
}

/* ---------- Timeline ---------- */
.timeline { padding-left: 20px; border-left: 2px solid var(--border-light); }
.timeline-item { position: relative; padding: 0 0 18px 20px; }
.timeline-item::before {
  content: ''; position: absolute; left: -26px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); border: 2px solid var(--bg);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-date { font-size: 11px; color: var(--text-tertiary); margin-bottom: 2px; }
.timeline-content { font-size: 13px; color: var(--text); }

/* ---------- Utility ---------- */
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.me-1 { margin-right: 4px; }
.me-2 { margin-right: 8px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 20px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 20px; }
.text-secondary { color: var(--text-secondary); }
.text-tertiary  { color: var(--text-tertiary); }
.text-success   { color: var(--success); }
.text-warning   { color: var(--warning); }
.text-error     { color: var(--error); }
.small { font-size: 12px; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.fw-600 { font-weight: 600; }
.w-full { width: 100%; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hidden { display: none; }

/* ---------- Portal (对外展示前台) ---------- */
.portal-nav {
  background: var(--bg-sidebar); position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.portal-nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.portal-brand {
  color: #fff; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.portal-brand:hover { text-decoration: none; }
.portal-nav-links { display: flex; align-items: center; gap: 24px; }
.portal-nav-links a {
  color: var(--text-sidebar); font-size: 14px; font-weight: 500;
  transition: color 0.15s; text-decoration: none;
}
.portal-nav-links a:hover, .portal-nav-links a.active { color: #fff; text-decoration: none; }
.portal-nav-links .btn-primary { color: #fff; }

.portal-menu-btn {
  display: none; background: none; border: none;
  color: #fff; font-size: 24px; cursor: pointer;
}

.portal-content { min-height: calc(100vh - 56px); }

/* Portal Hero */
.portal-hero {
  background: linear-gradient(135deg, #0f1a2e 0%, #1a3350 50%, #1a2744 100%);
  padding: 80px 24px; text-align: center; color: #fff;
}
.portal-hero h1 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.portal-hero p { font-size: 16px; color: #a8b8d4; max-width: 640px; margin: 0 auto 24px; line-height: 1.8; }
.portal-hero .hero-stats {
  display: flex; justify-content: center; gap: 40px; margin-top: 32px;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 32px; font-weight: 700; }
.hero-stat .lbl { font-size: 13px; color: #a8b8d4; margin-top: 4px; }

/* Portal Sections */
.portal-section {
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
}
.portal-section h2 {
  font-size: 24px; font-weight: 700; color: var(--text);
  text-align: center; margin-bottom: 8px;
}
.portal-section .section-desc {
  text-align: center; font-size: 14px; color: var(--text-tertiary);
  margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* Track Cards */
.track-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.track-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 28px 20px; text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: default;
}
.track-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }
.track-card .track-icon { font-size: 36px; margin-bottom: 12px; }
.track-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.track-card p { font-size: 13px; color: var(--text-tertiary); line-height: 1.6; }

/* Space Cards */
.space-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.space-card { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.space-card-header {
  padding: 16px 20px; font-weight: 600; font-size: 15px;
  border-bottom: 1px solid var(--border-light);
  display: flex; justify-content: space-between; align-items: center;
}
.space-card-body { padding: 16px 20px; }
.space-card-body .param { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--text-secondary); border-bottom: 1px solid var(--border-light); }
.space-card-body .param:last-child { border-bottom: none; }
.space-card-body .param span:first-child { color: var(--text-tertiary); }

/* Policy Cards */
.policy-card {
  border: 1px solid var(--border); border-radius: 8px; padding: 20px;
  margin-bottom: 12px; transition: border-color 0.15s;
}
.policy-card:hover { border-color: #b0b8c1; }
.policy-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.policy-card .meta { font-size: 12px; color: var(--text-tertiary); margin-bottom: 8px; }
.policy-card .summary { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* Contact Form */
.contact-form-wrap {
  max-width: 520px; margin: 0 auto;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 32px; box-shadow: var(--shadow-subtle);
}

/* Portal Footer */
.portal-footer {
  background: var(--bg-sidebar); color: var(--text-sidebar);
  padding: 48px 24px 24px;
}
.portal-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
.portal-footer-inner h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.portal-footer-inner p, .portal-footer-inner a { font-size: 13px; line-height: 1.8; color: var(--text-sidebar); display: block; }
.portal-footer-inner a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 1200px; margin: 24px auto 0; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px; color: var(--text-sidebar); text-align: center;
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.fade-in { animation: fadeIn 0.3s ease-out; }

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f1f3 25%, #e4e6ea 50%, #f0f1f3 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .kanban-board { grid-template-columns: repeat(3, 1fr); }
  .track-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sidebar { position: fixed; z-index: 1000; transform: translateX(-100%); transition: transform 0.2s ease; width: 220px; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 999; }
  .content-area { padding: 12px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .kanban-board { grid-template-columns: 1fr; }
  .stat-value { font-size: 24px; }
  .modal-dialog { width: 95vw; margin: 12px; }

  .portal-nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--bg-sidebar); flex-direction: column; padding: 16px; gap: 8px; }
  .portal-nav-links.open { display: flex; }
  .portal-menu-btn { display: block; }
  .portal-hero h1 { font-size: 24px; }
  .portal-hero .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat .num { font-size: 24px; }
  .track-cards { grid-template-columns: 1fr; }
  .portal-footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .space-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== 供应商专区扩展样式 ===== */
.badge-accent { background: var(--accent); color: #fff; }
.col-span-full { grid-column: 1 / -1; }
.form-select { display: block; width: 100%; padding: 8px 12px; font-size: 13px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text); }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text-secondary); margin-bottom: 4px; }
.ms-1 { margin-left: 4px; }
.ms-2 { margin-left: 8px; }
.mx-2 { margin-left: 8px; margin-right: 8px; }
.flex-wrap { flex-wrap: wrap; }
.align-items-start { align-items: flex-start; }
.text-muted { color: var(--text-tertiary); }
.text-danger { color: var(--error); }
.row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.col-md-2 { flex: 0 0 16.666%; max-width: 16.666%; padding: 0 8px; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; padding: 0 8px; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; padding: 0 8px; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; padding: 0 8px; }
.col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; padding: 0 8px; }
.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 8px; }
@media (max-width: 768px) {
  .col-md-2, .col-md-3, .col-md-4, .col-md-6, .col-md-8 { flex: 0 0 100%; max-width: 100%; }
}
.border-bottom { border-bottom: 1px solid var(--border); }
.rounded { border-radius: 8px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.text-start { text-align: left; }
.text-end { text-align: right; }
.text-nowrap { white-space: nowrap; }
.fw-medium { font-weight: 500; }
.fw-bold { font-weight: 700; }
.fs-6 { font-size: 14px; }
.w-100 { width: 100%; }
.border { border: 1px solid var(--border); }
.border-start { border-left: 3px solid var(--accent); }
.table-light { background: #f8f9fa; }
.table-hover tbody tr:hover { background: #f5f7fa; }
.pe-0 { padding-right: 0; }
.ps-0 { padding-left: 0; }
.pb-0 { padding-bottom: 0; }
.pt-0 { padding-top: 0; }
