/* ShipBridge admin UI — Polaris look (black primary), Inter, compact Shopify-admin sizing. */
/* Inter, self-hosted (SIL OFL, see fonts/LICENSE-Inter.txt) */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --green: #16a34a; --green-ink: #166534; --green-soft: #dcfce7; --amber-ink: #92400e; --amber-soft: #fef3c7; --amber-line: #fde68a; --red-ink: #991b1b; --red-soft: #fee2e2; --red-line: #fecaca; --blue-ink: #1e40af; --blue-soft: #dbeafe; }
* { box-sizing: border-box; }
html, body { margin: 0; font: 13.5px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.amount, .st-value, .big, .p-price, .gauge b, .pipe-tabs b, .fp-stats b { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }
s-app-nav { display: none; }
h1 { margin: 0; font-weight: 700; }
h2 { margin: 0; letter-spacing: -.01em; }
.meta { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.hint { margin: 0; font-size: 12px; color: var(--muted); }
.sub { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.ellip { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shell { max-width: 1240px; margin: 0 auto; padding: 18px 20px 80px; }
.narrow { max-width: 1040px; margin-left: auto; margin-right: auto; }
.card { background: var(--card); }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

#banners > * { margin-bottom: 12px; }
.banner { border-radius: 12px; padding: 11px 14px; font-size: 13.5px; }
.banner.warn { background: var(--amber-soft); color: #78350f; border: 1px solid var(--amber-line); }
.banner.bad { background: var(--red-soft); color: #7f1d1d; border: 1px solid var(--red-line); }
.banner.info { background: var(--blue-soft); color: #1e3a8a; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 13px; border: 0; font: inherit; cursor: pointer; text-decoration: none; white-space: nowrap; }

.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(0,91,211,.3); outline-offset: 2px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }




.btn.warn { background: var(--red-soft); color: var(--red-ink); box-shadow: inset 0 0 0 1px var(--red-line); }
.btn.danger-text { color: #c5280c; }
.btn.sm { height: 32px; padding: 0 11px; font-size: 12px; }
.btn.icon { width: 36px; padding: 0; }
.btn[disabled], .btn.loading { opacity: .5; cursor: not-allowed; }
.btn.loading { position: relative; color: transparent !important; }
.btn.loading::after { content: ""; position: absolute; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(0,0,0,.2); border-top-color: var(--ink); animation: spin .7s linear infinite; }
.btn.primary.loading::after { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* header */
.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo { width: 40px; height: 40px; display: grid; place-items: center; flex: none; }
.logo svg { width: 22px; height: 22px; }
.top-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.live-pill i, .live i { width: 7px; height: 7px; border-radius: 50%; animation: pulse 2s infinite; display: inline-block; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; margin-top: 4px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.stats:empty { display: none; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { display: flex; gap: 12px; padding: 14px 16px; align-items: flex-start; }
.st-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.st-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.st-usage .st-icon { background: #f1f1f1; color: #303030; } .st-wait .st-icon { background: #fff7e6; color: #d97706; }
.st-sent .st-icon { background: #e8f8ef; color: #16a34a; } .st-alert .st-icon { background: #fdecec; color: #dc2626; }
.st-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.st-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.st-value { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.st-value small { font-size: 15px; color: var(--muted); font-weight: 600; }
.meter { display: block; width: 84px; height: 5px; border-radius: 99px; background: #eceef2; overflow: hidden; margin-top: 6px; }
.meter.wide { width: 100%; }
.meter i { display: block; height: 100%; border-radius: 99px; }
.m-brand { background: var(--grad); } .m-safe { background: #22c55e; } .m-low { background: #3b82f6; } .m-pending { background: #9ca3af; } .m-medium { background: #f59e0b; } .m-high { background: #ef4444; }

/* setup guide */
.setup { padding: 14px 18px; margin-bottom: 14px; }
.setup-top { display: flex; width: 100%; justify-content: space-between; align-items: flex-start; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.setup-top b { display: block; font-size: 15px; }
.chev { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; transition: transform .2s; }
.setup.collapsed .chev { transform: rotate(-90deg); }
.setup.collapsed .steps { display: none; }
.progress { height: 8px; background: #e3e5ea; border-radius: 99px; overflow: hidden; margin: 12px 0 6px; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .4s; }
.steps { list-style: none; margin: 6px 0 0; padding: 0; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 7px 0; flex-wrap: wrap; }
.steps .tick { width: 18px; height: 18px; border-radius: 50%; border: 1.6px dashed #9ca3af; flex: none; display: grid; place-items: center; }
.steps li.done .tick { border: 0; background: var(--grad); }
.steps li.done .tick::after { content: ""; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px,-1px); }
.steps li.done .step-text { color: var(--muted); }
.steps .step-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* pipeline */
.pipeline { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
@media (max-width: 900px) { .pipeline { display: flex; overflow-x: auto; padding-bottom: 4px; } .pipeline .stage { flex: none; width: 132px; } }
.stage { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 13px; border-radius: 14px; text-align: left; cursor: pointer; font: inherit; border: 0; background: #fff; box-shadow: var(--shadow); color: var(--ink-2); position: relative; }
.stage .s-label { display: flex; width: 100%; justify-content: space-between; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.stage .s-num { font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.stage .s-hint { font-size: 12px; color: var(--muted); }
.stage::before { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: transparent; }
.stage.t-new .s-num { color: #d97706; } .stage.t-go .s-num { color: var(--accent); } .stage.t-done .s-num { color: #16a34a; } .stage.t-bad .s-num { color: #dc2626; }
.stage:hover { background: #f7f8fa; }
.stage.active { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.stage.active::before { background: var(--grad); }

/* orders list */
.list { padding: 12px 0 4px; overflow: clip; }
.list-top { display: flex; gap: 10px; padding: 0 14px 10px; align-items: center; flex-wrap: wrap; }
.search { display: flex; flex: 1; min-width: 220px; align-items: center; gap: 8px; border: 1px solid #e3e5ea; padding: 0 12px; }
.search:focus-within { background: #fff; }
.search svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: 0; font: inherit; flex: 1; min-width: 0; background: transparent; }
.status-tabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.status-tabs button { font: inherit; font-size: 13.5px; border: 0; background: transparent; padding: 7px 10px 9px; cursor: pointer; color: #4b5563; white-space: nowrap; border-radius: 8px 8px 0 0; position: relative; }
.status-tabs button:hover { background: #f1f2f4; }
.status-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.status-tabs button[aria-selected="true"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2.5px; background: var(--grad); border-radius: 2px; }
.status-tabs .n { display: inline-block; margin-left: 4px; font-size: 11px; padding: 0 6px; border-radius: 99px; background: #eceef2; color: #4b5563; font-weight: 600; }
.risk-filter { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.risk-filter .lbl { font-size: 12px; color: var(--muted); font-weight: 600; margin-right: 4px; }
.risk-filter button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; padding: 3px 10px; border: 1px solid #e3e5ea; background: #fff; cursor: pointer; color: #374151; }
.risk-filter button span { color: var(--muted); font-weight: 600; }
.risk-filter button i { width: 7px; height: 7px; border-radius: 50%; }
.rk-high i { background: #ef4444; } .rk-medium i { background: #f59e0b; } .rk-low i { background: #22c55e; } .rk-safe i { background: #15803d; } .rk-pending i { background: #9ca3af; }
.risk-filter button.active { color: #fff; }
.risk-filter button.active span { color: #d4d6da; }
.table-wrap { overflow-x: auto; }
/* Columns sized to their content: short fixed ones (order, payment, fulfillment, courier) stay tight;
   spare width goes to products, customer and fraud check, which hold the longest text. */
.list-head, .row { display: grid; grid-template-columns: 24px 70px minmax(118px, 1.2fr) minmax(110px, 1fr) 84px 92px 152px minmax(140px, 1.35fr) 136px; gap: 8px; align-items: center; min-width: 990px; }
/* Status is centred in its column: pill, progress dots, parcel number and the header label. */
.row > .c-st { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.list-head > span:nth-child(7) { text-align: center; }
.list-head { border-bottom: 1px solid var(--line); }
input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; margin: 0; }
.group-title { display: flex; align-items: center; gap: 8px; padding: 12px 14px 4px; font-size: 12px; font-weight: 700; color: #374151; min-width: 1120px; }
.group-title i { width: 8px; height: 8px; border-radius: 3px; }
.group-title span { color: var(--muted); font-weight: 400; }
.row { border-bottom: 1px solid var(--line); cursor: pointer; }
.row:last-child { border-bottom: 0; }


.o-name { font-weight: 600; }
.prod { display: flex; align-items: center; gap: 10px; min-width: 0; }
.thumbs { display: flex; flex: none; }
.thumb { width: 34px; height: 34px; object-fit: cover; background: #f1f2f4; border: 2px solid #fff; display: grid; place-items: center; font-weight: 700; color: #4b5563; }
.thumb + .thumb { margin-left: -14px; }
.prod-t { min-width: 0; }
.amount { font-weight: 600; white-space: nowrap; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; white-space: nowrap; }
 
  .badge.purple { background: #f1f1f1; color: #303030; }
.track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; width: 110px; }
.track i { height: 5px; border-radius: 3px; background: #e3e5ea; }
.track i.on { background: var(--grad); }
.track.bad i.on { background: #ef4444; }
.stage-txt { font-size: 12px; font-weight: 600; margin-top: 5px; }
.stage-txt.ok { color: #303030; } .stage-txt.bad { color: #b91c1c; } .stage-txt.idle { color: var(--muted); }
.err { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; color: #b91c1c; font-size: 12px; line-height: 1.35; margin-top: 4px; }
.risk { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 12px; font-weight: 600; padding: 3px 9px 3px 7px; border-radius: 99px; border: 0; cursor: pointer; white-space: nowrap; }
.risk svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.risk-safe { background: var(--green-soft); color: var(--green-ink); } .risk-low { background: var(--green-soft); color: var(--green-ink); }
.risk-medium { background: var(--amber-soft); color: var(--amber-ink); } .risk-high { background: var(--red-soft); color: var(--red-ink); } .risk-pending { background: #f1f2f4; color: #4b5563; }
.assign { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 600; padding: 5px 10px; cursor: pointer; white-space: nowrap; text-decoration: none; }
.assign:hover { border-color: #b5b5b5; }
.assign.warn { border-color: #fecaca; }
.assign.warn:hover { background: var(--red-soft); border-color: #fca5a5; }
.assign svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.courier-chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.cmono { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 11px; flex: none; }
.empty { text-align: center; padding: 34px 12px; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }

/* drawer (order detail) */
.drawer-bg { position: fixed; inset: 0; background: rgba(17,24,39,.28); z-index: 70; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100%; background: #fff; z-index: 71; overflow-y: auto; overflow-x: hidden; box-shadow: -12px 0 40px rgba(17,24,39,.18); animation: slide .18s ease-out; }
@keyframes slide { from { transform: translateX(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.d-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.d-head .name { font-size: 20px; font-weight: 700; margin-top: 2px; }
.d-actions { padding: 14px 20px; display: flex; gap: 8px; }
.d-actions .btn { flex: 1 1 0; min-width: 0; height: 40px; }
.d-note { margin: 0 20px 14px; font-size: 12px; padding: 10px 12px; border-radius: 12px; background: var(--red-soft); color: #7f1d1d; }
.d-risk { margin: 0 20px; border-radius: 14px; padding: 14px; display: flex; gap: 14px; align-items: center; }
.d-risk.l-high { background: #fdecec; color: #7f1d1d; } .d-risk.l-medium { background: #fffbeb; color: #78350f; }
.d-risk.l-pending { background: #f4f5f8; color: #1f2937; } .d-risk.l-low, .d-risk.l-safe { background: #e8f8ef; color: #14532d; }
.ring { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.ring b { width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; text-align: center; font-size: 15px; font-weight: 700; background: #fff; line-height: 1.05; }
.ring b small { display: block; font-size: 11px; font-weight: 600; color: #4b5563; }
.r-scale { font-size: 11px; opacity: .8; margin-top: 1px; }
.d-risk .t { font-size: 15px; font-weight: 700; }
.d-risk ul { margin: 4px 0 0; padding: 0; list-style: none; font-size: 12px; display: grid; gap: 2px; }
.fp-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 12px 20px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fp-stats div { padding: 9px 4px; text-align: center; border-right: 1px solid var(--line); }
.fp-stats div:last-child { border-right: 0; }
.fp-stats b { display: block; font-size: 15px; }
.fp-stats span { font-size: 11px; color: var(--muted); }
.d-sec { padding: 18px 20px 4px; }
.d-label { font-size: 11px; font-weight: 700; color: #5f6673; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding-bottom: 12px; position: relative; }
.tl li::before { content: ""; position: absolute; left: 6px; top: 18px; bottom: 0; width: 2px; background: #e3e5ea; }
.tl li:last-child::before { display: none; }
.tl li.done::before { background: var(--accent); }
.tl .dot { width: 14px; height: 14px; border-radius: 50%; margin-top: 3px; background: #d4d6da; position: relative; z-index: 1; }
.tl li.done .dot, .tl li.now .dot { background: var(--accent); }
.tl li.now .dot { box-shadow: 0 0 0 5px rgba(0,91,211,.18); }
.tl li.bad .dot { background: #ef4444; box-shadow: 0 0 0 5px rgba(239,68,68,.18); }
.tl .lbl { font-size: 13.5px; color: var(--muted); }
.tl li.done .lbl { color: var(--ink); font-weight: 600; } .tl li.now .lbl { color: #303030; font-weight: 700; } .tl li.bad .lbl { color: #b91c1c; font-weight: 700; }
.synced { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #15803d; padding: 2px 0 8px; }
.synced svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.d-money { margin: 8px 20px 20px; border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 9px; }
.d-money > div { display: flex; justify-content: space-between; gap: 10px; }
.d-money .tot { font-size: 15px; font-weight: 700; }
/* One product per line, however many items the order has. */
.d-money > .d-items { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-bottom: 6px; }
.d-items .it { display: flex; gap: 10px; align-items: center; min-width: 0; }
.d-items .it .ellip { min-width: 0; }
.d-items .it .sub { flex-shrink: 0; }

/* bulk bar, menus, toast */
/* Bulk actions take the place of the column headings and stay at the top while scrolling. */
.bulk-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-height: 38px; padding: 6px 14px; background: #f1f1f1; border-bottom: 1px solid #dcd9fb; box-shadow: 0 6px 12px -10px rgba(17,24,39,.35); }
.bulk-head #bulk-count { font-weight: 700; white-space: nowrap; margin: 0 6px 0 4px; }
.bulk-head #bulk-clear { margin-left: auto; }
.list.selecting .list-head { display: none; }
.menu { position: absolute; z-index: 80; min-width: 220px; background: #fff; border-radius: 12px; padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.16), 0 0 0 1px rgba(0,0,0,.06); }
.menu button { display: flex; width: 100%; align-items: center; gap: 10px; font: inherit; text-align: left; border: 0; background: none; padding: 8px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.menu button:hover:not([disabled]) { background: #f4f5f8; }
.menu button[disabled] { cursor: not-allowed; color: #9ca3af; }
.menu button[disabled] .cmono { opacity: .45; }
.menu .tag { margin-left: auto; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 99px; background: #f1f1f1; color: #303030; }
.menu-title { font-size: 11px; font-weight: 600; color: var(--muted); padding: 6px 8px 4px; text-transform: uppercase; letter-spacing: .04em; }
.fraud-pop { width: 330px; padding: 0; overflow: hidden; }
.fp-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.fp-head svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fp-head b { display: block; font-size: 15px; } .fp-head span { font-size: 12px; opacity: .8; }
.fp-head em { margin-left: auto; font-style: normal; font-weight: 700; }
.fraud-pop .fp-stats { margin: 0; border-radius: 0; border-left: 0; border-right: 0; }
.fp-reasons { list-style: none; margin: 0; padding: 10px 14px; display: grid; gap: 6px; }
.fp-reasons li { position: relative; padding-left: 15px; font-size: 12px; color: #374151; }
.fp-reasons li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: #9ca3af; }
.fp-reasons li.t-red::before { background: #ef4444; } .fp-reasons li.t-yellow::before { background: #f59e0b; } .fp-reasons li.t-blue::before { background: #3b82f6; } .fp-reasons li.t-green::before { background: #22c55e; }
.fp-foot { display: flex; justify-content: space-between; gap: 8px; padding: 9px 14px; background: var(--soft); font-size: 11px; color: var(--muted); }
.soon { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 99px; background: #ede3ff; color: #4b1fa6; }
.toast { position: fixed; left: 50%; top: 16px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 9px 15px; border-radius: 10px; font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.toast.bad { background: #991b1b; }

/* settings */
.settings-tabs { display: flex; gap: 4px; border-bottom: 1px solid #d4d6da; margin-bottom: 18px; }
.settings-tabs button { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13.5px; color: #4b5563; background: none; border: 0; padding: 10px 14px; cursor: pointer; position: relative; }
.settings-tabs button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.settings-tabs button.active { color: var(--ink); font-weight: 600; }
.settings-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2.5px; background: var(--grad); }
.courier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { .courier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .courier-grid { grid-template-columns: 1fr; } }
.c-card { overflow: hidden; display: flex; flex-direction: column; }
.c-banner { height: 112px; display: grid; place-items: center; background: var(--c); color: #fff; }
.c-banner .word { font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.c-banner.light { background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.c-card.off .c-banner { filter: saturate(.55); opacity: .85; }
.c-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.c-title { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.c-title b { font-size: 15px; margin-right: 2px; }
.c-desc { color: #4b5563; font-size: 13.5px; }
.c-foot { margin-top: auto; padding-top: 6px; }
.status-pill { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 8px; background: #e3e5ea; color: #4b5563; margin-left: auto; }
.status-pill.ok { background: var(--green-soft); color: var(--green-ink); } .status-pill.warn { background: var(--amber-soft); color: var(--amber-ink); }
.default-pill { font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 8px; background: #f1f1f1; color: #3730a3; }
.c-title .status-pill { margin-left: 0; }
.detail-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; font-weight: 600; }
.back-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cdetail { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 760px) { .cdetail { grid-template-columns: 1fr; } }
.detail-nav { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.detail-brand { display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.detail-brand .cmono { width: 32px; height: 32px; border-radius: 9px; font-size: 15px; }
.detail-nav button { display: flex; align-items: center; gap: 9px; font: inherit; border: 0; background: none; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-align: left; color: #303030; }
.detail-nav button:hover { background: #f4f5f8; }
.detail-nav button.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.nav-dot { width: 9px; height: 9px; border-radius: 50%; background: #f59e0b; flex: none; }
.nav-dot.ok { background: #22c55e; }
.section { padding: 18px; }
.sec-head { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.sec-head > div { flex: 1; }
.sec-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #fff1e0; color: #b95f00; }
.sec-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-icon.green { background: #e8f8ef; color: #1f7a4d; }
.sec-icon.big { width: 52px; height: 52px; border-radius: 14px; } .sec-icon.big svg { width: 26px; height: 26px; }
.pill-important { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: #ede3ff; color: #4b1fa6; vertical-align: 2px; margin-left: 4px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.sec-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.grid-w { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 12px; }
@media (max-width: 640px) { .grid-w { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 600; color: #303030; }
.field input, .field select, .field textarea { height: 38px; border-radius: 9px; border: 1px solid #d4d6da; padding: 0 11px; font: inherit; color: var(--ink); background: #fff; width: 100%; }
.field textarea { height: auto; padding: 9px 11px; resize: vertical; }
.field input[readonly] { background: var(--soft); font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,91,211,.14); outline: 0; }
.copy { display: flex; gap: 8px; } .copy input { flex: 1; }
.howto { background: var(--soft); border-radius: 10px; padding: 12px 14px; font-size: 12px; }
.howto ol { margin: 6px 0 0; padding-left: 18px; color: #4b5563; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 3px; gap: 3px; }
.seg button { height: 32px; padding: 0 12px; border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; flex: 1; }
.seg button[aria-checked="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.pref { display: flex; flex-direction: column; gap: 8px; } .pref b { font-weight: 600; }
.switch-row { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; position: relative; }
.switch-row span { flex: 1; display: flex; flex-direction: column; }
.switch-row b { font-weight: 600; }
.switch-row small { font-size: 12px; color: var(--muted); }
.switch-row input { position: absolute; right: 0; top: 0; width: 42px; height: 24px; opacity: 0; margin: 0; cursor: pointer; }
.switch-row i { width: 42px; height: 24px; border-radius: 99px; background: #d4d6da; position: relative; flex: none; transition: background .15s; }
.switch-row i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.switch-row input:checked + i { background: var(--grad); }
.switch-row input:checked + i::after { left: 21px; }
.switch-row input:focus-visible + i { outline: 3px solid rgba(0,91,211,.3); outline-offset: 2px; }
.switch-row input:disabled + i { opacity: .55; }
.perm-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: #78350f; }
.perm-box ol { margin: 6px 0 10px; padding-left: 18px; display: grid; gap: 4px; }
.perm-box code { background: #fef3c7; border-radius: 5px; padding: 0 5px; font-size: 12px; }
.ok-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #15803d; font-weight: 600; background: #e8f8ef; border-radius: 10px; padding: 10px 12px; }
.wait-line { display: block; font-size: 13.5px; background: #fffbeb; color: #92400e; border-radius: 10px; padding: 10px 12px; }
.soon-card { padding: 34px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.soon-card ul { text-align: left; color: #4b5563; margin: 8px 0 0; }

/* billing */
.bill-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 820px) { .bill-top { grid-template-columns: 1fr; } }
.bill-current, .bill-usage { padding: 18px; display: flex; flex-direction: column; gap: 7px; }
.bc-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bc-name b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.big { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.big small { font-size: 15px; color: var(--muted); font-weight: 600; }
.bar { height: 9px; border-radius: 99px; background: #e3e5ea; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }
.bar i.hot { background: #e8742f; }
.plans-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.plans-head .seg { min-width: 300px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 20px; }
.plan { padding: 20px; position: relative; display: flex; flex-direction: column; gap: 9px; border: 2px solid transparent; }
.plan.featured { border-color: var(--accent); }
.plan.current { background: #f7f8fa; }
.plan .p-tag { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; background: var(--grad); color: #fff; padding: 2px 9px; border-radius: 99px; }
.plan .p-tag.cur { background: var(--ink); }
.plan .p-name { font-size: 15px; font-weight: 700; }
.plan .p-price { font-size: 26px; font-weight: 700; }
.plan .p-price small { font-size: 13.5px; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.plan .cta { margin-top: auto; } .plan .cta .btn { width: 100%; height: 40px; }
.history { padding: 18px; }
.history table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13.5px; }
.history th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #5f6673; font-weight: 600; padding: 8px 10px; background: var(--soft); }
.history td { padding: 10px; border-top: 1px solid var(--line); }
.history .wrap { overflow-x: auto; }

/* support */
.wa-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 14px; text-decoration: none; color: var(--ink); background: linear-gradient(90deg, #e8f8ef, #fff); }
.wa-icon { width: 46px; height: 46px; border-radius: 14px; background: #25D366; display: grid; place-items: center; flex: none; color: #fff; }
.wa-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.wa-text { flex: 1; display: flex; flex-direction: column; } .wa-text b { font-size: 15px; } .wa-text span { font-size: 12px; color: var(--muted); }
.btn.wa svg { fill: none; stroke: currentColor; }
.support-grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 14px; margin-bottom: 14px; align-items: start; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }
.checks, .contact, .faq { padding: 18px; }
.contact { display: flex; flex-direction: column; gap: 10px; }
#ticket-form { display: flex; flex-direction: column; gap: 12px; }
#checks { list-style: none; margin: 10px 0 0; padding: 0; }
#checks li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); }
#checks li:first-child { border-top: 0; }
.ck { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; }
.ck.ok { background: var(--green-soft); } .ck.warn { background: var(--amber-soft); } .ck.bad { background: var(--red-soft); } .ck.wait { background: #f1f2f4; }
.ck svg { width: 13px; height: 13px; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ck.ok svg { stroke: #16a34a; } .ck.warn svg { stroke: #b45309; } .ck.bad svg { stroke: #dc2626; } .ck.wait svg { stroke: #5f6673; }
#checks b { display: block; font-weight: 600; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-of-type { margin-top: 8px; }
.faq summary { cursor: pointer; padding: 11px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font-weight: 700; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 12px; color: #4b5563; }
.tk { border-top: 1px solid var(--line); padding: 10px 0; }
.footer { text-align: center; padding: 22px 0 0; font-size: 12px; }
.footer a { color: var(--muted); display: inline-block; padding: 8px 10px; }
@media (max-width: 600px) { .top-actions .btn:not(.wa) svg + * { } .shell { padding: 14px 12px 80px; } }
.row > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.link-btn { font: inherit; font-size: 12px; background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; margin-top: 3px; }

/* ===== polish v3 ===== */


.o-name { font-weight: 600; letter-spacing: -.01em; }

/* slim setup bar */
.setup { padding: 10px 14px; }
.setup-top { align-items: center; gap: 12px; }
.setup-ring { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.setup-ring b, .hero-ring b { width: 29px; height: 29px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--accent); }
.setup-txt { flex: 1; display: flex; flex-direction: column; }
.setup-txt b { font-size: 13.5px; font-weight: 600; }
.setup-cta { font-size: 12px; font-weight: 600; color: var(--accent); }
.setup .steps { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 4px; }
.setup .steps li { justify-content: flex-start; }
.setup .steps li .btn { margin-left: auto; }

/* pipeline as tabs */
.pipe-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.pipe-tabs button { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.pipe-tabs button b { font-size: 12px; font-weight: 600; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; background: #f1f2f4; color: #4b5563; }

.pipe-tabs button.t-new b { background: #fff4e0; color: #b45309; }
.pipe-tabs button.t-go b { background: #f1f1f1; color: #303030; }
.pipe-tabs button.t-done b { background: #e8f8ef; color: #15803d; }
.pipe-tabs button.t-bad b { background: #fdecec; color: #b91c1c; }
.pipe-tabs button[aria-selected="true"] { border-color: var(--ink); }
.pipe-tabs button[aria-selected="true"] b { background: rgba(255,255,255,.16); color: #fff; }
.list-top { padding-top: 2px; }

/* status cell */
.st { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 7px; font-size: 12px; font-weight: 600; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.st-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.row > * { min-width: 0; }
.st svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }




.st-hold { background: #fff4e0; color: #b45309; }
.dots { display: flex; align-items: center; margin-top: 8px; width: 112px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #e3e5ea; flex: none; position: relative; }
.dots i + i { margin-left: 18px; }
.dots i + i::before { content: ""; position: absolute; right: 8px; top: 3px; width: 18px; height: 2px; background: #e3e5ea; }
.dots i.on { background: var(--accent); }
.dots i.on + i.on::before { background: var(--accent); }



.dots i.x { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.cn { display: inline-block; margin-top: 6px; font-size: 11px; border: 1px solid #eceef2; border-radius: 6px; padding: 1px 6px; }

/* fraud check cell */
.fc { display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 4px 6px 4px 4px; margin: -4px; border-radius: 12px; cursor: pointer; font: inherit; text-align: left; color: inherit; }
.fc:hover { background: #f7f8fa; }
.gauge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.gauge b { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #374151; }
.fc-t { display: flex; flex-direction: column; min-width: 0; }
.fc-t b { font-size: 12px; font-weight: 600; white-space: nowrap; }
.fc-t small { font-size: 11px; color: var(--muted); white-space: nowrap; }
  .fc-low .fc-t b { color: #15803d; } .fc-safe .fc-t b { color: #15803d; } .fc-pending .fc-t b { color: #4b5563; }

/* couriers: checklist layout */
.cx { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
@media (max-width: 1100px) { .cx { grid-template-columns: 230px minmax(0, 1fr); } .cx-rules { grid-column: 1 / -1; } }
@media (max-width: 760px) { .cx { grid-template-columns: 1fr; } }
.cx-list { display: flex; flex-direction: column; gap: 6px; }
.cx-label { font-size: 11px; font-weight: 600; color: #4b5563; text-transform: uppercase; letter-spacing: .05em; padding: 8px 4px 2px; }
.cx-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid transparent; box-shadow: var(--shadow); font: inherit; text-align: left; cursor: pointer; color: var(--ink); width: 100%; }
.cx-item:hover { background: #f7f8fa; }
.cx-item.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,91,211,.12); }
.cx-item.off { cursor: default; box-shadow: none; background: transparent; border: 1px dashed #e3e5ea; }
.cx-item.off .cmono { opacity: .55; }
.cx-item .cmono { width: 32px; height: 32px; border-radius: 9px; font-size: 13.5px; }
.cx-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cx-name b { font-weight: 600; }
.cx-name small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-name small.ok { color: #15803d; font-weight: 600; } .cx-name small.warn { color: #b45309; font-weight: 600; }
.cx-def { font-size: 11px; font-weight: 700; padding: 1px 7px; }
.cx-main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cx-hero { padding: 18px; display: grid; grid-template-columns: 1fr auto; gap: 14px; }
.hero-l { display: flex; gap: 14px; align-items: center; }
.cmono.big { width: 48px; height: 48px; border-radius: 14px; font-size: 20px; }
.hero-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-title h2 { font-size: 20px; }
.hero-r { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hero-ring { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.hero-ring b { width: 36px; height: 36px; font-size: 12px; }
.hero-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 600px) { .hero-facts { grid-template-columns: repeat(2, 1fr); } }
.hero-facts div { background: #fff; border: 1px solid #eceef2; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; min-width: 0; }
.hero-facts span { font-size: 11px; color: #4b5563; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.hero-facts b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.step.attention { box-shadow: 0 0 0 2px #fbbf24, var(--shadow); }
.step-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; background: none; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.step-row:hover { background: #f7f8fa; }
.step-dot { width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #f1f2f4; color: #374151; font-weight: 700; font-size: 12px; }

.step.done .step-dot::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) translate(-1px, -1px); }
.step-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.step-text b { font-weight: 600; }
.step-act { font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.step-body { display: none; padding: 4px 16px 16px 56px; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.step.open .step-body { display: flex; }
@media (max-width: 600px) { .step-body { padding-left: 16px; } }
.howto { margin: 0; padding: 10px 14px 10px 30px; }
.cx-rules { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 12px; }
@media (max-width: 1100px) { .cx-rules { position: static; } }
.rules-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cx-rules .seg { width: 100%; }
.fc { max-width: 100%; } .fc-t small { overflow: hidden; text-overflow: ellipsis; }

/* ===== delivery overview ===== */
.overview { margin-bottom: 14px; }
.ov-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ov-head .seg { background: #eceef2; }
.ov-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1250px) { .ov-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ov-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ov-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { padding: 13px 14px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden; }

.k-total { --k: #303030; } .k-way { --k: #4a4a4a; } .k-done { --k: #22c55e; } .k-bad { --k: #ef4444; } .k-rate { --k: #a855f7; } .k-cash { --k: #f59e0b; } .k-fraud { --k: #ef4444; }
.kpi.skeleton { background: linear-gradient(90deg, #fff 0%, #f4f5f8 50%, #fff 100%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.kpi-top { display: flex; align-items: center; gap: 8px; }
.k-icon { width: 28px; height: 28px; display: grid; place-items: center; flex: none; }
.k-done .k-icon { background: #e8f8ef; color: #16a34a; } .k-bad .k-icon { background: #fdecec; color: #dc2626; } .k-cash .k-icon { background: #fff4e0; color: #d97706; }
.k-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.k-label { font-size: 12px; }
.k-value { font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.k-cash .k-value { font-size: 20px; }
.k-foot { font-size: 12px; color: var(--muted); }
.k-foot b { font-weight: 600; }
.k-split { display: flex; height: 6px; border-radius: 99px; overflow: hidden; gap: 2px; margin: 2px 0; }
.k-split i { display: block; min-width: 0; }
   .k-split .s0 { background: #eceef2; }
.rate { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.rate-ring { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.rate-ring b { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ov-chart { padding: 14px 16px 10px; display: flex; flex-direction: column; min-height: 236px; }
.ch-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ch-head b { display: block; font-weight: 600; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.legend .lb { background: #c7d2fe; } .legend .ld { background: #22c55e; }
.bars { flex: 1; display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 5px; align-items: end; margin-top: 12px; }
.bar-col { display: flex; flex-direction: column; align-items: stretch; height: 100%; min-height: 150px; }
.bar-stack { flex: 1; display: flex; align-items: flex-end; background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), #f1f2f4 calc(25% - 1px) 25%); border-radius: 6px; }
.b-booked { width: 100%; background: #c7d2fe; border-radius: 6px 6px 3px 3px; display: flex; align-items: flex-end; min-height: 3px; transition: height .3s; }
.b-del { width: 100%; background: linear-gradient(180deg, #4ade80, #16a34a); border-radius: 6px 6px 3px 3px; display: block; }
.bar-x { font-size: 11px; color: #9ca3af; text-align: center; height: 16px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.ov-head .seg button { white-space: nowrap; flex: none; }

/* courier logos */
.cmono.logo-img { background: #fff; object-fit: contain; padding: 0; box-shadow: 0 0 0 1px #eceef2; }
.hero-logo { height: 34px; width: auto; flex: none; }
.hero-l { align-items: center; }
.hero-l > div { border-left: 1px solid #e3e5ea; padding-left: 14px; }
.pill-logo.cmono { width: 18px; height: 18px; border-radius: 50%; font-size: 11px; box-shadow: 0 0 0 2px #e8f8ef; flex: none; }
.pill-logos { display: inline-flex; align-items: center; }
.pill-logos .pill-logo + .pill-logo { margin-left: -5px; }
.hero-mono.cmono { width: 48px; height: 48px; border-radius: 12px; font-size: 20px; flex: none; }

/* ---- Hold tab, notes, dashboard auto-send ---- */
.pipe-tabs button.t-hold b { background: #f1f1f1; color: #7e22ce; }
.st-hold { background: #f1f1f1; color: #7e22ce; }
.hold-why { display: block; font-size: 12px; color: #7e22ce; margin-top: 4px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-line { display: block; max-width: 100%; margin-top: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; color: #374151; text-align: left; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-line span { color: var(--muted); font-weight: 600; }
.note-add { display: inline-block; margin-top: 3px; font-size: 12px; }
.d-notes textarea { width: 100%; box-sizing: border-box; border: 1px solid #e3e5ea; border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13.5px; resize: vertical; min-height: 56px; }
.d-notes textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,91,211,.12); }
.note-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.note-foot .hint { font-size: 11px; }
.auto-box { display: flex; align-items: center; gap: 8px; padding: 0 6px 0 10px; border: 1px solid #e3e5ea; background: #fff; white-space: nowrap; }
.mini-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; position: relative; font-size: 13.5px; font-weight: 600; }
.mini-switch input { position: absolute; opacity: 0; width: 36px; height: 20px; margin: 0; cursor: pointer; }
.mini-switch i { width: 36px; height: 20px; border-radius: 99px; background: #d4d6da; position: relative; flex: none; transition: background .15s; }
.mini-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: left .15s; }
.mini-switch input:checked + i { background: var(--grad); }
.mini-switch input:checked + i::after { left: 18px; }
.mini-switch input:disabled + i { opacity: .5; }
.mini-switch input:focus-visible + i { outline: 3px solid rgba(0,91,211,.3); outline-offset: 2px; }
.auto-to { font-size: 12px; color: var(--muted); }
.auto-off { font-size: 12px; color: var(--muted); padding-right: 6px; }
.seg.sm { padding: 2px; }
.seg.sm button { height: 28px; padding: 0 10px; font-size: 12px; }
.seg button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 760px) { .auto-box { width: 100%; } }
.list-note { margin: 10px 14px; padding: 10px 12px; border-radius: 10px; background: #f1f1f1; border: 1px solid #e9d5ff; color: #4c1d95; font-size: 13.5px; line-height: 1.45; }
.list-note code { background: #fff; border: 1px solid #e9d5ff; border-radius: 5px; padding: 0 4px; font-size: 12px; }

/* ---- Fraud card ---- */
button.kpi.k-fraud { font: inherit; color: inherit; text-align: left; border: 0; cursor: pointer; width: 100%; }
button.kpi.k-fraud:hover { box-shadow: 0 0 0 2px #fecaca, var(--shadow); }
.k-fraud .k-icon { background: #fdecec; color: #dc2626; }
.k-fraud .k-value small { font-size: 13.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.k-split .f-high { background: #ef4444; } .k-split .f-med { background: #f59e0b; } .k-split .f-low { background: #86efac; } .k-split .f-safe { background: #22c55e; }

/* ---- Date picker (Shopify-style) ---- */
.dp { position: relative; }
.dp-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; background: #fff; }
.dp-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.dp-btn .dp-chev { width: 14px; height: 14px; color: var(--muted); }
.dp-btn[aria-expanded="true"] .dp-chev { transform: rotate(180deg); }
.dp-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; display: flex; background: #fff; border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(17,24,39,.35), 0 0 0 1px rgba(17,24,39,.08); overflow: hidden; }
.dp-presets { display: flex; flex-direction: column; gap: 2px; padding: 12px; min-width: 150px; border-right: 1px solid var(--line); background: #f7f8fa; }
.dp-presets button { font: inherit; font-size: 13.5px; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: none; cursor: pointer; color: #303030; white-space: nowrap; }
.dp-presets button:hover { background: #f1f2f4; }
.dp-presets button[aria-pressed="true"] { background: #eceef2; font-weight: 600; }
.dp-main { display: flex; flex-direction: column; padding: 14px 16px 12px; gap: 12px; }
.dp-inputs { display: flex; align-items: flex-end; gap: 8px; }
.dp-field { display: flex; flex-direction: column; gap: 4px; flex: 1; font-size: 12px; color: var(--muted); font-weight: 600; }
.dp-field input { font: inherit; font-size: 15px; color: var(--ink); height: 36px; padding: 0 10px; border: 1px solid #d4d6da; border-radius: 10px; background: #fff; min-width: 0; }
.dp-field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,91,211,.15); }
.dp-arrow { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 9px; flex: none; }
.dp-cal { position: relative; display: grid; grid-template-columns: repeat(2, 252px); gap: 20px; }
.dp-month { display: flex; flex-direction: column; gap: 8px; }
.dp-title { text-align: center; font-weight: 600; font-size: 15px; height: 30px; line-height: 30px; }
.dp-nav { position: absolute; top: 0; width: 30px; height: 30px; border-radius: 8px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dp-nav:hover:not(:disabled) { background: #f1f2f4; }
.dp-nav:disabled { opacity: .3; cursor: default; }
.dp-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dp-nav.prev { left: 0; } .dp-nav.next { right: 0; }
.dp-grid { display: grid; grid-template-columns: repeat(7, 36px); row-gap: 2px; }
.dp-dow { text-align: center; font-size: 11px; color: var(--muted); height: 26px; line-height: 26px; }
.dp-grid button { height: 36px; border: 0; background: none; font: inherit; font-size: 13.5px; cursor: pointer; border-radius: 10px; color: var(--ink); font-variant-numeric: tabular-nums; }
.dp-grid button:hover:not(:disabled) { background: #f1f2f4; }
.dp-grid button:disabled { color: #d4d6da; cursor: default; }
.dp-grid button.is-today { box-shadow: inset 0 0 0 1px #d4d6da; }
.dp-grid button.in-range { background: #eceef2; border-radius: 0; }
.dp-grid button.is-start, .dp-grid button.is-end { background: #303030; color: #fff; font-weight: 600; }
.dp-grid button.is-start:hover, .dp-grid button.is-end:hover { background: #14161a; }
.dp-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.dp-foot .hint { margin-right: auto; font-size: 12px; }
.dp-foot .btn:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 860px) { .dp-cal { grid-template-columns: 252px; } .dp-cal .dp-month + .dp-month { display: none; } }
@media (max-width: 560px) { .dp-pop { position: fixed; left: 12px; right: 12px; top: 80px; flex-direction: column; } .dp-presets { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); } }
.courier-msg { margin: 4px 0 8px; padding: 9px 11px; border-radius: 10px; background: #f7f8fa; border: 1px solid #eceef2; font-size: 13.5px; line-height: 1.4; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.courier-msg b { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.d-refresh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.d-refresh .live { margin-top: 0; }
.rules-sub { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; color: #4b5563; text-transform: uppercase; letter-spacing: .05em; }
.step-body .pref { margin-top: 14px; }
.perm-box, .perm-box li, .perm-box code { overflow-wrap: anywhere; word-break: break-word; }
.cx-rules .perm-box ol { padding-left: 18px; }
.bad-line { display: block; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #991b1b; font-size: 13.5px; line-height: 1.45; }
.bad-line b { color: #7f1d1d; }
.spin { display: inline-block; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; margin-right: 7px; vertical-align: -2px; animation: spin .8s linear infinite; }
.check-row { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.check-row input { width: 16px; height: 16px; accent-color: var(--ink, #14161a); margin: 0; }
.check-row input:disabled + span { color: var(--muted); }
.radio-list { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.radio-list legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.radio-list label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.radio-list input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink, #14161a); }
.step-body textarea { width: 100%; box-sizing: border-box; resize: vertical; font: inherit; }

.load-more { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px; border-top: 1px solid var(--line); }
button.cx-item.off { cursor: pointer; }
button.cx-item.off.active { border-style: solid; border-color: var(--accent); }
.cx-item.off .cmono { opacity: .85; }

/* ---- design review fixes (2026-11-05) ---- */
.nowrap { white-space: nowrap; }
.perm-box > div { margin-top: 8px; }
#f1f1f1-hint:empty { display: none; }
#f1f1f1-hint { display: block; margin-top: 6px; }

/* Phones (Shopify mobile app): every order becomes a card with all its info and actions (owner-approved layout). */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .list-head { display: none; }
  .list-head, .row, .group-title { min-width: 0; }
  .row { grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 8px; padding: 12px 14px; align-items: start;
    grid-template-areas: "chk order pay" "chk cust pay" "chk st ful" "chk prod prod" "chk fr cr"; }
  .c-chk { grid-area: chk; padding-top: 2px; } .c-order { grid-area: order; } .c-cust { grid-area: cust; }
  .c-pay { grid-area: pay; text-align: right; }
  .c-ful { grid-area: ful; text-align: right; } .row > .c-st { grid-area: st; align-items: flex-start; } .c-prod { grid-area: prod; }
  .c-fr { grid-area: fr; align-self: center; } .c-cr { grid-area: cr; align-self: center; text-align: right; }
  .c-order .sub { display: inline; margin-left: 6px; }
  .c-cr .live { justify-content: flex-end; }
  /* header: page title on its own line, the three buttons share the next line */
  .top-actions { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .top-actions .live-pill { display: none !important; }
  .top-actions .btn { height: 36px; padding: 0 8px; }
  /* overview: tighter cards */
  .kpi { min-height: 0; padding: 12px; }
  .rate { flex-direction: column; align-items: flex-start; gap: 8px; }
  .k-value { font-size: 20px; }
  .pipe-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .pipe-tabs::-webkit-scrollbar { display: none; }
  .pipe-tabs button { flex: none; }
  #send-new { width: 100%; }
}
.prod-t .sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Overview "Show all": wide screens show every card in one row, so no button. */
.ov-tools { display: flex; align-items: center; gap: 8px; }
.ov-more { display: none; }
@media (max-width: 1249px) {
  .ov-more { display: inline-flex; }
  .ov-kpis.collapsed > .kpi:nth-child(n+4) { display: none; }
}
@media (max-width: 700px) {
  .ov-kpis.collapsed > .kpi:nth-child(n+3) { display: none; }
}

.cx-rules .seg button { font-size: 12px; white-space: nowrap; padding: 0 8px; }

/* ===== Polaris theme (owner's choice 2026-11-05): Shopify admin look. Overrides the base styles above. ===== */
:root {
  --bg: #f1f1f1; --card: #fff; --ink: #303030; --ink-2: #303030; --muted: #616161; --line: #ebebeb; --soft: #f7f7f7;
  --accent: #303030; --accent-2: #303030; --accent-soft: #f1f1f1; --accent-line: #e3e3e3;
  --radius: 12px;
  --shadow: 0 1px 0 0 rgba(26,26,26,.07), 0 0 0 1px rgba(0,0,0,.08);
  --grad: #303030;
}
html, body { font-size: 13px; color: #303030; background: #f1f1f1; font-feature-settings: normal; }
a { color: #005bd3; }
h1 { font-size: 20px; letter-spacing: -.01em; }
h2 { font-size: 14px; font-weight: 600; }

/* buttons: Polaris secondary + black primary with bevel */
.btn { height: 32px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #303030; background: #fff;
  box-shadow: 0 -1px 0 0 #b5b5b5 inset, 0 0 0 1px rgba(0,0,0,.1) inset, 0 .5px 0 1.5px #fff inset; }
.btn:hover { background: #fafafa; }
.btn.ghost { background: #fff; box-shadow: 0 -1px 0 0 #b5b5b5 inset, 0 0 0 1px rgba(0,0,0,.1) inset; }
.btn.primary { background: linear-gradient(180deg, rgba(48,48,48,0) 63.53%, rgba(255,255,255,.15) 100%), #303030; color: #fff;
  box-shadow: 0 -1px 0 1px rgba(0,0,0,.8) inset, 0 0 0 1px #303030 inset, 0 .5px 0 1.5px rgba(255,255,255,.25) inset; }
.btn.primary:hover { filter: none; background: #1a1a1a; }
.btn:focus-visible, input:focus-visible { outline: 2px solid #005bd3; outline-offset: 1px; }
.btn.wa svg { color: #29845a; }
.logo { background: #303030; border-radius: 10px; }

/* cards */
.card { border-radius: 12px; box-shadow: var(--shadow); }
.kpi { min-height: 0; }
.k-icon { background: #f1f1f1 !important; color: #4a4a4a !important; border-radius: 8px; }
.k-label { color: #616161; font-weight: 600; }
.k-split .s1 { background: #d4d4d4; } .k-split .s2 { background: #8a8a8a; } .k-split .s3 { background: #303030; }

/* badges: Polaris tones */
.badge { border-radius: 8px; padding: 2px 8px; font-weight: 600; background: #e3e3e3; color: #616161; }
.badge.green { background: #cdfee1; color: #0c5132; }
.badge.yellow { background: #ffef9d; color: #4f4700; }
.badge.red { background: #fed1d7; color: #8e0b21; }
.badge.blue { background: #e0f0ff; color: #00527c; }
.c-pay .badge.yellow { background: #ffd6a4; color: #5e4200; } /* Payment pending = warning (orange) in Shopify */
.st { border-radius: 8px; }
.st-wait { background: #e3e3e3; color: #4a4a4a; }
.st-go { background: #e0f0ff; color: #00527c; }
.st-ok { background: #cdfee1; color: #0c5132; }
.st-bad { background: #fed1d7; color: #8e0b21; }
.dots i.on, .dots i.on + i.on::before { background: #303030; }
.dots i.cur { box-shadow: 0 0 0 3px rgba(48,48,48,.15); }
.dots-ok i.on, .dots-ok i.on + i.on::before { background: #29845a; }
.dots-bad i.on, .dots-bad i.on + i.on::before { background: #e51c00; }
.cn { background: #f7f7f7; border-color: #ebebeb; color: #616161; }
.live-pill { background: #cdfee1; color: #0c5132; }
.live { color: #29845a; } .live-pill i, .live i { background: #29845a; }

/* tabs: Polaris index-table views (text tabs, grey selected) */
.pipe-tabs { gap: 2px; padding: 6px 10px; }
.pipe-tabs button { height: 28px; border: 0; border-radius: 8px; background: transparent; color: #616161; font-weight: 600; padding: 0 10px; }
.pipe-tabs button:hover { background: #f1f1f1; }
.pipe-tabs button[aria-selected="true"] { background: #ebebeb; color: #303030; border: 0; }
.pipe-tabs button b, .pipe-tabs button[aria-selected="true"] b, .pipe-tabs button.t-new b, .pipe-tabs button.t-go b, .pipe-tabs button.t-done b, .pipe-tabs button.t-bad b { background: transparent; color: #616161; min-width: 0; padding: 0; }
.risk-filter button { border-radius: 8px; }
.risk-filter button.active { background: #303030; border-color: #303030; }

/* index table */
.list { padding-top: 10px; }
.search { border-radius: 8px; background: #fff; border-color: #8a8a8a; height: 32px; }
.search:focus-within { border-color: #005bd3; box-shadow: 0 0 0 1px #005bd3; }
.auto-box { border-radius: 8px; height: 32px; }
.list-head { background: #f7f7f7; text-transform: none; letter-spacing: 0; font-size: 12px; font-weight: 600; color: #616161; padding: 8px 14px; }
.row { padding: 10px 14px; border-bottom-color: #ebebeb; }
.row:hover { background: #f7f7f7; }
.row.sel { background: #f1f1f1; }
input[type=checkbox] { accent-color: #303030; }
.thumb { border-radius: 8px; box-shadow: 0 0 0 1px #e3e3e3; }
.assign { color: #303030; background: #fff; border: 0; border-radius: 8px; box-shadow: 0 -1px 0 0 #b5b5b5 inset, 0 0 0 1px rgba(0,0,0,.1) inset; }
.assign:hover { background: #fafafa; }
.assign.warn { color: #8e0b21; background: #fff; box-shadow: 0 -1px 0 0 #b5b5b5 inset, 0 0 0 1px rgba(0,0,0,.1) inset; }
.fc-low .fc-t b, .fc-safe .fc-t b { color: #0c5132; } .fc-medium .fc-t b { color: #5e4200; } .fc-high .fc-t b { color: #8e0b21; }

/* setup card, stepper, switches */
.setup-cta, .setup-top .setup-cta { color: #005bd3; }
.step.done .step-dot { background: #303030; }
.seg { background: #f1f1f1; border-radius: 8px; }
.seg button { border-radius: 6px; }
input[role=switch]:checked + i, .switch-row input:checked + i { background: #303030 !important; }
.cx-item.active, .cx-item[aria-current="true"] { box-shadow: 0 0 0 2px #303030 !important; }
.hero-ring { color: #303030; }
.cx-def { background: #e3e3e3; color: #303030; border-radius: 8px; }
.cx-hero { background: #fff; }
.cx-label, .hero-facts span, .rules-sub { text-transform: none; letter-spacing: 0; font-size: 12px; color: #616161; }
.k-foot b { color: #0c5132; }
