/* ==========================================================
   DaigouPro — 营销站样式
   深墨蓝 + 橙 CTA + 青绿信任元素，SaaS 级质感
   ========================================================== */

:root {
  --ink:        #0f1c2e;
  --ink-soft:   #33465c;
  --body:       #4b5c70;
  --line:       #e4e9f0;
  --bg:         #f8fafc;
  --card:       #ffffff;
  --brand:      #f97316;
  --brand-dark: #ea580c;
  --green:      #0e9488;
  --green-soft: #e6f6f4;
  --orange-soft:#fff4ea;
  --radius:     16px;
  --shadow:     0 10px 30px rgba(15, 28, 46, .08);
  --shadow-lg:  0 24px 60px rgba(15, 28, 46, .14);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }

.container { width: min(1140px, 92%); margin: 0 auto; }
.muted  { color: var(--body); }
.center { text-align: center; }

h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
.section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 12px; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px;
  font-weight: 600; font-size: .98rem; transition: all .18s ease; cursor: pointer;
  border: 0; font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(249,115,22,.35); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .9rem; border-radius: 10px; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem; color: var(--brand);
}
.brand-name { font-weight: 800; font-size: 1.05rem; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name em { font-style: normal; font-weight: 500; font-size: .68rem; color: var(--body); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink-soft); font-weight: 500; font-size: .95rem; }
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(249,115,22,.18), transparent 60%),
    radial-gradient(500px 300px at 10% 90%, rgba(14,148,136,.16), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 96px 0 88px; }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--brand); }
.hero-sub { color: #b9c6d6; font-size: 1.12rem; margin: 18px 0 30px; max-width: 500px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: #b9c6d6; }
.hero-trust svg { color: var(--green); flex: none; }

/* Hero visual — 订单卡片堆叠 */
.hero-visual { position: relative; min-height: 420px; }
.order-card {
  position: absolute; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 18px; backdrop-filter: blur(6px); width: 86%; box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.order-card .oc-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #8fa2b8; font-weight: 700; }
.order-card .oc-body { margin-top: 10px; font-size: .95rem; }
.order-card .oc-foot { margin-top: 12px; font-size: .8rem; color: #b9c6d6; }
.oc-progress { height: 6px; background: rgba(255,255,255,.12); border-radius: 6px; margin-top: 10px; overflow: hidden; }
.oc-progress i { display: block; height: 100%; border-radius: 6px; background: var(--brand); }
.oc-price { display: flex; justify-content: space-between; font-size: .85rem; margin-top: 10px; }
.oc-qc { display: flex; align-items: center; gap: 8px; color: #6ee7b7; font-weight: 600; }
.oc-badge {
  position: absolute; top: -10px; right: 14px; background: var(--brand); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 30px; letter-spacing: .04em;
}
.order-card:nth-child(1) { top: 0; left: 0; animation: float 6s ease-in-out infinite; }
.order-card:nth-child(2) { top: 118px; left: 7%; animation: float 6s ease-in-out 1.5s infinite; }
.order-card:nth-child(3) { top: 236px; left: 14%; animation: float 6s ease-in-out 3s infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust bar ---------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.trust-item { display: flex; gap: 14px; align-items: center; }
.trust-item .t-num { font-size: 1.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.trust-item .t-lbl { font-size: .84rem; color: var(--body); margin-top: 3px; }
.trust-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--orange-soft); color: var(--brand);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); position: relative; transition: transform .2s ease; }
.step:hover { transform: translateY(-4px); }
.step-num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--brand); font-weight: 800; font-size: 1.05rem; margin-bottom: 20px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--body); font-size: .95rem; }

