/* The homepage product preview is an isolated, interactive sample workspace. */
.product-demo{--demo-ink:#0A1128;--demo-muted:#475569;--demo-teal:#007A96;--demo-line:rgba(10,17,40,.09);font-size:12px;isolation:isolate}
@media(min-width:960px){.site-home .r-hero-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:2.5rem}}
.product-demo button,.product-demo select{font:inherit;color:inherit}
.product-demo button{cursor:pointer;border:0;margin:0;background:none}
.product-demo button:disabled{cursor:default}
.product-demo :is(button,select,a,summary):focus-visible{outline:2px solid var(--demo-teal);outline-offset:3px}
.demo-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--demo-line)}
.demo-top img{width:120px;height:auto}
.demo-domain{padding:7px 10px;border:1px solid var(--demo-line);border-radius:10px;color:var(--demo-muted);font-size:11px;white-space:nowrap}
.demo-body{display:grid;grid-template-columns:142px minmax(0,1fr);background:#F1F8FB}
.demo-nav{padding:14px 8px;display:flex;flex-direction:column;justify-content:space-between;gap:22px}
.demo-tabs{display:grid;gap:3px}
.product-demo .demo-tabs button{display:flex;align-items:center;gap:7px;min-height:44px;width:100%;padding:9px 8px;text-align:left;font-size:11px;color:var(--demo-muted);border-radius:9px;transition:background .15s,color .15s}
.demo-tabs svg{width:15px;height:15px;flex:none;opacity:.85}
.product-demo .demo-tabs button[aria-selected=true]{background:#E1FAFD;color:var(--demo-teal);font-weight:650}
.product-demo .demo-tabs button:hover{background:#E6FAFD;color:var(--demo-teal)}
.demo-nav-note{font-size:11px;color:var(--demo-muted);line-height:1.7;margin:0 8px 8px}
.demo-mobile-nav{display:none}
.demo-panel{background:#fff;min-width:0;height:480px;padding:18px 18px 20px;outline-offset:-4px;position:relative;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#B5DFE7 transparent}
.demo-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px;min-height:24px}
.demo-heading h2{font-size:15px;font-weight:750;line-height:1.35;letter-spacing:-.015em;color:var(--demo-ink);margin:0;max-width:75%}
.demo-sample{font-size:11px;color:var(--demo-teal);background:#E6FAFD;border-radius:6px;padding:4px 6px;white-space:nowrap;font-weight:600}
.demo-kpis{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:9px;margin-bottom:16px}
.product-demo .demo-kpi{min-width:0;min-height:100px;text-align:left;border:1px solid var(--demo-line);border-radius:12px;padding:12px 10px;background:#fff;display:flex;flex-direction:column;justify-content:center;gap:5px;transition:border-color .15s,background .15s}
.product-demo button.demo-kpi:hover{border-color:#A7E7F0;background:#F6FDFE}
.demo-kpi strong{font-size:26px;line-height:1;font-weight:750;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.demo-kpi span{font-size:11px;color:var(--demo-muted)}
.demo-kpi small{font-size:11px;font-weight:600;line-height:1.4}
.demo-critical{color:#B91C1C}.demo-teal{color:var(--demo-teal)}
.product-demo .demo-gauge{align-items:center;text-align:center;padding-top:10px;gap:4px}
.demo-gauge svg{width:78px;max-width:100%;height:auto}
.demo-gauge strong{position:relative;margin-top:-27px}
.demo-gauge>span{padding-top:3px}
.demo-chart{border:1px solid var(--demo-line);border-radius:12px;padding:13px 13px 10px}
.demo-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.demo-chart h3{font-size:12px;font-weight:700;margin:0;line-height:1.5}
.demo-chart-heading>span{color:var(--demo-teal);font-size:11px;font-weight:600}
.demo-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:11px;color:var(--demo-muted);margin:8px 0 0}
.demo-legend span{display:inline-flex;gap:5px;align-items:center}
.demo-legend i{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none}
.demo-search{background:#00B8D9}.demo-ai{background:#AA91F4}
.demo-bar-groups{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:13px}
.demo-bar-group{min-width:0;text-align:center}
.demo-bar-group>b{display:block;font-size:11px;font-weight:600;margin-top:7px}
.demo-bar-pair{display:grid;grid-template-columns:1fr 1fr;align-items:end;height:108px;border-bottom:1px solid var(--demo-line);gap:2px}
.product-demo .demo-bar{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;width:100%;height:108px;min-width:44px;min-height:44px;padding:0 3px;border-radius:7px 7px 0 0;transition:background .15s}
.demo-bar>span{font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}
.demo-bar-fill{display:block;width:32px;max-width:85%;height:var(--bar-height);border-radius:5px 5px 0 0;transform-origin:bottom}
.product-demo .demo-bar:hover,.product-demo .demo-bar[aria-pressed=true]{background:#F0FAFC}
.demo-chart-status{font-size:11px;color:var(--demo-muted);margin:12px 0 0;min-height:30px;line-height:1.55}
.demo-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 18px;border-top:1px solid var(--demo-line);background:#FCFEFE;font-size:11px;color:var(--demo-muted)}
.demo-bottom a{color:var(--demo-teal);font-size:11px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;gap:4px;min-height:28px}
.demo-intro{color:var(--demo-muted);font-size:11px;line-height:1.65;margin:0 0 16px}
.demo-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--demo-line);border-radius:12px;padding:16px;margin-bottom:16px;background:#F6FDFE}
.demo-summary strong{font-size:29px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.03em}
.demo-summary strong small{font-size:12px;color:var(--demo-muted);font-weight:500}
.demo-summary>span{font-size:11px;color:var(--demo-muted);max-width:160px;line-height:1.5}
.demo-meter-list{display:grid;gap:10px}
.product-demo .demo-meter{width:100%;min-height:52px;text-align:left;padding:10px 12px;border:1px solid var(--demo-line);border-radius:10px;background:#fff}
.demo-meter-top{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:9px}
.demo-meter-top b{font-variant-numeric:tabular-nums}
.demo-track{height:6px;background:#ECF3F5;border-radius:5px;overflow:hidden}
.demo-meter-fill{display:block;height:100%;width:var(--meter-width);background:#00B8D9;border-radius:5px;transform-origin:left}
.demo-meter:hover{border-color:#A7E7F0;background:#F8FDFE}
.demo-list{border:1px solid var(--demo-line);border-radius:12px;overflow:hidden}
.demo-row,.product-demo .demo-issue{padding:13px;border-top:1px solid var(--demo-line)}
.demo-row:first-child,.product-demo .demo-issue:first-child{border-top:0}
.demo-row-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}
.demo-row-top b{font-weight:650;overflow-wrap:anywhere}
.demo-row p{font-size:11px;line-height:1.6;color:var(--demo-muted);margin:7px 0 0}
.demo-chip{display:inline-block;white-space:nowrap;font-size:11px;font-weight:600;padding:3px 6px;border-radius:6px;color:var(--demo-teal);background:#E6FAFD}
.demo-chip-critical{color:#B91C1C;background:#FFF1F1}.demo-chip-warning{color:#92400E;background:#FFFBEB}
.product-demo .demo-issue{margin:0;background:#fff;border-left:0;border-right:0;border-bottom:0}
.demo-issue summary{display:flex;gap:8px;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;list-style:none;font-size:11px;font-weight:600}
.demo-issue summary::-webkit-details-marker{display:none}
.demo-issue summary::after{content:'+';color:var(--demo-teal);font-size:18px;font-weight:400}
.demo-issue[open] summary::after{content:'−'}
.demo-issue p{font-size:11px;color:var(--demo-muted);line-height:1.65;margin:10px 0 4px}
.product-demo .demo-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #00E5FF;border-radius:10px;background:#00E5FF;color:var(--demo-ink);font-size:11px;font-weight:650;gap:8px;margin-top:14px}
.product-demo .demo-action:hover{background:#4DEDFF}
.demo-preview{margin-top:14px;display:grid;gap:10px;font-size:11px}
.demo-preview>div{border:1px solid var(--demo-line);padding:12px;border-radius:10px;line-height:1.65;overflow-wrap:anywhere}
.demo-preview b{display:block;font-size:11px;margin-bottom:5px;color:var(--demo-muted)}
.demo-preview .demo-after{background:#F1FCFE;border-color:#BEEAF0}
.demo-periods{display:flex;gap:6px;margin:12px 0}
.product-demo .demo-periods button{min-height:44px;padding:9px 12px;border:1px solid var(--demo-line);border-radius:9px;font-size:11px;color:var(--demo-muted)}
.product-demo .demo-periods button[aria-pressed=true]{background:#E6FAFD;border-color:#C2EEF4;color:var(--demo-teal);font-weight:600}
.product-demo .demo-trend{display:block;width:100%;padding:8px;border:1px solid var(--demo-line);border-radius:12px;background:#fff;min-height:44px}
.demo-trend svg{display:block;width:100%;height:auto}
.demo-trend text{font:11px Inter,system-ui,sans-serif;fill:#475569}
.demo-trend-line{stroke-dasharray:100;stroke-dashoffset:0}
.demo-noscript{padding:14px;font-size:12px;color:var(--demo-muted)}
.demo-motion .demo-bar-fill{animation:demo-bars .75s cubic-bezier(.16,1,.3,1) both}
.demo-motion .demo-meter-fill{animation:demo-meter .7s cubic-bezier(.16,1,.3,1) both}
.demo-motion .demo-gauge-fill{animation:demo-gauge .8s cubic-bezier(.16,1,.3,1) both}
.demo-motion .demo-trend-line{animation:demo-line .8s cubic-bezier(.16,1,.3,1) both}
@keyframes demo-bars{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes demo-meter{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes demo-gauge{from{stroke-dashoffset:100}to{stroke-dashoffset:22}}
@keyframes demo-line{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@media(max-width:600px){.demo-body{grid-template-columns:minmax(0,1fr)}.demo-nav{display:none}.demo-mobile-nav{display:flex;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--demo-line)}.demo-mobile-nav label{font-size:11px;font-weight:600;white-space:nowrap;color:var(--demo-teal)}.demo-mobile-nav select{flex:1;min-width:0;min-height:44px;border:1px solid #C6EAF1;border-radius:10px;background:#fff;padding:9px 10px;font-size:12px;cursor:pointer}.demo-top{padding:14px 16px}.demo-panel{padding:20px 16px;min-height:380px}.demo-heading h2{font-size:16px}.demo-heading{margin-bottom:18px}.demo-kpis{gap:9px}.demo-kpi small{font-size:11px}.demo-kpi span{font-size:11px}.demo-chart h3{font-size:13px}.demo-legend,.demo-bar-group>b,.demo-chart-status{font-size:11px}.demo-bottom{flex-wrap:wrap;padding:8px 16px;font-size:11px}.demo-bottom a{min-height:44px;font-size:11px}.demo-meter-top,.demo-intro,.demo-row-top,.demo-issue summary{font-size:12px}.demo-row p,.demo-issue p,.demo-preview{font-size:11px}}
@media(prefers-reduced-motion:reduce){.product-demo *,.product-demo *::before,.product-demo *::after{animation:none!important;transition:none!important}}
