/* Voltic Subscriptions Lite — pixel pass against the design prototype
   (Shopify admin frame · canvas #f1f1f1 · cards white r12 · base 13px) */
* { box-sizing: border-box; }
body { margin: 0; background: #f1f1f1; color: #303030; font: 13px/1.45 'Inter', -apple-system, sans-serif; }
a { color: #005bd3; text-decoration: none; }
a:hover { color: #004299; text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 13px; color: #1a1a1a; }
.vs-loading { padding: 80px; text-align: center; color: #616161; }
.muted { color: #616161; } .dim { color: #8a8a8a; }
.b { color: #1a1a1a; font-weight: 650; }

/* ── Auth ─────────────────────────────────────────────────────────────── */
.vs-auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(ellipse 60% 50% at 50% 0%, #14203a 0%, #0a0d14 60%); color: #f1f5f9; font-family: 'Manrope', 'Inter', sans-serif; }
.vs-auth-card { width: 400px; animation: vpop .25s ease; }
.vs-auth-brand { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 28px; font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.vs-auth-brand svg, .vs-auth-brand .acc { color: #60a5fa; }
.vs-auth-box { background: #10141d; border: 1px solid #232a38; border-radius: 14px; padding: 32px; }
.vs-auth-box h2 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.vs-auth-box p { font-size: 13.5px; color: #8a94a6; margin: 0 0 22px; line-height: 1.5; }
.vs-auth-label { display: block; font-size: 12.5px; font-weight: 600; color: #b9c2d0; margin-bottom: 6px; }
.vs-auth-row { display: flex; margin-bottom: 16px; }
.vs-auth-row input { flex: 1; min-width: 0; background: #0a0d14; border: 1px solid #232a38; border-right: none; border-radius: 8px 0 0 8px; padding: 11px 12px; font-size: 14px; color: #f1f5f9; outline: none; }
.vs-auth-row span { background: #171d29; border: 1px solid #232a38; border-radius: 0 8px 8px 0; padding: 11px 12px; font-size: 13px; color: #8a94a6; white-space: nowrap; }
.vs-auth-btn { width: 100%; background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 12px; font-size: 14px; font-weight: 700; }
.vs-auth-btn:hover { background: #1d4ed8; }

/* ── Shopify admin frame ──────────────────────────────────────────────── */
.vs-topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 16px; background: #1a1a1a; height: 56px; padding: 0 16px; }
.vs-topbar .bag { color: #95bf47; flex-shrink: 0; }
.vs-topbar-search { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 8px; background: #303030; border: 1px solid #444; border-radius: 8px; padding: 7px 10px; color: #b5b5b5; font-size: 13px; }
.vs-topbar-store { display: flex; align-items: center; gap: 8px; background: #303030; border-radius: 8px; padding: 5px 10px 5px 6px; color: #e3e3e3; font-size: 12px; font-weight: 550; }
.vs-topbar-store .av { width: 24px; height: 24px; border-radius: 6px; background: #36fba1; color: #0a3325; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.vs-shell { display: flex; min-height: 100vh; }
.vs-nav { width: 232px; flex-shrink: 0; background: #ebebeb; padding: 12px 8px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.vs-brand { display: flex; align-items: center; gap: 9px; font-weight: 650; font-size: 13px; color: #303030; padding: 8px 10px 12px; }
.vs-brand .ic { width: 26px; height: 26px; border-radius: 7px; background: #60a5fa; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vs-nav-list { display: flex; flex-direction: column; gap: 1px; }
.vs-nav-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: none; border-radius: 8px; padding: 7px 10px; font-size: 13px; font-weight: 550; color: #303030; }
.vs-nav-item .nic { display: inline-flex; width: 17px; color: #4a4a4a; }
.vs-nav-item:hover { background: rgba(255,255,255,.6); color: #1a1a1a; }
.vs-nav-item.active { background: #fff; font-weight: 650; color: #1a1a1a; box-shadow: 0 1px 2px rgba(26,26,26,.12); }
.vs-nav-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12px; color: #616161; padding: 10px; border-top: 1px solid #d9d9d9; min-width: 0; }
.vs-nav-foot .dot { width: 7px; height: 7px; border-radius: 50%; background: #29845a; flex-shrink: 0; }
.vs-nav-foot span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-main { flex: 1; min-width: 0; padding: 24px 28px 48px; }

.vs-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; min-height: 40px; }
.vs-page-head > .vs-actions { transform: translateY(5px); }
.vs-page-title { font-size: 20px; font-weight: 700; color: #1a1a1a; margin: 0; display: flex; align-items: center; gap: 10px; letter-spacing: -.2px; }
.vs-page-sub { font-size: 13px; color: #616161; margin-top: 2px; }
.vs-back { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: none; border-radius: 8px; background: transparent; color: #4a4a4a; flex-shrink: 0; }
.vs-back:hover { background: #e7e7e7; }

/* ── Cards / tables ───────────────────────────────────────────────────── */
.vs-card { background: #fff; border-radius: 12px; box-shadow: 0 1px 0 rgba(26,26,26,.07), 0 0 0 1px rgba(26,26,26,.055); margin-bottom: 16px; }
.vs-card-pad { padding: 14px 16px; }
.vs-card-title { font-size: 13px; font-weight: 650; color: #1a1a1a; margin: 0 0 10px; display: flex; align-items: center; justify-content: space-between; }
.vs-card-sub { font-size: 12.5px; color: #616161; margin: -6px 0 10px; }
.vs-box { border: 1px solid #e3e3e3; border-radius: 10px; }
.vs-table-wrap { overflow-x: auto; border-radius: 0 0 12px 12px; }
.vs-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.vs-table th { text-align: left; font-weight: 600; color: #616161; font-size: 12px; height: 38px; padding: 0 10px; background: #fafafa; border-bottom: 1px solid #ebebeb; white-space: nowrap; user-select: none; }
.vs-table th:first-child { padding-left: 16px; }
.vs-table th.sortable { cursor: pointer; }
.vs-table th.sortable:hover { color: #1a1a1a; }
.vs-table td { padding: 6.5px 10px; border-bottom: 1px solid #f1f1f1; white-space: nowrap; vertical-align: middle; }
.vs-table td:first-child { padding-left: 16px; }
.vs-table.roomy th { font-size: 11.5px; padding-top: 10px; padding-bottom: 10px; height: auto; padding-left: 16px; padding-right: 16px; }
.vs-table.roomy td { padding: 12px 16px; }
.vs-table tr:last-child td { border-bottom: none; }
.vs-row:hover td, .vs-row:hover .vs-sticky { background: #f7f7f7; }
.vs-sticky { position: sticky; left: 0; background: #fff; z-index: 2; }
th.vs-sticky { background: #fafafa; z-index: 3; }
.vs-cell-id { font-weight: 600; font-size: 12.5px; }
.vs-cell-name { display: block; font-weight: 600; color: #1a1a1a; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.vs-cell-name:hover { color: #005bd3; text-decoration: underline; }
.vs-cell-sub { font-size: 12px; color: #8a8a8a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs-cell-dim { color: #616161; }
.vs-cell-mid { color: #303030; }
.vs-right { text-align: right !important; }
.vs-table-foot { padding: 11px 16px; font-size: 12.5px; color: #8a8a8a; border-top: 1px solid #f1f1f1; }

/* ── Pills / badges / banners ─────────────────────────────────────────── */
.vs-pill { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 8px; padding: 2px 9px; white-space: nowrap; }
.vs-pill.active, .vs-pill.on_schedule, .vs-pill.paid { background: #affebf; color: #014b40; }
.vs-pill.paused { background: #ffd6a4; color: #5e4200; }
.vs-pill.payment_failed, .vs-pill.failed { background: #fed3d1; color: #8e1f0b; }
.vs-pill.cancelled, .vs-pill.archived, .vs-pill.expired, .vs-pill.skipped { background: #e3e3e3; color: #616161; }
.vs-pill.info, .vs-pill.scheduled, .vs-pill.processed { background: #d5ebff; color: #00527c; }
.vs-chipTitle { display: inline-flex; align-items: center; gap: 6px; background: #d5ebff; color: #00527c; font-size: 12.5px; font-weight: 650; border-radius: 999px; padding: 4px 12px; }
.vs-chipTitle.gray { background: #f1f1f1; color: #303030; }
.vs-badge { display: inline-block; font-size: 11.5px; font-weight: 650; border-radius: 7px; padding: 1px 7px; margin-left: 7px; vertical-align: 1px; }
.vs-badge.next { background: #d5ebff; color: #00527c; }
.vs-badge.edited, .vs-badge.warn { background: #ffeb78; color: #4f4700; }
.vs-badge.moved, .vs-badge.gray { background: #e3e3e3; color: #616161; }
.vs-badge.coll { background: #d5ebff; color: #00527c; margin-left: 0; }
.vs-banner { background: #f0f5ff; border: 1px solid #d5e3ff; color: #003f9c; border-radius: 10px; padding: 10px 13px; font-size: 12.5px; line-height: 1.5; margin: 12px 0; }

/* ── Buttons / menus ──────────────────────────────────────────────────── */
.vs-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #d0d0d0; border-radius: 8px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: #303030; box-shadow: 0 1px 0 rgba(26,26,26,.05); }
.vs-btn:hover { background: #f7f7f7; }
.vs-btn.primary { background: #303030; border-color: transparent; color: #fff; font-weight: 650; padding: 7px 14px; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.vs-btn.primary:hover { background: #1a1a1a; }
.vs-btn.sm { padding: 5px 10px; font-size: 12px; }
.vs-btn.danger { color: #8e1f0b; }
.vs-btn.danger:hover { background: #fff1f0; }
.vs-btn.ghost { border: none; background: transparent; }
.vs-btn.ghost:hover { background: #f1f1f1; }
.vs-btn:disabled { opacity: .45; cursor: default; }
.vs-btn.boxed-dots { padding: 5px 8px; }
.vs-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: transparent; border: none; border-radius: 8px; color: #616161; }
.vs-icon-btn:hover { background: #f1f1f1; color: #1a1a1a; }
.vs-menu-wrap { position: relative; display: inline-block; }
.vs-menu { position: absolute; right: 0; top: calc(100% + 4px); min-width: 210px; background: #fff; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.06); padding: 4px; z-index: 46; }
.vs-menu.left { right: auto; left: 0; }
.vs-menu button { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: transparent; border: none; padding: 7px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 550; color: #303030; white-space: nowrap; }
.vs-menu button:hover { background: #f4f4f4; }
.vs-menu button.danger { color: #8e1f0b; }
.vs-menu button.danger:hover { background: #fff1f0; }
.vs-menu .sep { height: 1px; background: #ebebeb; margin: 4px 6px; }

/* Custom dropdown */
.vs-dd { position: relative; }
.vs-dd-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 6px; background: #fff; border: 1px solid #8a8a8a; border-radius: 9px; padding: 9px 12px; font-size: 13px; color: #1a1a1a; text-align: left; }
.vs-dd-panel { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.15), 0 0 0 1px rgba(0,0,0,.06); padding: 4px; z-index: 48; max-height: 240px; overflow-y: auto; }
.vs-dd-panel button { display: block; width: 100%; text-align: left; background: transparent; border: none; padding: 7px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: #1a1a1a; }
.vs-dd-panel button:hover { background: #f4f4f4; }
.vs-dd-panel button.sel { font-weight: 650; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.vs-field { margin-bottom: 13px; }
.vs-label { display: block; font-size: 12.5px; font-weight: 600; color: #303030; margin-bottom: 6px; }
.vs-help { font-size: 12px; color: #8a8a8a; margin-top: 6px; }
.vs-input, .vs-textarea { width: 100%; background: #fff; border: 1px solid #8a8a8a; border-radius: 8px; padding: 8px 11px; font-size: 13px; color: #1a1a1a; }
.vs-input:focus, .vs-textarea:focus { outline: 2px solid #005bd3; outline-offset: 1px; }
.vs-input.sm { padding: 6px 9px; font-size: 12.5px; border-radius: 8px; }
.vs-seg { display: inline-flex; gap: 6px; }
.vs-seg button { background: #fff; border: 1px solid #d0d0d0; border-radius: 9px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; color: #303030; }
.vs-seg button.on { background: #1f1f1f; border-color: #1f1f1f; color: #fff; }
.vs-radio { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; font-size: 13px; cursor: pointer; }
.vs-radio input { margin-top: 2px; }
.vs-switch { width: 40px; height: 22px; border-radius: 999px; border: none; background: #c9c9c9; position: relative; flex-shrink: 0; transition: background .15s; }
.vs-switch::after { content: ''; position: absolute; top: 2.5px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: left .15s; }
.vs-switch.on { background: #1f1f1f; }
.vs-switch.on::after { left: 20px; }
.vs-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 13px; }
.vs-check { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; cursor: pointer; }

/* ── Tabs ─────────────────────────────────────────────────────────────── */
.vs-toolbar { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-bottom: 1px solid #ebebeb; flex-wrap: wrap; }
.vs-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.vs-tab { background: transparent; border: none; border-radius: 8px; padding: 6px 12px; font-size: 12.5px; font-weight: 550; color: #616161; white-space: nowrap; }
.vs-tab:hover { background: #f4f4f4; color: #1a1a1a; }
.vs-tab.active { background: #f1f1f1; color: #1a1a1a; font-weight: 650; }
.vs-tab .n { color: #8a8a8a; font-weight: 500; margin-left: 5px; }
.vs-utabs { display: flex; gap: 22px; border-bottom: 1px solid #e3e3e3; margin-bottom: 16px; }
.vs-utab { background: transparent; border: none; padding: 9px 2px 11px; font-size: 13.5px; font-weight: 600; color: #616161; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.vs-utab:hover { color: #1a1a1a; }
.vs-utab.active { color: #1a1a1a; border-bottom-color: #1a1a1a; }
.vs-search-wrap { display: flex; align-items: center; gap: 6px; border: 1px solid #e3e3e3; border-radius: 8px; padding: 5px 10px; background: #fff; }
.vs-search-wrap .mag { color: #616161; display: inline-flex; flex-shrink: 0; }
.vs-search-wrap input { flex: 1; min-width: 0; border: none; outline: none; font-size: 12.5px; color: #1a1a1a; background: transparent; padding: 1px 0; }
.vs-search-clear { width: 20px; height: 20px; flex-shrink: 0; }
.vs-cols-btn { width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid #d0d0d0; color: #303030; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 0 rgba(26,26,26,.05); }
.vs-cols-btn:hover { background: #f7f7f7; }

/* ── Stats strip ──────────────────────────────────────────────────────── */
.vs-statcard { background: #fff; border-radius: 12px; box-shadow: 0 1px 0 rgba(26,26,26,.07), 0 0 0 1px rgba(26,26,26,.055); display: flex; align-items: stretch; margin-bottom: 12px; padding: 4px; }
.vs-stat-date { display: flex; align-items: center; gap: 7px; padding: 10px 12px; font-size: 12.5px; font-weight: 600; color: #303030; border-radius: 8px; white-space: nowrap; background: transparent; border: none; }
.vs-stat-date:hover { background: #f7f7f7; }
.vs-stats { display: flex; align-items: stretch; overflow-x: auto; flex: 1; scrollbar-width: none; }
.vs-stats::-webkit-scrollbar { display: none; }
.vs-stat { flex: 1; padding: 4px; border-left: 1px solid #f1f1f1; min-width: 150px; }
.vs-stat .in { padding: 10px; border-radius: 8px; height: 100%; box-sizing: border-box; }
.vs-stat .in:hover { background: #f7f7f7; }
.vs-stat .lbl { font-size: 12px; color: #303030; font-weight: 500; text-decoration: underline dotted #b5b5b5; text-underline-offset: 3px; margin-bottom: 5px; white-space: nowrap; }
.vs-stat .row { display: flex; align-items: center; gap: 8px; overflow: hidden; }
.vs-stat .val { font-size: 13.5px; font-weight: 700; color: #1a1a1a; white-space: nowrap; }
.vs-stat .delta { font-size: 12px; font-weight: 600; white-space: nowrap; }
.vs-stat .delta.good { color: #014b40; } .vs-stat .delta.bad { color: #8e1f0b; } .vs-stat .delta.neut { color: #616161; }
.vs-stat svg.spark { margin-left: auto; flex: 0 1 auto; min-width: 34px; max-width: 70px; display: block; }

/* ── Detail layout ────────────────────────────────────────────────────── */
.vs-detail { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .vs-detail { grid-template-columns: 1fr; } .vs-nav { display: none; } }
.vs-kv { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 13px; }
.vs-kv .k { color: #303030; }
.vs-kv .v { font-weight: 600; color: #1a1a1a; text-align: right; }
.vs-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.vs-side-h { font-size: 13px; font-weight: 650; color: #1a1a1a; margin: 12px 0 4px; }
.vs-side-h:first-of-type { margin-top: 0; }
.vs-tag-row { display: flex; gap: 8px; }
.vs-empty { padding: 40px; text-align: center; color: #616161; }
.vs-empty .t { font-weight: 650; color: #303030; margin-bottom: 3px; }

/* Upcoming-order / estimated-total inner boxes */
.vs-sched-box { padding: 13px 14px; font-size: 13px; }
.vs-sched-box .line { display: flex; align-items: center; gap: 9px; padding: 3px 0; color: #303030; }
.vs-item-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #f1f1f1; }
.vs-item-row:last-child { border-bottom: none; }
.vs-thumb { width: 40px; height: 40px; border-radius: 9px; background: #f1f1f1; border: 1px solid #e7e7e7; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #b0b0b0; }
.vs-thumb.sm { width: 32px; height: 32px; border-radius: 8px; }
.vs-item-row .nm { flex: 1; min-width: 0; }
.vs-item-row .nm .t { font-weight: 600; }
.vs-item-row .nm .s { font-size: 12px; color: #8a8a8a; margin-top: 1px; }
.vs-est-row { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px; padding: 6px 14px; font-size: 13px; }
.vs-est-row .k { color: #1a1a1a; } .vs-est-row .m { color: #616161; }
.vs-est-row .v { text-align: right; font-weight: 550; color: #1a1a1a; }
.vs-caption { font-size: 12.5px; color: #8a8a8a; margin-top: 10px; }

/* ── Timeline ─────────────────────────────────────────────────────────── */
.vs-tl { margin-top: 22px; }
.vs-tl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vs-tl-title { font-size: 14px; font-weight: 650; color: #1a1a1a; }
.vs-composer { background: #fff; border-radius: 12px; box-shadow: 0 1px 0 rgba(26,26,26,.07), 0 0 0 1px rgba(26,26,26,.055); padding: 10px 12px; }
.vs-composer-row { display: flex; gap: 10px; align-items: center; }
.vs-avatar { width: 32px; height: 32px; border-radius: 9px; background: #1c2536; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700; flex-shrink: 0; }
.vs-composer input { flex: 1; border: none; outline: none; font-size: 13.5px; padding: 6px 0; background: transparent; }
.vs-composer-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding-top: 8px; border-top: 1px solid #f1f1f1; }
.vs-composer-foot .icons { display: flex; gap: 2px; color: #8a8a8a; }
.vs-tl-caption { text-align: right; font-size: 12px; color: #8a8a8a; margin: 8px 2px 16px; }
.vs-tl-day { font-size: 12.5px; font-weight: 650; color: #303030; margin: 16px 0 6px 34px; }
.vs-tl-events { position: relative; margin-left: 12px; padding-left: 22px; }
.vs-tl-events::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; background: #e3e3e3; }
.vs-tl-ev { position: relative; display: flex; gap: 10px; justify-content: space-between; padding: 6px 0; font-size: 13px; color: #303030; }
.vs-tl-ev::before { content: ''; position: absolute; left: -26.5px; top: 11px; width: 9px; height: 9px; border-radius: 3px; background: #616161; }
.vs-tl-ev .when { color: #8a8a8a; white-space: nowrap; }
.vs-tl-ev .cmt { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0,0,0,.07); padding: 8px 11px; flex: 1; }

/* ── Activity log ─────────────────────────────────────────────────────── */
.vs-log-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid #f4f4f4; font-size: 13px; }
.vs-log-row:last-child { border-bottom: none; }
.vs-log-ico { width: 30px; height: 30px; border-radius: 9px; background: #f1f1f1; color: #4a4a4a; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.vs-log-row .when { margin-left: auto; color: #8a8a8a; white-space: nowrap; font-size: 12.5px; }

/* ── Upcoming orders rows ─────────────────────────────────────────────── */
.vs-uo-date { font-weight: 650; color: #1a1a1a; }
.vs-uo-date.skip { text-decoration: line-through; color: #8a8a8a; font-weight: 550; }
.vs-uo-actions { display: flex; justify-content: flex-end; align-items: center; gap: 7px; min-height: 30px; }

/* ── Modals / toast ───────────────────────────────────────────────────── */
.vs-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 20px; }
.vs-modal { background: #fff; border-radius: 12px; width: 620px; max-width: calc(100vw - 48px); max-height: 92vh; display: flex; flex-direction: column; animation: vpop .2s ease; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.vs-modal.w560 { width: 560px; } .vs-modal.w640 { width: 640px; }
.vs-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #ebebeb; }
.vs-modal-head .tt { font-size: 14.5px; font-weight: 650; color: #1a1a1a; }
.vs-modal-head .ss { font-size: 12.5px; color: #616161; margin-top: 3px; line-height: 1.45; }
.vs-modal-body { padding: 18px; overflow-y: auto; }
.vs-modal-foot { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid #ebebeb; flex-shrink: 0; }
.vs-modal-foot .spacer { flex: 1; }
.vs-x { background: transparent; border: none; font-size: 15px; color: #616161; padding: 4px 8px; border-radius: 6px; }
.vs-x:hover { background: #f1f1f1; }
@keyframes vpop { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
.vs-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #1a1a1a; color: #fff; font-size: 13px; font-weight: 550; border-radius: 10px; padding: 10px 16px; z-index: 60; animation: vpop .18s ease; white-space: nowrap; }

/* Delivery editor rows (bordered, no thumbs) */
.vs-ded-row { display: flex; align-items: center; gap: 10px; border: 1px solid #e3e3e3; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.vs-ded-row .nm { flex: 1; min-width: 0; }
.vs-ded-row .nm .t { font-weight: 650; color: #1a1a1a; }
.vs-ded-row .nm .s { font-size: 12px; color: #8a8a8a; margin-top: 1px; }
.vs-qty-in { width: 52px; border: 1px solid #8a8a8a; border-radius: 8px; padding: 6px 0; text-align: center; font-size: 13px; }
.vs-price-in { position: relative; width: 76px; }
.vs-price-in span { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); color: #8a8a8a; font-size: 12.5px; }
.vs-price-in input { width: 100%; padding: 6px 6px 6px 20px; border: 1px solid #8a8a8a; border-radius: 8px; font-size: 13px; }
/* items modal rows inside one bordered container, with thumbs + steppers */
.vs-sit-wrap { border: 1px solid #e3e3e3; border-radius: 12px; overflow: hidden; }
.vs-sit-row { display: flex; align-items: center; gap: 11px; padding: 12px 14px; border-bottom: 1px solid #f1f1f1; }
.vs-sit-row .nm { flex: 1; min-width: 0; }
.vs-sit-row .nm .t { font-weight: 650; color: #1a1a1a; }
.vs-sit-row .nm .s { font-size: 12px; color: #8a8a8a; }
.vs-sit-sub { display: flex; justify-content: space-between; padding: 12px 14px; font-size: 13px; background: #fafafa; }
.vs-qty { display: inline-flex; align-items: center; border: 1px solid #8a8a8a; border-radius: 9px; overflow: hidden; }
.vs-qty button { width: 27px; height: 30px; background: #fff; border: none; font-size: 14px; color: #303030; }
.vs-qty button:hover { background: #f4f4f4; }
.vs-qty input { width: 36px; border: none; text-align: center; font-size: 13px; outline: none; }
.vs-pick { border: 1px solid #e3e3e3; border-radius: 10px; margin-top: 8px; max-height: 220px; overflow-y: auto; }
.vs-pick-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #f1f1f1; cursor: pointer; }
.vs-pick-row:hover { background: #f7f7f7; }
.vs-pick-row:last-child { border-bottom: none; }
.vs-pick-row.off { opacity: .5; cursor: default; }
.vs-sum { border-top: 1px solid #ebebeb; margin-top: 12px; padding-top: 12px; }

/* Plan editor option rows / applies-to rows */
.vs-opt-row { display: flex; align-items: center; gap: 10px; border: 1px solid #e3e3e3; border-radius: 10px; padding: 11px 13px; margin-bottom: 8px; font-size: 13px; }
.vs-opt-row .grip { color: #8a8a8a; display: inline-flex; flex-direction: column; line-height: .5; }
.vs-opt-row .radio { width: 16px; height: 16px; border-radius: 50%; border: 5px solid #1a1a1a; background: #fff; flex-shrink: 0; }
.vs-ap-row { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-bottom: 1px solid #f1f1f1; font-size: 13px; }
.vs-ap-row:last-child { border-bottom: none; }
.vs-drag-row { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 7px; font-size: 12.5px; user-select: none; }
.vs-drag-row:hover { background: #f7f7f7; }
.vs-drag-row .grip { cursor: grab; color: #8a8a8a; }
.vs-drag-row.dragging { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); position: relative; z-index: 5; }

.vs-logout { margin-left: auto; background: transparent; border: none; color: #616161; font-size: 12px; padding: 2px 4px; border-radius: 6px; flex-shrink: 0; }
.vs-logout:hover { background: rgba(255,255,255,.6); color: #1a1a1a; }