/* ---------- Category cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--orange-soft); color: var(--brand);
}
.card.green .card-ico { background: var(--green-soft); color: var(--green); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--body); font-size: .94rem; }
.card .tag {
  display: inline-block; margin-top: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--green);
}

/* ---------- Features ---------- */
.features { background: #fff; border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; }
.feature { display: flex; gap: 16px; }
.feature .f-ico {
  width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
}
.feature h3 { font-size: 1.02rem; }
.feature p { color: var(--body); font-size: .92rem; margin-top: 4px; }

/* ---------- Reviews ---------- */
.review { display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: var(--brand); letter-spacing: 2px; }
.review blockquote { font-size: .96rem; color: var(--ink-soft); font-style: normal; }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review .avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .9rem; flex: none;
}
.review .who { font-weight: 600; font-size: .88rem; }
.review .where { font-size: .78rem; color: var(--body); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; display: flex; flex-direction: column; position: relative; }
.price-card.popular { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-card .p-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .74rem; font-weight: 700; padding: 5px 14px; border-radius: 30px; letter-spacing: .05em; }
.price-card .p-name { font-weight: 700; color: var(--ink-soft); }
.price-card .p-price { font-size: 1.9rem; font-weight: 800; margin: 10px 0 4px; letter-spacing: -.01em; }
.price-card .p-price small { font-size: .9rem; font-weight: 500; color: var(--body); }
.price-card .p-desc { color: var(--body); font-size: .9rem; margin-bottom: 18px; }
.price-card ul { list-style: none; margin-bottom: 24px; }
.price-card li { padding-left: 26px; position: relative; color: var(--ink-soft); font-size: .93rem; margin-bottom: 10px; }
.price-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800;
}
.price-card .btn { margin-top: auto; text-align: center; }

