:root { --bg:#020617; --panel:#0f172a; --panel2:#0b1222; --border:rgba(255,255,255,.1); --text:#e2e8f0; --muted:#94a3b8; --accent:#34d399; }
  * { box-sizing:border-box; }
  body { margin:0; background:var(--bg); color:var(--text); font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif; }
  a { color:inherit; text-decoration:none; }
  button { font-family:inherit; cursor:pointer; }
  input,select { font-family:inherit; }
  .wrap { max-width:1100px; margin:0 auto; padding:0 20px; }
  header { position:sticky; top:0; z-index:20; background:rgba(2,6,23,.8); backdrop-filter:blur(10px); border-bottom:1px solid var(--border); }
  .hbar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; }
  .logo { display:flex; align-items:center; gap:10px; font-weight:600; font-size:18px; color:#fff; }
  .logo .mark { width:34px; height:34px; border-radius:9px; background:var(--accent); color:#0f172a; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:18px; }
  .nav { display:flex; gap:6px; }
  .nav a { padding:7px 12px; border-radius:8px; color:var(--muted); font-size:14px; font-weight:500; }
  .nav a:hover { color:#fff; background:rgba(255,255,255,.05); }
  .nav a.active { color:#fff; background:rgba(52,211,153,.12); }
  .btn { display:inline-flex; align-items:center; gap:7px; border-radius:9px; padding:9px 14px; font-size:14px; font-weight:600; border:1px solid var(--border); background:rgba(255,255,255,.05); color:#e2e8f0; }
  .btn:hover { border-color:rgba(52,211,153,.5); color:#fff; }
  .btn-primary { background:var(--accent); color:#0f172a; border-color:transparent; }
  .btn-primary:hover { background:#6ee7b7; color:#0f172a; }
  .btn-ghost { background:transparent; }
  .btn-danger { color:#fca5a5; border-color:rgba(239,68,68,.3); }
  .btn-danger:hover { background:rgba(239,68,68,.1); color:#fff; }
  .hero { text-align:center; padding:48px 0 28px; }
  .pill { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; border:1px solid rgba(52,211,153,.25); background:rgba(52,211,153,.06); color:#6ee7b7; font-size:12px; }
  .hero h1 { font-size:38px; margin:14px 0 0; color:#fff; letter-spacing:-.02em; }
  .hero p { color:var(--muted); max-width:560px; margin:14px auto 0; font-size:15px; }
  .grid { display:grid; gap:36px; padding-bottom:60px; }
  @media(min-width:900px){ .grid { grid-template-columns:1fr 330px; } }
  .cat { scroll-margin-top:80px; margin-bottom:30px; }
  .cat-head { display:flex; gap:12px; align-items:center; margin-bottom:14px; }
  .cat-icon { width:40px; height:40px; border-radius:11px; background:rgba(52,211,153,.1); color:var(--accent); display:flex; align-items:center; justify-content:center; font-size:20px; border:1px solid rgba(52,211,153,.2); }
  .cat-head h3 { margin:0; font-size:18px; color:#fff; }
  .cat-head p { margin:2px 0 0; font-size:13px; color:var(--muted); }
  .cat-items { display:grid; gap:11px; }
  @media(min-width:560px){ .cat-items { grid-template-columns:1fr 1fr; } }
  .item { position:relative; cursor:pointer; border:1px solid var(--border); background:rgba(255,255,255,.02); border-radius:12px; padding:14px; transition:.15s; display:flex; gap:12px; }
  .item:hover { border-color:rgba(255,255,255,.22); background:rgba(255,255,255,.04); }
  .item.selected { border-color:rgba(52,211,153,.6); background:rgba(52,211,153,.05); box-shadow:0 0 0 1px rgba(52,211,153,.3); }
  .item.disabled { cursor:not-allowed; opacity:.5; }
  .item-main { flex:1; min-width:0; }
  .item-name { font-weight:500; color:#f1f5f9; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
  .na-badge { font-size:10px; padding:2px 7px; border-radius:999px; background:rgba(239,68,68,.15); color:#fca5a5; font-weight:600; }
  .includes { list-style:none; margin:8px 0 0; padding:0; }
  .includes li { display:flex; align-items:center; gap:7px; font-size:12px; color:var(--muted); margin:3px 0; }
  .includes .dot { width:4px; height:4px; border-radius:50%; background:rgba(52,211,153,.7); }
  .note { margin:8px 0 0; font-size:12px; color:#fcd34d; }
  .qty { margin-top:10px; display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); flex-wrap:wrap; }
  .qty-btns { display:flex; align-items:center; border:1px solid var(--border); border-radius:8px; background:rgba(0,0,0,.3); }
  .qty-btns button { background:none; border:none; color:#cbd5e1; padding:4px 9px; font-size:14px; }
  .qty-btns button:hover { color:#fff; }
  .qty-btns span { width:24px; text-align:center; color:#fff; font-size:13px; }
  .item-side { display:flex; flex-direction:column; align-items:flex-end; gap:8px; }
  .price { font-weight:600; color:#6ee7b7; white-space:nowrap; }
  .check { width:20px; height:20px; border-radius:6px; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; color:transparent; font-size:13px; }
  .item.selected .check { background:var(--accent); color:#0f172a; border-color:transparent; }
  .summary { position:sticky; top:80px; align-self:start; display:flex; flex-direction:column; gap:16px; }
  .card { border:1px solid var(--border); background:rgba(15,23,42,.6); border-radius:16px; padding:18px; backdrop-filter:blur(8px); }
  .card h3 { margin:0 0 14px; font-size:15px; color:#fff; }
  .empty { padding:28px 0; text-align:center; color:#64748b; font-size:13px; }
  .sline { display:flex; justify-content:space-between; gap:10px; font-size:13px; padding:6px 0; }
  .sline .nm { color:#cbd5e1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .sline .pr { color:#e2e8f0; white-space:nowrap; }
  .promo { position:relative; margin-top:12px; }
  .promo input { width:100%; padding:9px 10px 9px 34px; border-radius:9px; border:1px solid var(--border); background:rgba(0,0,0,.4); color:#fff; font-size:13px; }
  .promo input:focus { outline:none; border-color:rgba(52,211,153,.5); }
  .promo .ic { position:absolute; left:10px; top:50%; transform:translateY(-50%); color:#64748b; font-size:14px; }
  .totals { margin-top:14px; border-top:1px solid var(--border); padding-top:12px; font-size:13px; }
  .totals .row { display:flex; justify-content:space-between; padding:3px 0; color:var(--muted); }
  .totals .row.disc { color:#6ee7b7; }
  .totals .grand { display:flex; justify-content:space-between; padding-top:8px; font-size:17px; font-weight:600; color:#fff; border-top:1px solid var(--border); margin-top:6px; }
  .tax-note { font-size:11px; color:#64748b; margin-top:6px; }
  .place-btn { margin-top:14px; width:100%; padding:11px; border:none; border-radius:10px; background:var(--accent); color:#0f172a; font-weight:600; font-size:14px; }
  .place-btn:hover { background:#6ee7b7; }
  .promo-banner { border:1px solid rgba(52,211,153,.2); background:rgba(52,211,153,.05); border-radius:14px; padding:14px 16px; font-size:13px; color:#a7f3d0; margin-bottom:8px; }
  footer { border-top:1px solid var(--border); padding:18px 0; text-align:center; font-size:12px; color:#64748b; }
  .center-screen { max-width:480px; margin:60px auto; text-align:center; }
  .id-box { font-size:26px; font-weight:700; color:#fff; letter-spacing:2px; padding:18px; border:1px dashed rgba(52,211,153,.4); border-radius:12px; background:rgba(52,211,153,.05); margin:18px 0; }
  .field { margin-bottom:12px; text-align:left; }
  .field label { display:block; font-size:13px; color:var(--muted); margin-bottom:5px; }
  .field input { width:100%; padding:10px 12px; border-radius:9px; border:1px solid var(--border); background:rgba(0,0,0,.4); color:#fff; font-size:14px; }
  .field input:focus { outline:none; border-color:rgba(52,211,153,.5); }
  .badge { display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; font-size:13px; font-weight:600; color:#fff; }
  .badge .dot { width:8px; height:8px; border-radius:50%; background:currentColor; }
  .order-card { border:1px solid var(--border); border-radius:12px; padding:14px; background:rgba(255,255,255,.02); margin-bottom:10px; cursor:pointer; }
  .order-card:hover { border-color:rgba(52,211,153,.4); }
  .order-card.sel { border-color:rgba(52,211,153,.6); background:rgba(52,211,153,.05); }
  .order-card .top { display:flex; justify-content:space-between; align-items:center; }
  .order-card .oid { font-weight:600; color:#fff; font-family:ui-monospace,monospace; }
  .order-card .meta { font-size:12px; color:var(--muted); margin-top:4px; }
  .tabs { display:flex; gap:6px; margin-bottom:18px; border-bottom:1px solid var(--border); }
  .tabs button { background:none; border:none; color:var(--muted); padding:10px 14px; font-size:14px; font-weight:500; border-bottom:2px solid transparent; }
  .tabs button.active { color:#fff; border-bottom-color:var(--accent); }
  .two-col { display:grid; gap:18px; }
  @media(min-width:760px){ .two-col { grid-template-columns:1fr 1.2fr; } }
  .preset-status { display:flex; flex-wrap:wrap; gap:8px; margin:10px 0; }
  .preset-status button { padding:6px 12px; border-radius:999px; border:1px solid var(--border); background:rgba(255,255,255,.03); color:#e2e8f0; font-size:13px; }
  .preset-status button:hover { border-color:rgba(255,255,255,.3); }
  .file-row { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 10px; border:1px solid var(--border); border-radius:8px; margin-bottom:6px; font-size:13px; }
  .file-row .fn { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .svc-item { border:1px solid var(--border); border-radius:10px; padding:12px; margin-bottom:10px; background:rgba(255,255,255,.02); }
  .svc-item .row { display:flex; gap:8px; align-items:center; margin-bottom:8px; flex-wrap:wrap; }
  .svc-item input[type=text] { flex:1; min-width:140px; padding:7px 10px; border-radius:8px; border:1px solid var(--border); background:rgba(0,0,0,.4); color:#fff; font-size:13px; }
  .svc-item input[type=number] { width:90px; padding:7px 10px; border-radius:8px; border:1px solid var(--border); background:rgba(0,0,0,.4); color:#fff; font-size:13px; }
  .chk { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--muted); }
  .toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); background:#0f172a; color:#fff; border:1px solid rgba(52,211,153,.4); padding:10px 18px; border-radius:10px; font-size:14px; z-index:50; opacity:0; transition:.25s; pointer-events:none; }
  .toast.show { opacity:1; bottom:34px; }
  .section-title { font-size:14px; font-weight:600; color:#fff; margin:18px 0 8px; }
  .muted { color:var(--muted); font-size:13px; }
  .danger-link { color:#fca5a5; font-size:12px; background:none; border:none; }
  .danger-link:hover { color:#fff; }
  .color-input { width:42px; height:36px; padding:2px; border-radius:8px; border:1px solid var(--border); background:rgba(0,0,0,.4); }
  .spinner { width:34px; height:34px; border:3px solid rgba(255,255,255,.15); border-top-color:var(--accent); border-radius:50%; animation:spin 1s linear infinite; margin:40px auto; }
  @keyframes spin { to { transform:rotate(360deg); } }
  .setup-banner { border:1px solid rgba(239,68,68,.4); background:rgba(239,68,68,.08); color:#fca5a5; border-radius:12px; padding:14px 16px; font-size:13px; margin-bottom:16px; }


/* Admin order package contents */
.order-item-detail{padding:8px 0;border-bottom:1px solid var(--border)}
.order-item-detail:last-child{border-bottom:0}
.package-contents{margin:4px 0 4px 12px;padding:8px 10px;border-left:2px solid #475569;background:rgba(255,255,255,.025);border-radius:0 8px 8px 0}
.package-label{font-size:12px;font-weight:700;color:#cbd5e1;margin-bottom:5px}
.package-contents ul{margin:0;padding-left:18px;color:#94a3b8;font-size:12px;line-height:1.65}
.package-contents li{padding-left:2px}
.package-note{margin:5px 0 0 12px;color:#94a3b8;font-size:12px;font-style:italic}
