:root { --vo-sidebar: 230px; --vo-bg: #f4f6f9; --vo-dark: #1f2937; }
html, body { height: 100%; }
body { background: var(--vo-bg); font-size: 14px; }
.vo-layout { display: flex; min-height: 100vh; }
.vo-sidebar { width: var(--vo-sidebar); background: var(--vo-dark); color: #cbd5e1; flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.vo-sidebar .brand { font-weight: 700; font-size: 1.15rem; color: #fff; padding: 14px 16px; letter-spacing: .3px; border-bottom: 1px solid #334155; }
.vo-sidebar .brand span { color: #60a5fa; }
.vo-sidebar .nav-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: #64748b; padding: 14px 16px 4px; }
.vo-sidebar a.nav-link { color: #cbd5e1; padding: 6px 16px; display: flex; align-items: center; gap: 8px; border-left: 3px solid transparent; }
.vo-sidebar a.nav-link:hover { background: #273449; color: #fff; }
.vo-sidebar a.nav-link.active { background: #273449; color: #fff; border-left-color: #60a5fa; }
.vo-sidebar .count { margin-left: auto; font-size: .72rem; background: #334155; color: #e2e8f0; border-radius: 10px; padding: 1px 7px; }
.vo-sidebar .count.hot { background: #f59e0b; color: #111; }
.vo-sidebar .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.vo-main { flex: 1; min-width: 0; }
.vo-topbar { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 8px 20px; display: flex; align-items: center; gap: 12px; }
.vo-content { padding: 18px 20px; }
.card { border: 1px solid #e5e7eb; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card-header { background: #fff; font-weight: 600; }
.table-orders td { vertical-align: top; padding: .6rem .5rem; }
.table-orders .items { max-width: 420px; color: #374151; }
.table-orders .items small { color: #6b7280; }
.status-badge, .source-badge { font-weight: 500; }
.badge { font-weight: 500; }
.order-num a { font-weight: 600; text-decoration: none; }
.star-btn { border: 0; background: none; color: #cbd5e1; font-size: 1.05rem; padding: 0 4px; }
.star-btn.on { color: #f59e0b; }
.kv { display: grid; grid-template-columns: 150px 1fr; row-gap: 3px; column-gap: 8px; }
.kv .k { color: #6b7280; }
.kv .v { color: #111827; }
.section-title { font-size: .95rem; font-weight: 600; margin: 0; }
.rule-cond { display: inline-block; background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 4px; padding: 1px 6px; margin: 1px 2px; font-size: .8rem; }
.rule-act { display: inline-block; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 4px; padding: 1px 6px; margin: 1px 2px; font-size: .8rem; }
.rule-off { opacity: .55; }
.form-hint { font-size: .78rem; color: #6b7280; }
.timeline { list-style: none; padding-left: 0; margin: 0; }
.timeline li { padding: 4px 0 4px 14px; border-left: 2px solid #e5e7eb; position: relative; font-size: .85rem; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; }
.shadow-note { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 6px; padding: 6px 10px; font-size: .82rem; }
.btn-xs { padding: .1rem .4rem; font-size: .75rem; }
.filter-bar .form-control, .filter-bar .form-select { font-size: .85rem; }
.text-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.stat { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 16px; }
.stat .n { font-size: 1.6rem; font-weight: 700; }
.stat .l { color: #6b7280; font-size: .8rem; }
@media (max-width: 992px) { .vo-sidebar { display: none; } }
@media print { .vo-sidebar, .vo-topbar, .no-print { display: none !important; } body { background: #fff; } .vo-content { padding: 0; } }