/* ---------- Quote formula ---------- */
.formula { background: var(--ink); color: #fff; border-radius: 20px; padding: 48px 44px; }
.formula h2, .formula h3 { color: #fff; }
.formula-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.formula-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 20px; }
.formula-item .f-amt { font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.formula-item .f-lbl { font-size: .82rem; color: #b9c6d6; margin-top: 4px; }
.formula-note { margin-top: 22px; font-size: .85rem; color: #8fa2b8; }

/* ---------- Table ---------- */
.tbl-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 20px; font-size: .93rem; }
thead th { background: var(--ink); color: #fff; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
tbody tr { border-bottom: 1px solid var(--line); }
tbody tr:last-child { border-bottom: 0; }
tbody tr:hover { background: var(--bg); }
table .num { font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; color: var(--ink-soft);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--body); font-size: .95rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; max-width: 680px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink-soft); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--body); margin-top: 10px; }
.form-ok {
  background: var(--green-soft); border: 1px solid var(--green); color: #0c6f66;
  padding: 16px 20px; border-radius: 12px; font-weight: 600; margin-bottom: 20px;
}
.form-err { background: #fdecea; border: 1px solid #ef4444; color: #b91c1c; padding: 16px 20px; border-radius: 12px; font-weight: 600; margin-bottom: 20px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 80% 20%, rgba(249,115,22,.2), transparent 60%);
}
.cta-inner { position: relative; text-align: center; padding: 80px 0; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #b9c6d6; margin: 14px 0 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Inner hero (sub pages) ---------- */
.inner-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.inner-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 260px at 85% 0%, rgba(249,115,22,.15), transparent 60%);
}
.inner-hero .container { position: relative; z-index: 1; padding: 64px 0 56px; max-width: 820px; }
.inner-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.inner-hero p { color: #b9c6d6; margin-top: 12px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer a { display: block; color: #94a7bd; margin-bottom: 10px; font-size: .92rem; }
.site-footer a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0; gap: 40px; }
  .hero-visual { min-height: 380px; max-width: 460px; margin: 0 auto; width: 100%; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); }
  .steps, .cards, .price-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .formula-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .site-nav {
    position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 20px 6%; gap: 18px;
    display: none; box-shadow: var(--shadow-lg); z-index: 49;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .steps, .cards, .price-grid, .feature-grid, .form-row { grid-template-columns: 1fr; }
  .trustbar-inner { grid-template-columns: 1fr 1fr; }
  .formula-grid { grid-template-columns: 1fr; }
  .formula { padding: 32px 22px; }
  .form-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .cta-actions .btn { width: 100%; text-align: center; }
}
/* ---------- Status pills & request cards ---------- */
.status-pill { display:inline-block; font-size:.74rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding:4px 12px; border-radius:30px; }
.status-pending   { background:#f1f5f9; color:#475569; }
.status-quoted    { background:var(--orange-soft); color:var(--brand-dark); }
.status-confirmed { background:var(--green-soft); color:#0c6f66; }
.status-purchased { background:#e0f2fe; color:#0369a1; }
.status-shipped   { background:#ede9fe; color:#6d28d9; }
.status-completed { background:#dcfce7; color:#15803d; }
.status-cancelled { background:#fee2e2; color:#b91c1c; }

.req-card { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:18px 22px; margin-bottom:14px; }
.req-card:hover { transform:translateY(-2px); }
.req-main h3 { font-size:1.02rem; }
.req-meta { color:var(--body); font-size:.86rem; margin-top:3px; display:flex; gap:16px; flex-wrap:wrap; }
.req-amount { font-weight:800; color:var(--ink); }
.req-side { text-align:right; flex:none; }

.section-title-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; flex-wrap:wrap; }

.detail-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:26px; align-items:start; }
@media (max-width:900px){ .detail-grid { grid-template-columns:1fr; } }
.dl { width:100%; }
.dl tr { border-bottom:1px solid var(--line); }
.dl td { padding:10px 6px; font-size:.94rem; }
.dl td:first-child { color:var(--body); width:38%; }
.dl td:last-child { font-weight:600; color:var(--ink); }
dl.dl-vert dt { color:var(--body); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; margin-top:14px; font-weight:700; }
dl.dl-vert dd { font-size:.95rem; margin-top:2px; }

.mini-nav a { font-size:.9rem; font-weight:600; }
.mini-nav a + a { margin-left:18px; }

/* ===== Admin ERP ===== */
.admin-shell { display:flex; min-height:100vh; background:var(--canvas); }
.admin-sidebar { width:236px; flex:none; background:#0e1526; color:#c7d2e5; display:flex; flex-direction:column; position:sticky; top:0; height:100vh; }
.admin-sidebar .brand { padding:22px 20px 18px; border-bottom:1px solid rgba(255,255,255,.07); }
.admin-sidebar .brand-mark { width:34px; height:34px; font-size:1.05rem; }
.admin-nav { padding:14px 10px; flex:1; display:flex; flex-direction:column; gap:2px; }
.admin-nav a { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:9px; color:#9fb0c9; font-weight:600; font-size:.92rem; text-decoration:none; transition:.15s; }
.admin-nav a:hover { background:rgba(255,255,255,.06); color:#fff; }
.admin-nav a.active { background:var(--accent); color:#fff; box-shadow:0 6px 16px rgba(255,107,53,.25); }
.admin-nav .sep { margin-top:14px; padding:6px 12px 4px; font-size:.7rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#5a6a82; }
.admin-sidebar .sidebar-foot { padding:14px 20px; border-top:1px solid rgba(255,255,255,.07); font-size:.85rem; color:#6c7c95; }
.admin-main { flex:1; min-width:0; display:flex; flex-direction:column; }
.admin-topbar { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 28px; background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20; }
.admin-topbar h1 { font-size:1.18rem; margin:0; }
.admin-topbar .top-user { display:flex; align-items:center; gap:10px; font-size:.9rem; color:var(--body); }
.avatar { width:32px; height:32px; border-radius:50%; background:var(--accent); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:.85rem; }
.admin-content { padding:26px 28px 40px; flex:1; }
.admin-content-inner { max-width:1240px; margin:0 auto; }

.stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin-bottom:26px; }
.stat-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px 20px; }
.stat-card .stat-label { font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--body); }
.stat-card .stat-value { font-size:1.75rem; font-weight:900; color:var(--ink); margin-top:6px; font-variant-numeric:tabular-nums; }
.stat-card .stat-sub { font-size:.8rem; color:var(--body); margin-top:3px; }
.stat-card.accent .stat-value { color:var(--accent); }

.panel { background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px 22px; margin-bottom:22px; }
.panel h2 { font-size:1rem; margin:0 0 14px; }
.panel h3 { font-size:.95rem; margin:0 0 12px; }

.table-data { width:100%; border-collapse:collapse; font-size:.9rem; }
.table-data th { text-align:left; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--body); padding:8px 10px; border-bottom:2px solid var(--line); white-space:nowrap; }
.table-data td { padding:11px 10px; border-bottom:1px solid var(--line); vertical-align:middle; }
.table-data tr:hover td { background:#faf8f6; }
.table-data .num { font-variant-numeric:tabular-nums; font-weight:700; }
.mono { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:.85rem; }

.chart-wrap { display:flex; align-items:flex-end; gap:5px; height:150px; padding-top:8px; }
.chart-bar { flex:1; background:linear-gradient(180deg,var(--accent),#ff8a5c); border-radius:5px 5px 0 0; min-height:3px; position:relative; transition:.2s; }
.chart-bar:hover { filter:brightness(1.08); }
.chart-wrap .chart-x { margin-top:8px; font-size:.66rem; color:var(--body); text-align:center; flex:1; }
.bar-tip { position:absolute; bottom:calc(100% + 6px); left:50%; transform:translateX(-50%); background:#0e1526; color:#fff; font-size:.72rem; padding:3px 8px; border-radius:6px; white-space:nowrap; opacity:0; pointer-events:none; transition:.15s; }
.chart-bar:hover .bar-tip { opacity:1; }

.status-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:7px; vertical-align:1px; }
.status-dot.d-pending { background:#e0a800; } .status-dot.d-quoted { background:#2d9cdb; }
.status-dot.d-confirmed { background:#27ae60; } .status-dot.d-purchased { background:#8e44ad; }
.status-dot.d-shipped { background:#16a085; } .status-dot.d-completed { background:#2f80ed; }
.status-dot.d-cancelled { background:#eb5757; }

.filter-bar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:18px; }
.filter-bar .input-field, .filter-bar select { min-width:200px; }
.pager { display:flex; justify-content:center; gap:8px; align-items:center; margin-top:22px; }

.alert { padding:12px 16px; border-radius:10px; font-size:.9rem; margin-bottom:18px; font-weight:600; }
.alert-success { background:#e8f7ef; color:#1e7a46; border:1px solid #bfe8d0; }
.alert-error { background:#fdecec; color:#b23b3b; border:1px solid #f3c5c5; }

.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-row .full { grid-column:1 / -1; }
@media (max-width:760px){ .form-row { grid-template-columns:1fr; } }
.admin-login-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:22px; background:
  radial-gradient(1200px 600px at 80% -10%, rgba(255,107,53,.10), transparent 60%),
  var(--canvas); }
.admin-login-card { width:100%; max-width:400px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:34px 32px; box-shadow:0 24px 60px rgba(13,27,42,.10); }
.admin-login-card .brand { justify-content:center; margin-bottom:8px; }
.admin-login-card h1 { font-size:1.25rem; text-align:center; margin:4px 0 2px; }
.admin-login-card .sub { text-align:center; color:var(--body); font-size:.88rem; margin-bottom:24px; }

/* ===== Admin ERP ===== */
.admin-shell { display:flex; min-height:100vh; background:var(--canvas); }
.admin-sidebar { width:236px; flex:none; background:#0e1526; color:#c7d2e5; display:flex; flex-direction:column; position:sticky; top:0; height:100vh; }
.admin-sidebar .brand { padding:22px 20px 18px; border-bottom:1px solid rgba(255,255,255,.07); }
.admin-sidebar .brand-mark { width:34px; height:34px; font-size:1.05rem; }
.admin-nav { padding:14px 10px; flex:1; display:flex; flex-direction:column; gap:2px; }
.admin-nav a { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:9px; color:#9fb0c9; font-weight:600; font-size:.92rem; text-decoration:none; transition:.15s; }
.admin-nav a:hover { background:rgba(255,255,255,.06); color:#fff; }
.admin-nav a.active { background:var(--accent); color:#fff; box-shadow:0 6px 16px rgba(255,107,53,.25); }
.admin-nav .sep { margin-top:14px; padding:6px 12px 4px; font-size:.7rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#5a6a82; }
.admin-sidebar .sidebar-foot { padding:14px 20px; border-top:1px solid rgba(255,255,255,.07); font-size:.85rem; color:#6c7c95; }
.admin-main { flex:1; min-width:0; display:flex; flex-direction:column; }
.admin-topbar { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:16px 28px; background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:20; }
.admin-topbar h1 { font-size:1.18rem; margin:0; }
.admin-topbar .top-user { display:flex; align-items:center; gap:10px; font-size:.9rem; color:var(--body); }
.avatar { width:32px; height:32px; border-radius:50%; background:var(--accent); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-weight:800; font-size:.85rem; }
.admin-content { padding:26px 28px 40px; flex:1; }
.admin-content-inner { max-width:1240px; margin:0 auto; }
.stat-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin-bottom:26px; }
.stat-card { background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px 20px; }
.stat-card .stat-label { font-size:.78rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--body); }
.stat-card .stat-value { font-size:1.75rem; font-weight:900; color:var(--ink); margin-top:6px; font-variant-numeric:tabular-nums; }
.stat-card .stat-sub { font-size:.8rem; color:var(--body); margin-top:3px; }
.stat-card.accent .stat-value { color:var(--accent); }
.panel { background:#fff; border:1px solid var(--line); border-radius:14px; padding:20px 22px; margin-bottom:22px; }
.panel h2 { font-size:1rem; margin:0 0 14px; }
.panel h3 { font-size:.95rem; margin:0 0 12px; }
.table-data { width:100%; border-collapse:collapse; font-size:.9rem; }
.table-data th { text-align:left; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--body); padding:8px 10px; border-bottom:2px solid var(--line); white-space:nowrap; }
.table-data td { padding:11px 10px; border-bottom:1px solid var(--line); vertical-align:middle; }
.table-data tr:hover td { background:#faf8f6; }
.table-data .num { font-variant-numeric:tabular-nums; font-weight:700; }
.mono { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:.85rem; }
.chart-wrap { display:flex; align-items:flex-end; gap:5px; height:150px; padding-top:8px; }
.chart-bar { flex:1; background:linear-gradient(180deg,var(--accent),#ff8a5c); border-radius:5px 5px 0 0; min-height:3px; position:relative; transition:.2s; }
.chart-bar:hover { filter:brightness(1.08); }
.chart-x { margin-top:8px; font-size:.66rem; color:var(--body); text-align:center; }
.bar-tip { position:absolute; bottom:calc(100% + 6px); left:50%; transform:translateX(-50%); background:#0e1526; color:#fff; font-size:.72rem; padding:3px 8px; border-radius:6px; white-space:nowrap; opacity:0; pointer-events:none; transition:.15s; }
.chart-bar:hover .bar-tip { opacity:1; }
.status-dot { display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:7px; vertical-align:1px; }
.status-dot.d-pending { background:#e0a800; } .status-dot.d-quoted { background:#2d9cdb; }
.status-dot.d-confirmed { background:#27ae60; } .status-dot.d-purchased { background:#8e44ad; }
.status-dot.d-shipped { background:#16a085; } .status-dot.d-completed { background:#2f80ed; }
.status-dot.d-cancelled { background:#eb5757; }
.filter-bar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:18px; }
.filter-bar .input-field, .filter-bar select { min-width:200px; }
.pager { display:flex; justify-content:center; gap:8px; align-items:center; margin-top:22px; }
.alert { padding:12px 16px; border-radius:10px; font-size:.9rem; margin-bottom:18px; font-weight:600; }
.alert-success { background:#e8f7ef; color:#1e7a46; border:1px solid #bfe8d0; }
.alert-error { background:#fdecec; color:#b23b3b; border:1px solid #f3c5c5; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-row .full { grid-column:1 / -1; }
@media (max-width:760px){ .form-row { grid-template-columns:1fr; } }
.admin-login-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:22px; background:
  radial-gradient(1200px 600px at 80% -10%, rgba(255,107,53,.10), transparent 60%),
  var(--canvas); }
.admin-login-card { width:100%; max-width:400px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:34px 32px; box-shadow:0 24px 60px rgba(13,27,42,.10); }
.admin-login-card .brand { justify-content:center; margin-bottom:8px; }
.admin-login-card h1 { font-size:1.25rem; text-align:center; margin:4px 0 2px; }
.admin-login-card .sub { text-align:center; color:var(--body); font-size:.88rem; margin-bottom:24px; }
