.rs-console-wrap { --cn-ink: var(--wp--preset--color--ink); --cn-line: var(--wp--preset--color--line); --cn-paper: var(--wp--preset--color--paper); --cn-muted: var(--wp--preset--color--muted); --cn-cobalt: var(--wp--preset--color--cobalt); --cn-up: var(--wp--preset--color--success); --cn-ease: cubic-bezier(.2, .8, .2, 1); position: relative; }
.rs-console { position: relative; overflow: hidden; border: 1px solid rgba(10, 15, 44, .08); border-radius: 18px; background: #fff; color: var(--cn-ink); box-shadow: var(--wp--preset--shadow--deep); font-size: 14px; line-height: 1.45; }
.rs-console p { margin: 0; }
.rs-cn-bar { display: flex; align-items: center; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--cn-line); }
.rs-cn-brand { display: flex; align-items: center; gap: 8px; font: 650 14.5px/1 var(--wp--preset--font-family--display); white-space: nowrap; }
.rs-cn-mark { display: inline-flex; align-items: flex-end; justify-content: center; gap: 2px; width: 22px; height: 22px; padding: 4px 4px 5px; border-radius: 6px; background: var(--wp--preset--color--volt); }
.rs-cn-mark i { width: 3px; border-radius: 2px; background: var(--cn-ink); }
.rs-cn-mark i:nth-child(1) { height: 32%; } .rs-cn-mark i:nth-child(2) { height: 62%; } .rs-cn-mark i:nth-child(3) { height: 100%; }
.rs-cn-tabs { display: flex; gap: 2px; min-width: 0; padding: 3px; border-radius: 9px; background: var(--cn-paper); overflow-x: auto; scrollbar-width: none; }
.rs-cn-tabs::-webkit-scrollbar { display: none; }
.rs-cn-tab { position: relative; padding: 7px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--cn-muted); font: 500 13.5px/1.2 var(--wp--preset--font-family--body); white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s; }
.rs-cn-tab:hover { color: var(--cn-ink); }
.rs-cn-tab.is-on { background: #fff; color: var(--cn-ink); box-shadow: 0 1px 3px rgba(10, 15, 44, .14); }
.rs-cn-right { display: flex; align-items: center; gap: 10px; margin-left: auto; font: 500 12.5px/1 var(--wp--preset--font-family--mono); color: var(--cn-muted); white-space: nowrap; }
.rs-cn-range { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--cn-line); border-radius: 6px; }
.rs-cn-live { display: inline-flex; align-items: center; gap: 6px; color: var(--cn-up); }
.rs-cn-body { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; padding: 18px; background: var(--cn-paper); }
.rs-cn-kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rs-kpi { display: grid; gap: 6px; min-width: 0; padding: 18px 18px 10px; border: 1px solid var(--cn-line); border-radius: 12px; background: #fff; }
.rs-kpi-l { font: 500 11.5px/1.2 var(--wp--preset--font-family--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cn-muted); }
.rs-kpi-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.rs-kpi-v { font: 720 30px/1.05 var(--wp--preset--font-family--display); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.rs-delta { padding: 3px 6px; border-radius: 4px; background: var(--wp--custom--color--up-bg); color: var(--cn-up); font: 600 11.5px/1.2 var(--wp--preset--font-family--mono); white-space: nowrap; }
.rs-spark { display: block; width: 100%; height: 32px; margin-top: 2px; overflow: visible; }
.rs-sp-a { fill: var(--cn-cobalt); fill-opacity: .1; }
.rs-sp-l { fill: none; stroke: var(--cn-cobalt); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.rs-kpi.is-swap .rs-kpi-v, .rs-kpi.is-swap .rs-delta, .rs-kpi.is-swap .rs-kpi-l { animation: rs-flip-in .5s var(--cn-ease) both; }
.rs-kpi.is-swap .rs-delta { animation-delay: .08s; }
@keyframes rs-flip-in { from { opacity: 0; transform: translateY(10px); } }
.rs-cn-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 330px; padding: 20px 22px; border: 1px solid var(--cn-line); border-radius: 12px; background: #fff; }
.rs-cn-pane[hidden] { display: none; }
/* the side column sets the row height; let the open pane fill it instead of leaving a gap under the content */
.rs-cn-pane:not([hidden]) { display: flex; flex: 1 1 auto; flex-direction: column; }
.rs-cn-pane > * { flex: none; }
.rs-cn-pane.is-on { animation: rs-fade-up .45s var(--cn-ease); }
.rs-pane-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-bottom: 16px; }
.rs-pane-t { display: inline-flex; align-items: center; gap: 6px; font: 600 15px/1.2 var(--wp--preset--font-family--body); }
.rs-legend { display: flex; flex-wrap: wrap; gap: 14px; font: 500 12px/1.2 var(--wp--preset--font-family--mono); color: var(--cn-muted); }
.rs-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.rs-legend i.is-rev { background: var(--cn-cobalt); }
.rs-legend i.is-dash { width: 14px; height: 0; border-top: 2px dashed var(--wp--custom--color--muted-2); border-radius: 0; vertical-align: 3px; }
.rs-cn-pane > .rs-cn-chart { position: relative; flex: 1 1 222px; min-height: 222px; }
.rs-cn-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.rs-cn-chart svg.is-draw { animation: rs-clip-in 1.6s var(--cn-ease) both; }
@keyframes rs-clip-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.rs-console-wrap .rs-grid line { stroke: var(--cn-line); stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.rs-c-area { fill: var(--cn-cobalt); fill-opacity: .12; }
.rs-c-rev { fill: none; stroke: var(--cn-cobalt); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.rs-c-spend { fill: none; stroke: var(--wp--custom--color--muted-2); stroke-width: 2; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.rs-chart-dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid #fff; border-radius: 50%; background: var(--cn-cobalt); color: var(--cn-cobalt); animation: rs-pulse 1.8s ease-out infinite; transition: opacity .3s; }
.rs-chart-tip { position: absolute; padding: 7px 10px; border-radius: 6px; background: var(--cn-ink); color: #fff; font: 600 12px/1 var(--wp--preset--font-family--mono); white-space: nowrap; transform: translate(calc(-100% - 16px), -50%); transition: opacity .3s; }
.rs-chart-tip::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: inherit; transform: rotate(45deg); }
.rs-cn-chart.is-drawing .rs-chart-dot, .rs-cn-chart.is-drawing .rs-chart-tip { opacity: 0; }
.rs-x-ticks { display: flex; justify-content: space-between; margin-top: 8px; font: 500 11.5px/1 var(--wp--preset--font-family--mono); color: var(--wp--custom--color--muted-2); }
.rs-cn-pane > .rs-tbl-wrap { flex: 1 1 auto; min-width: 0; overflow-x: auto; }
.rs-mini-tbl { width: 100%; height: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.rs-mini-tbl th { padding: 8px 10px; border-bottom: 1px solid var(--cn-line); text-align: left; font: 500 11px/1.2 var(--wp--preset--font-family--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cn-muted); white-space: nowrap; }
.rs-mini-tbl td { padding: 11px 10px; border-bottom: 1px solid var(--cn-line); white-space: nowrap; }
.rs-mini-tbl tr:last-child td { border-bottom: 0; }
.rs-mini-tbl tbody tr { animation: rs-rv-up .5s var(--cn-ease) backwards; }
.rs-mini-tbl tbody tr:nth-child(2) { animation-delay: .06s; } .rs-mini-tbl tbody tr:nth-child(3) { animation-delay: .12s; } .rs-mini-tbl tbody tr:nth-child(4) { animation-delay: .18s; } .rs-mini-tbl tbody tr:nth-child(5) { animation-delay: .24s; }
.rs-rbar { display: inline-block; width: 70px; height: 7px; margin-right: 10px; overflow: hidden; border-radius: 99px; background: var(--cn-paper); vertical-align: 1px; }
.rs-rbar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--cn-cobalt); transform-origin: left; animation: rs-grow-x 1.2s var(--cn-ease) both .2s; }
@keyframes rs-grow-x { from { transform: scaleX(0); } }
.rs-posn { display: inline-grid; place-items: center; min-width: 26px; height: 24px; border-radius: 6px; background: var(--cn-cobalt); color: #fff; font: 600 12.5px/1 var(--wp--preset--font-family--mono); }
.rs-chg { color: var(--cn-up); font: 600 12.5px/1 var(--wp--preset--font-family--mono); }
.rs-cn-pane > .rs-cr-grid { flex: 1 1 auto; align-content: center; }
.rs-cr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rs-cr-tile { display: grid; gap: 6px; min-width: 0; padding: 10px; border: 1px solid var(--cn-line); border-radius: 10px; font-size: 13px; animation: rs-rv-up .5s var(--cn-ease) backwards; }
.rs-cr-tile:nth-child(2) { animation-delay: .08s; } .rs-cr-tile:nth-child(3) { animation-delay: .16s; }
.rs-cr-tile b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; }
.rs-cr-tile b em { padding: 3px 6px; border-radius: 4px; background: var(--wp--preset--color--volt); color: var(--cn-ink); font: 600 10.5px/1 var(--wp--preset--font-family--mono); font-style: normal; }
.rs-cr-tile small { font-size: 12px; color: var(--cn-muted); }
.rs-cr-tile .rs-rbar { width: 100%; margin: 0; }
.rs-cr-tile.is-win { border-color: var(--cn-cobalt); box-shadow: 0 0 0 3px var(--wp--preset--color--haze); }
.rs-cr-thumb { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 8px; }
.rs-cr-thumb.rs-cr-a { background: radial-gradient(circle at 50% 62%, #FFE3D1 0 30%, #FFB598 70%); }
.rs-cr-thumb.rs-cr-b { background: linear-gradient(160deg, var(--wp--custom--color--ink-3), var(--cn-ink)); }
.rs-cr-thumb.rs-cr-c { background: var(--wp--preset--color--volt); color: var(--cn-ink); text-align: center; font: 800 15px/1.02 var(--wp--preset--font-family--display); letter-spacing: -.02em; }
.rs-cr-thumb .rs-crt-prod { position: relative; width: 38%; aspect-ratio: 1 / 1.1; border-radius: 30% 30% 10px 10px; background: #fff; box-shadow: 0 10px 20px -8px rgba(10, 15, 44, .4); }
.rs-cr-thumb .rs-crt-face { width: 34%; aspect-ratio: 1; border-radius: 50%; background: #F2C3A0; box-shadow: 0 30px 0 10px var(--wp--custom--color--cobalt-3); }
.rs-cr-thumb .rs-crt-play { position: absolute; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--cn-ink); }
.rs-cr-thumb .rs-crt-play .rs-ic { width: 14px; height: 14px; margin-left: 2px; }
.rs-pane-foot { display: flex; align-items: center; gap: 6px; margin-top: 12px !important; font: 500 12.5px/1.2 var(--wp--preset--font-family--mono); color: var(--cn-cobalt); }
.rs-cn-side { display: grid; gap: 18px; align-content: start; min-width: 0; }
.rs-cn-card { padding: 18px 20px; border: 1px solid var(--cn-line); border-radius: 12px; background: #fff; }
.rs-gauge { position: relative; max-width: 210px; margin: 0 auto; }
.rs-gauge svg { display: block; width: 100%; overflow: visible; }
.rs-g-track { fill: none; stroke: var(--cn-paper); stroke-width: 16; stroke-linecap: round; }
.rs-g-val { fill: none; stroke-width: 16; stroke-linecap: round; stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1.6s var(--cn-ease); }
.rs-g-knob { transform-box: view-box; transform-origin: 100px 100px; transform: rotate(calc(var(--v) * 1.8deg)); transition: transform 1.6s var(--cn-ease); }
.rs-g-knob circle { fill: #fff; stroke: var(--cn-ink); stroke-width: 3; }
.rs-gauge.is-zero { --v: 0 !important; }
.rs-g-num { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; }
.rs-g-num b { font: 740 34px/1 var(--wp--preset--font-family--display); letter-spacing: -.03em; }
.rs-g-num small { margin-left: 2px; font: 500 12px var(--wp--preset--font-family--mono); color: var(--cn-muted); }
.rs-g-list { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 13px; }
.rs-g-list li { display: flex; justify-content: space-between; gap: 8px; padding-top: 6px; border-top: 1px solid var(--cn-line); }
.rs-g-list span { color: var(--cn-muted); }
.rs-g-list b { font-weight: 600; font-variant-numeric: tabular-nums; }
.rs-g-list .is-ok { color: var(--cn-up); }
.rs-ai-card .rs-pane-t .rs-ic { color: var(--cn-cobalt); }
.rs-ai-q { margin-left: 22px !important; padding: 8px 11px; border-radius: 12px 12px 3px 12px; background: var(--cn-ink); color: #fff; font-size: 13px; }
.rs-ai-a { min-height: 6.2em; margin-top: 10px !important; font-size: 13px; line-height: 1.5; }
.rs-ai-a mark { padding: 0 3px; border-radius: 3px; background: var(--wp--preset--color--volt); color: var(--cn-ink); }
.rs-ai-a .rs-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; background: currentColor; vertical-align: -.18em; animation: rs-blink 1s steps(1) infinite; }
@keyframes rs-blink { 50% { opacity: 0; } }
.rs-ai-src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; transition: opacity .4s; }
.rs-ai-src.is-hidden { opacity: 0; }
.rs-console .rs-src { padding: 3px 8px; border: 1px solid var(--cn-line); border-radius: 999px; font: 500 11px/1.3 var(--wp--preset--font-family--mono); color: var(--cn-muted); white-space: nowrap; }
.rs-console .rs-src.is-you { border-color: var(--cn-cobalt); background: var(--wp--preset--color--haze); color: var(--cn-cobalt); }
.rs-cn-cursor { position: absolute; left: 0; top: 0; z-index: 6; width: 24px; height: 24px; color: var(--cn-ink); pointer-events: none; opacity: 0; transition: transform 1s var(--cn-ease), opacity .4s; }
.rs-cn-cursor.is-on { opacity: 1; }
.rs-cn-cursor svg { display: block; width: 24px; height: 24px; filter: drop-shadow(0 3px 4px rgba(10, 15, 44, .35)); }
.rs-cn-cursor path { fill: currentColor; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.rs-cn-ripple { position: absolute; left: 3px; top: 2px; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 2px solid var(--cn-cobalt); border-radius: 50%; opacity: 0; }
.rs-cn-cursor.is-click .rs-cn-ripple { animation: rs-ripple .6s ease-out; }
@keyframes rs-ripple { from { opacity: 1; transform: scale(.2); } to { opacity: 0; transform: scale(1.4); } }
.rs-toast { position: absolute; z-index: 7; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 12px; background: #fff; color: var(--cn-ink); font-size: 13.5px; line-height: 1.3; box-shadow: var(--wp--preset--shadow--soft), 0 24px 40px -20px rgba(10, 15, 44, .5); opacity: 0; transform: translateY(12px) scale(.95); transition: opacity .45s var(--cn-ease), transform .45s var(--cn-ease); pointer-events: none; }
.rs-toast.is-on { opacity: 1; transform: none; }
.rs-toast b { display: block; font-weight: 600; }
.rs-toast small { color: var(--cn-muted); }
.rs-toast__ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--wp--preset--color--volt); color: var(--cn-ink); }
.rs-toast--1 { top: -24px; right: 48px; }
.rs-toast--2 { bottom: 70px; left: -34px; }
.rs-toast--3 { top: 44%; right: -36px; }
.rs-console-cap { margin: 24px 0 0 !important; text-align: center; font: 500 12.5px/1.4 var(--wp--preset--font-family--mono); color: var(--cn-muted); }
@media (max-width: 1180px) { .rs-toast { display: none; } }
@media (max-width: 1080px) {
	.rs-cn-body { grid-template-columns: minmax(0, 1fr); }
	.rs-cn-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.rs-console { box-shadow: 0 24px 48px -22px rgba(10, 15, 44, .45), 0 10px 24px -14px rgba(10, 15, 44, .3); }
	.rs-cn-bar { flex-wrap: wrap; gap: 10px; }
	.rs-cn-tabs { order: 3; flex-basis: 100%; }
	.rs-cn-range { display: none; }
	.rs-cn-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rs-cn-body { padding: 12px; gap: 12px; }
	.rs-cn-side { grid-template-columns: minmax(0, 1fr); }
	.rs-cn-main { padding: 16px; }
	.rs-cn-pane > .rs-cn-chart { flex-basis: 180px; min-height: 180px; }
	.rs-kpi-v { font-size: 24px; }
	.rs-cn-cursor { display: none; }
	.rs-cr-grid { gap: 6px; }
	.rs-cr-tile { padding: 6px; }
	.rs-cr-tile small { display: none; }
}
