.heroRulesDemo-module__HWFWvq__hero{gap:1.5rem;padding:1.5rem 1.25rem 4rem;display:grid}.heroRulesDemo-module__HWFWvq__heroCopy{min-width:0}.heroRulesDemo-module__HWFWvq__panel{--duration:var(--motionDurationMorph);--travel:var(--motionEaseTravel);background:var(--waveBase);border-radius:1rem;height:43.375rem;font-size:.8125rem;line-height:1.4;position:relative;overflow:clip}.heroRulesDemo-module__HWFWvq__wave{width:100%;height:100%;display:block;position:absolute;inset:0}.heroRulesDemo-module__HWFWvq__waveBase{fill:var(--waveBase)}.heroRulesDemo-module__HWFWvq__waveShape{opacity:.9}.heroRulesDemo-module__HWFWvq__waveBandMain{stroke:var(--waveMain)}.heroRulesDemo-module__HWFWvq__waveBandCompanion{stroke:var(--waveCompanion)}.heroRulesDemo-module__HWFWvq__waveGrain{opacity:.16}.heroRulesDemo-module__HWFWvq__segment{background:var(--demoChrome);border-radius:.625rem;grid-template-columns:7.5rem 7.5rem;padding:.1875rem;display:grid;position:absolute;top:.875rem;left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 1px #ffffff1f}.heroRulesDemo-module__HWFWvq__segment button{z-index:1;color:#f4f3eeb8;cursor:pointer;height:2rem;transition:color .3s;position:relative}.heroRulesDemo-module__HWFWvq__segment button:focus-visible,.heroRulesDemo-module__HWFWvq__rule:focus-visible{outline:2px solid var(--inverseRing);outline-offset:-2px;border-radius:.4375rem}.heroRulesDemo-module__HWFWvq__segment button.heroRulesDemo-module__HWFWvq__segmentOn{color:var(--primaryForeground)}.heroRulesDemo-module__HWFWvq__thumb{background:linear-gradient(var(--demoChromeRaisedTop),var(--demoChromeRaisedBottom));width:7.5rem;height:2rem;transition:transform var(--motionDurationSlow)var(--travel);border-radius:.4375rem;position:absolute;top:.1875rem;left:.1875rem;box-shadow:inset 0 1px #ffffff24,0 0 0 1px #0000004d}.heroRulesDemo-module__HWFWvq__thumbWith{transform:translate(7.5rem)}.heroRulesDemo-module__HWFWvq__cardOuter{background:#ffffff0f;border-radius:.875rem;height:24.75rem;padding:.375rem;position:absolute;top:3.875rem;left:.75rem;right:.75rem;box-shadow:inset 0 1px #ffffff24,inset 0 0 0 1px #ffffff12}.heroRulesDemo-module__HWFWvq__cardInner{background:var(--surface);height:100%;color:var(--foreground);border-radius:.5rem;overflow:clip}.heroRulesDemo-module__HWFWvq__prompt{border-bottom:1px solid var(--border);background:var(--muted);height:2.25rem;font:.75rem/1 var(--font-mono);white-space:nowrap;align-items:center;gap:.625rem;padding:0 1rem;display:flex;overflow:hidden}.heroRulesDemo-module__HWFWvq__promptMark{color:var(--mutedForeground);flex:none}.heroRulesDemo-module__HWFWvq__promptText{min-width:0;color:var(--foreground)}.heroRulesDemo-module__HWFWvq__promptRest{visibility:hidden}.heroRulesDemo-module__HWFWvq__caret{background:var(--foreground);vertical-align:text-bottom;width:.5rem;height:.875rem;animation:1s step-end infinite heroRulesDemo-module__HWFWvq__caretBlink;display:inline-block}.heroRulesDemo-module__HWFWvq__caretOff{visibility:hidden;animation:none}@keyframes heroRulesDemo-module__HWFWvq__caretBlink{50%{opacity:0}}.heroRulesDemo-module__HWFWvq__draftItem{opacity:0;visibility:hidden;transition:opacity var(--motionDurationSlow)var(--motionEaseOut),transform var(--motionDurationSlow)var(--motionEaseOut),visibility var(--motionDurationSlow);transform:translateY(.25rem)}.heroRulesDemo-module__HWFWvq__draftItemOn{opacity:1;visibility:visible;transform:none}.heroRulesDemo-module__HWFWvq__screen{padding:1rem}.heroRulesDemo-module__HWFWvq__fx{transition-property:all;transition-duration:var(--duration);transition-timing-function:var(--travel)}.heroRulesDemo-module__HWFWvq__focus .heroRulesDemo-module__HWFWvq__fx:not(.heroRulesDemo-module__HWFWvq__hit,.heroRulesDemo-module__HWFWvq__fixed){filter:blur(.125rem);opacity:.28}.heroRulesDemo-module__HWFWvq__collapse{grid-template-rows:1fr;margin-top:.5rem;display:grid}.heroRulesDemo-module__HWFWvq__collapse>div{min-height:0;overflow:hidden}.heroRulesDemo-module__HWFWvq__head{min-height:2rem;transition:min-height var(--duration)var(--travel);align-items:center;display:flex}.heroRulesDemo-module__HWFWvq__headIcon{flex:none;width:2.375rem;display:block;overflow:hidden}.heroRulesDemo-module__HWFWvq__headIcon>span{color:#fff;background:linear-gradient(135deg,#8b5cf6,#ec4899);border-radius:.625rem;place-items:center;width:2rem;height:2rem;display:grid}.heroRulesDemo-module__HWFWvq__headIcon svg{width:1.125rem;height:1.125rem}.heroRulesDemo-module__HWFWvq__headTitle{flex:1;min-width:0;display:grid}.heroRulesDemo-module__HWFWvq__headTitle>span{white-space:nowrap;grid-area:1/1;align-self:center}.heroRulesDemo-module__HWFWvq__titleBad{color:#0000;letter-spacing:-.01em;background:linear-gradient(90deg,#7c3aed,#db2777);-webkit-background-clip:text;background-clip:text;font-size:1.0625rem;font-weight:700}.heroRulesDemo-module__HWFWvq__titleGood{letter-spacing:-.005em;font-size:1.0625rem;font-weight:500}.heroRulesDemo-module__HWFWvq__headSave{flex:none;width:3.5rem;display:block;overflow:hidden}.heroRulesDemo-module__HWFWvq__headSave>span{color:#fff;text-align:center;background:#7c3aed;border-radius:999px;width:3.5rem;padding:.25rem 0;font-size:.75rem;display:block}.heroRulesDemo-module__HWFWvq__intro{color:#6b7280}.heroRulesDemo-module__HWFWvq__subtitle{color:var(--mutedForeground);grid-template-rows:0fr;margin-top:0;font-size:.75rem;line-height:1.3}.heroRulesDemo-module__HWFWvq__tip p{color:#1e40af;background:#dbeafe;border-radius:.375rem;padding:.4375rem .625rem;font-size:.75rem}.heroRulesDemo-module__HWFWvq__label{margin-top:.625rem;display:grid}.heroRulesDemo-module__HWFWvq__label>span{grid-area:1/1;transition:opacity .4s}.heroRulesDemo-module__HWFWvq__labelBad{font-weight:600}.heroRulesDemo-module__HWFWvq__labelBad i{color:#dc2626;font-style:normal}.heroRulesDemo-module__HWFWvq__labelGood{color:var(--mutedForeground);opacity:0;font-size:.75rem}.heroRulesDemo-module__HWFWvq__fieldWrap{margin-top:.25rem;position:relative}.heroRulesDemo-module__HWFWvq__field{width:100%;height:2.25rem;color:var(--foreground);background:#fff;border-radius:.75rem;outline:0;padding:0 2.25rem 0 .625rem;font-size:.875rem;display:block;box-shadow:0 0 0 2px #c4b5fd}.heroRulesDemo-module__HWFWvq__clear{width:1.5rem;height:1.5rem;color:var(--borderStrong);cursor:pointer;opacity:0;visibility:hidden;transition:opacity var(--motionDurationFast),transform var(--motionDurationFast),visibility 0s var(--motionDurationFast),background var(--motionDurationFast),color var(--motionDurationFast);border-radius:.375rem;place-items:center;margin-top:-.75rem;display:grid;position:absolute;top:50%;right:.375rem;transform:scale(.9)}.heroRulesDemo-module__HWFWvq__clear svg{stroke-width:1.5px;width:1rem;height:1rem}.heroRulesDemo-module__HWFWvq__clear:hover{background:var(--muted);color:var(--foreground)}.heroRulesDemo-module__HWFWvq__fieldOn .heroRulesDemo-module__HWFWvq__clear{opacity:1;visibility:visible;transition:opacity var(--motionDurationFast),transform var(--motionDurationFast),visibility 0s,background var(--motionDurationFast),color var(--motionDurationFast);transform:none}.heroRulesDemo-module__HWFWvq__help{color:#9ca3af;margin-top:.25rem;font-size:.6875rem}.heroRulesDemo-module__HWFWvq__actions{align-items:center;margin-top:.625rem;display:flex}.heroRulesDemo-module__HWFWvq__spacer{transition:flex-grow var(--duration)var(--travel);flex:1 1 0}.heroRulesDemo-module__HWFWvq__cancel{color:#dc2626;border-radius:.25rem;height:2rem;padding:0 .75rem;font-size:.8125rem;box-shadow:inset 0 0 0 1px #fca5a5}.heroRulesDemo-module__HWFWvq__reset{width:3.875rem;display:block;overflow:hidden}.heroRulesDemo-module__HWFWvq__reset>span{text-align:center;background:#e5e7eb;border-radius:999px;width:3.5rem;height:2rem;font-size:.75rem;line-height:2rem;display:block}.heroRulesDemo-module__HWFWvq__save{color:#fff;background:linear-gradient(90deg,#7c3aed,#db2777);border-radius:.5rem;flex:none;grid-template-rows:100%;place-items:center;width:6.25rem;height:2rem;margin-left:.375rem;font-size:.8125rem;display:grid}.heroRulesDemo-module__HWFWvq__save>span{grid-area:1/1;transition:opacity .35s}.heroRulesDemo-module__HWFWvq__saveGood{opacity:0}.heroRulesDemo-module__HWFWvq__separator{border-top:2px dashed #e5e7eb;height:0;margin-top:.875rem}.heroRulesDemo-module__HWFWvq__upsell p{color:#6d28d9;background:linear-gradient(90deg,#ede9fe,#fce7f3);border-radius:.625rem;padding:.5rem .625rem;font-size:.75rem}.heroRulesDemo-module__HWFWvq__membersLabel{color:var(--mutedForeground);grid-template-rows:0fr;margin-top:0;font-size:.75rem}.heroRulesDemo-module__HWFWvq__members{margin-top:.5rem;display:grid}.heroRulesDemo-module__HWFWvq__member{height:2.25rem;transition:height var(--duration)var(--travel),border-color .4s;border-bottom:1px solid #0000;align-items:center;gap:.625rem;font-size:.875rem;display:flex}.heroRulesDemo-module__HWFWvq__avatar{color:#fff;background:#e0569b;border-radius:50%;place-items:center;width:1.5rem;height:1.5rem;font-size:.6875rem;transition:background .4s;display:grid}.heroRulesDemo-module__HWFWvq__member:nth-child(2) .heroRulesDemo-module__HWFWvq__avatar{background:#2f9e8f}.heroRulesDemo-module__HWFWvq__member:nth-child(3) .heroRulesDemo-module__HWFWvq__avatar{background:#e08a2f}.heroRulesDemo-module__HWFWvq__memberRole{color:var(--mutedForeground);margin-left:auto;font-size:.8125rem}.heroRulesDemo-module__HWFWvq__stepComponent .heroRulesDemo-module__HWFWvq__cancel{box-shadow:inset 0 0 0 1px var(--border);color:var(--mutedForeground);border-radius:.4375rem}.heroRulesDemo-module__HWFWvq__stepComponent .heroRulesDemo-module__HWFWvq__reset>span{box-shadow:inset 0 0 0 1px var(--border);color:var(--mutedForeground);background:0 0;border-radius:.4375rem}.heroRulesDemo-module__HWFWvq__stepComponent .heroRulesDemo-module__HWFWvq__save,.heroRulesDemo-module__HWFWvq__stepComponent .heroRulesDemo-module__HWFWvq__headSave>span{border-radius:.4375rem}.heroRulesDemo-module__HWFWvq__stepTokens .heroRulesDemo-module__HWFWvq__headIcon{width:0}.heroRulesDemo-module__HWFWvq__stepTokens .heroRulesDemo-module__HWFWvq__field{box-shadow:0 0 0 1px var(--border),inset 0 1px 1px #17171608;border-radius:.5rem}.heroRulesDemo-module__HWFWvq__stepTokens .heroRulesDemo-module__HWFWvq__upsell{grid-template-rows:0fr;margin-top:0}.heroRulesDemo-module__HWFWvq__panel.heroRulesDemo-module__HWFWvq__stepTokens .heroRulesDemo-module__HWFWvq__member .heroRulesDemo-module__HWFWvq__avatar{background:var(--neutral300)}.heroRulesDemo-module__HWFWvq__stepTokens .heroRulesDemo-module__HWFWvq__save{background:linear-gradient(#6a3ee8,var(--accent))}.heroRulesDemo-module__HWFWvq__stepAction .heroRulesDemo-module__HWFWvq__headSave,.heroRulesDemo-module__HWFWvq__stepAction .heroRulesDemo-module__HWFWvq__reset{width:0}.heroRulesDemo-module__HWFWvq__stepAction .heroRulesDemo-module__HWFWvq__spacer{flex-grow:0}.heroRulesDemo-module__HWFWvq__stepAction .heroRulesDemo-module__HWFWvq__cancel{margin-left:auto;box-shadow:inset 0 0 0 1px #0000}.heroRulesDemo-module__HWFWvq__stepSave .heroRulesDemo-module__HWFWvq__save{background:linear-gradient(var(--muted),var(--muted));width:4.25rem;box-shadow:inset 0 0 0 1px var(--border);color:var(--borderStrong)}.heroRulesDemo-module__HWFWvq__stepSave .heroRulesDemo-module__HWFWvq__save.heroRulesDemo-module__HWFWvq__saveLive{background:linear-gradient(#6a3ee8,var(--accent));box-shadow:inset 0 1px 0 #ffffff3d,0 0 0 1px var(--accentHover);color:var(--accentForeground);cursor:pointer}.heroRulesDemo-module__HWFWvq__stepSave .heroRulesDemo-module__HWFWvq__save:disabled{cursor:not-allowed}.heroRulesDemo-module__HWFWvq__stepSave .heroRulesDemo-module__HWFWvq__saveBad{opacity:0}.heroRulesDemo-module__HWFWvq__stepSave .heroRulesDemo-module__HWFWvq__saveGood{opacity:1}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__head{min-height:1.375rem}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__intro,.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__tip,.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__help{grid-template-rows:0fr;margin-top:0}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__subtitle{grid-template-rows:1fr;margin-top:.0625rem}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__label{margin-top:.75rem}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__labelBad{opacity:0}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__labelGood{opacity:1}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__separator{border-top:1px solid var(--muted);margin:.875rem -1rem 0}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__membersLabel{grid-template-rows:1fr;margin-top:.75rem}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__member{border-color:var(--muted);height:2.25rem}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__member:last-child{border-color:#0000}.heroRulesDemo-module__HWFWvq__panel:not(.heroRulesDemo-module__HWFWvq__stepTokens) .heroRulesDemo-module__HWFWvq__titleGood,.heroRulesDemo-module__HWFWvq__panel:not(.heroRulesDemo-module__HWFWvq__stepCopy) .heroRulesDemo-module__HWFWvq__subtitle,.heroRulesDemo-module__HWFWvq__panel:not(.heroRulesDemo-module__HWFWvq__stepCopy) .heroRulesDemo-module__HWFWvq__membersLabel,.heroRulesDemo-module__HWFWvq__stepTokens .heroRulesDemo-module__HWFWvq__titleBad,.heroRulesDemo-module__HWFWvq__stepAction .heroRulesDemo-module__HWFWvq__headSave,.heroRulesDemo-module__HWFWvq__stepTokens .heroRulesDemo-module__HWFWvq__headIcon,.heroRulesDemo-module__HWFWvq__stepTokens .heroRulesDemo-module__HWFWvq__upsell,.heroRulesDemo-module__HWFWvq__stepAction .heroRulesDemo-module__HWFWvq__reset,.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__intro,.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__tip,.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__help{filter:none!important;opacity:0!important}.heroRulesDemo-module__HWFWvq__rulesCard{--rulesPad:.625rem;padding:var(--rulesPad);background:linear-gradient(var(--demoCardTop),var(--demoCardBottom));color:var(--primaryForeground);border-radius:1rem;position:absolute;top:29.25rem;left:.75rem;right:.75rem;box-shadow:inset 0 1px #ffffff24,0 0 0 1px #00000059,0 .75rem 2rem -.75rem #0009}.heroRulesDemo-module__HWFWvq__rulesFile{color:var(--neutral300);margin:0 0 .375rem .375rem;font-size:.75rem;line-height:1;transition:opacity .3s;display:grid}.heroRulesDemo-module__HWFWvq__rulesFile>span{grid-area:1/1;transition:opacity .3s}.heroRulesDemo-module__HWFWvq__focus .heroRulesDemo-module__HWFWvq__rulesFile{opacity:.4}.heroRulesDemo-module__HWFWvq__rules{gap:.125rem;display:grid}.heroRulesDemo-module__HWFWvq__rule{text-align:left;border-radius:.5rem;grid-template-columns:.5rem 1fr auto;align-items:start;gap:.5rem;width:100%;padding:.3125rem .375rem;font-size:.8125rem;line-height:1.3;transition:background .25s,box-shadow .25s,filter .3s,opacity .3s;display:grid}.heroRulesDemo-module__HWFWvq__rule:hover,.heroRulesDemo-module__HWFWvq__ruleLit{background:linear-gradient(#ffffff12,#ffffff08);box-shadow:inset 0 1px #ffffff24,0 0 0 1px #0000004d}.heroRulesDemo-module__HWFWvq__focus .heroRulesDemo-module__HWFWvq__rule:not(.heroRulesDemo-module__HWFWvq__ruleLit,.heroRulesDemo-module__HWFWvq__ruleKept){filter:blur(.09rem);opacity:.4}.heroRulesDemo-module__HWFWvq__ruleText{min-width:0;transition:opacity .3s}.heroRulesDemo-module__HWFWvq__rulesUnloaded .heroRulesDemo-module__HWFWvq__ruleText,.heroRulesDemo-module__HWFWvq__rulesUnloaded .heroRulesDemo-module__HWFWvq__ruleSource{opacity:.55}.heroRulesDemo-module__HWFWvq__rulesUnloaded .heroRulesDemo-module__HWFWvq__ruleLit .heroRulesDemo-module__HWFWvq__ruleText,.heroRulesDemo-module__HWFWvq__rulesUnloaded .heroRulesDemo-module__HWFWvq__ruleLit .heroRulesDemo-module__HWFWvq__ruleSource{opacity:1}.heroRulesDemo-module__HWFWvq__ruleSource{color:var(--neutral300);font:.6875rem/1.5 var(--font-mono);white-space:nowrap;transition:opacity .3s}.heroRulesDemo-module__HWFWvq__checkLine{margin:.375rem calc(-1*var(--rulesPad))calc(-1*var(--rulesPad));padding:.625rem calc(var(--rulesPad) + .375rem);color:var(--neutral300);font:.6875rem/1.4 var(--font-mono);background:linear-gradient(#00000029,#0000000a);border-top:1px solid #00000080;border-radius:0 0 1rem 1rem;justify-content:space-between;gap:.5rem;display:flex;box-shadow:0 -1px #ffffff08,inset 0 1px #ffffff12,inset 0 .5rem .75rem -.5rem #0000008c}.heroRulesDemo-module__HWFWvq__checkStates{justify-items:end;display:grid}.heroRulesDemo-module__HWFWvq__checkStates>span{grid-area:1/1;transition:opacity .3s}.heroRulesDemo-module__HWFWvq__checkFailing{color:#f08a7a}.heroRulesDemo-module__HWFWvq__checkPassed{color:#8fd49f}.heroRulesDemo-module__HWFWvq__checkOff{opacity:0}.heroRulesDemo-module__HWFWvq__statusDot{background:#f08a7a;border-radius:50%;width:.3125rem;height:.3125rem;margin:.34375rem 0 0 .09375rem;transition:background .3s,box-shadow .3s,opacity .3s;box-shadow:0 0 .375rem #f08a7a99}.heroRulesDemo-module__HWFWvq__ruleWaiting .heroRulesDemo-module__HWFWvq__statusDot{background:var(--neutral300);box-shadow:none;opacity:.4}.heroRulesDemo-module__HWFWvq__ruleDone .heroRulesDemo-module__HWFWvq__statusDot{background:#8fd49f;box-shadow:0 0 .375rem #8fd49fb3}@media (prefers-reduced-motion:reduce){.heroRulesDemo-module__HWFWvq__caret{animation:none}}@media (scripting:none){.heroRulesDemo-module__HWFWvq__draftItem{opacity:1;visibility:visible;transform:none}.heroRulesDemo-module__HWFWvq__promptRest{visibility:visible}.heroRulesDemo-module__HWFWvq__caret{visibility:hidden}.heroRulesDemo-module__HWFWvq__checkFailing.heroRulesDemo-module__HWFWvq__checkOff{opacity:1}}@media (min-width:48em){.heroRulesDemo-module__HWFWvq__hero{padding:4rem max(2.5rem,50% - 35.5rem) 6rem}.heroRulesDemo-module__HWFWvq__panel{border-radius:1.25rem;height:29.25rem}.heroRulesDemo-module__HWFWvq__segment{grid-template-columns:8.5rem 8.5rem;top:1rem}.heroRulesDemo-module__HWFWvq__thumb{width:8.5rem}.heroRulesDemo-module__HWFWvq__thumbWith{transform:translate(8.5rem)}.heroRulesDemo-module__HWFWvq__cardOuter{border-radius:1rem 1rem 0 0;height:25.75rem;top:4.25rem;left:1.75rem;right:17.75rem}.heroRulesDemo-module__HWFWvq__cardInner{border-radius:.625rem .625rem 0 0}.heroRulesDemo-module__HWFWvq__prompt{padding-inline:1.25rem}.heroRulesDemo-module__HWFWvq__screen{padding:1.25rem}.heroRulesDemo-module__HWFWvq__stepCopy .heroRulesDemo-module__HWFWvq__separator{margin-inline:-1.25rem}.heroRulesDemo-module__HWFWvq__headIcon{width:2.5rem}.heroRulesDemo-module__HWFWvq__titleBad{font-size:1.25rem}.heroRulesDemo-module__HWFWvq__reset{width:4.125rem}.heroRulesDemo-module__HWFWvq__reset>span{width:3.75rem}.heroRulesDemo-module__HWFWvq__save{width:7rem}.heroRulesDemo-module__HWFWvq__rulesCard{--rulesPad:.875rem;width:14.5rem;top:4.25rem;left:auto;right:1.75rem}.heroRulesDemo-module__HWFWvq__rulesFile{margin-bottom:.625rem}.heroRulesDemo-module__HWFWvq__rule{grid-template-columns:.5rem 1fr;row-gap:.0625rem;padding:.3125rem .375rem}.heroRulesDemo-module__HWFWvq__ruleSource{grid-column:2}}@media (min-width:76em){.heroRulesDemo-module__HWFWvq__hero{grid-template-columns:minmax(0,26.5rem) minmax(0,1fr);align-items:center;gap:2.5rem}}@media not (min-width:24em){.heroRulesDemo-module__HWFWvq__panel{height:48.625rem}}
.stateSwitch-module__Xm26pq__frame{--glow:color-mix(in srgb,var(--inverseForeground)14%,transparent);--edge:color-mix(in srgb,var(--inverseForeground)7%,transparent);--shade:color-mix(in srgb,var(--waveBase)60%,transparent);--panelWidth:13.5rem;--settingsHeight:2.75rem;--panelOpenHeight:11.75rem;border-radius:var(--radius-xl);background:var(--waveBase);padding:1rem;font-size:.8125rem;line-height:1.35;position:relative;overflow:clip}.stateSwitch-module__Xm26pq__app{min-width:0;margin-bottom:calc(var(--panelOpenHeight) + .75rem);background:color-mix(in srgb,var(--inverseForeground)6%,transparent);box-shadow:inset 0 1px 0 var(--glow),inset 0 0 0 1px var(--edge);border-radius:.875rem;padding:.375rem;position:relative}@media (min-width:40em){.stateSwitch-module__Xm26pq__app{margin-bottom:0;margin-right:calc(var(--panelWidth) + .75rem)}}.stateSwitch-module__Xm26pq__appScreen{border-radius:var(--radius-md);background:var(--background);color:var(--foreground);overflow:clip}.stateSwitch-module__Xm26pq__appBar{border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:.75rem;padding:.625rem .875rem;display:flex}.stateSwitch-module__Xm26pq__appTitle{font-weight:600}.stateSwitch-module__Xm26pq__newButton{border-radius:var(--radius-md);background:var(--primary);color:var(--primaryForeground);white-space:nowrap;align-items:center;gap:.25rem;padding:.3125rem .625rem;font-size:.75rem;font-weight:500;display:inline-flex}.stateSwitch-module__Xm26pq__icon{flex:none;width:.875rem;height:.875rem}.stateSwitch-module__Xm26pq__appBody{height:17rem;padding:.875rem;overflow:clip}@media (min-width:40em){.stateSwitch-module__Xm26pq__appBody{height:20rem}}.stateSwitch-module__Xm26pq__cards{grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:.625rem;display:grid}.stateSwitch-module__Xm26pq__card{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface);flex-direction:column;gap:.5rem;min-width:0;padding:.75rem;display:flex}.stateSwitch-module__Xm26pq__cardMeta{color:var(--mutedForeground);align-items:center;gap:.5rem;font-size:.75rem;display:flex}.stateSwitch-module__Xm26pq__cardName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:600;overflow:hidden}.stateSwitch-module__Xm26pq__status{border-radius:var(--radius-pill);flex:none;padding:.0625rem .4375rem;font-size:.6875rem;font-weight:500}.stateSwitch-module__Xm26pq__statusDeployed{background:var(--positiveTint);color:var(--positive)}.stateSwitch-module__Xm26pq__statusBuilding{background:var(--muted);color:var(--mutedForeground)}.stateSwitch-module__Xm26pq__statusFailed{background:var(--negativeTint);color:var(--negative)}.stateSwitch-module__Xm26pq__branch{min-width:0;color:var(--mutedForeground);font:.6875rem/1.4 var(--font-mono);align-items:center;gap:.3125rem;display:flex}.stateSwitch-module__Xm26pq__truncate{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.stateSwitch-module__Xm26pq__cardFoot{min-width:0;color:var(--mutedForeground);align-items:center;gap:.4375rem;margin-top:auto;font-size:.75rem;display:flex}.stateSwitch-module__Xm26pq__avatar{border-radius:var(--radius-pill);background:var(--muted);width:1.25rem;height:1.25rem;color:var(--foreground);flex:none;place-items:center;font-size:.625rem;font-weight:600;display:inline-grid}.stateSwitch-module__Xm26pq__skeletonCard{min-height:6.5rem}.stateSwitch-module__Xm26pq__bone{border-radius:var(--radius-sm);background:linear-gradient(90deg,var(--skeleton)0%,var(--background)50%,var(--skeleton)100%);background-size:200% 100%;height:.625rem;animation:1.4s linear infinite stateSwitch-module__Xm26pq__shimmer;display:block}.stateSwitch-module__Xm26pq__boneTitle{width:70%;height:.875rem}.stateSwitch-module__Xm26pq__boneLine{width:90%}.stateSwitch-module__Xm26pq__boneShort{width:45%;margin-top:auto}.stateSwitch-module__Xm26pq__empty{text-align:center;align-content:center;justify-items:center;gap:.375rem;height:100%;display:grid}.stateSwitch-module__Xm26pq__emptyIcon{width:1.5rem;height:1.5rem;color:var(--mutedForeground);margin-bottom:.25rem}.stateSwitch-module__Xm26pq__emptyTitle{font-weight:600}.stateSwitch-module__Xm26pq__emptyText{max-width:16rem;color:var(--mutedForeground)}.stateSwitch-module__Xm26pq__panel{z-index:1;height:var(--settingsHeight);border-radius:var(--radius-xl);background:linear-gradient(var(--demoCardTop),var(--demoCardBottom));box-shadow:inset 0 1px 0 var(--glow),0 0 0 1px var(--shade),0 .75rem 2rem -.75rem var(--shade);color:var(--inverseForeground);transition:height var(--motionDurationMorph)var(--motionEaseTravel);flex-direction:column;display:flex;position:absolute;bottom:1rem;left:1rem;right:1rem;overflow:clip}@media (min-width:40em){.stateSwitch-module__Xm26pq__panel{width:var(--panelWidth);left:auto}}.stateSwitch-module__Xm26pq__frameOpen .stateSwitch-module__Xm26pq__panel{height:var(--panelOpenHeight)}@media (min-width:40em){.stateSwitch-module__Xm26pq__frameOpen .stateSwitch-module__Xm26pq__panel{height:calc(100% - 2rem)}}.stateSwitch-module__Xm26pq__panelFoot{height:var(--settingsHeight);flex:none;align-items:center;gap:.25rem;padding:.3125rem;display:flex}.stateSwitch-module__Xm26pq__panelBody{opacity:0;visibility:hidden;min-height:0;transition:opacity var(--motionDurationBase)var(--motionEaseStandard),visibility 0s linear var(--motionDurationBase);flex:1;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:.5rem .75rem;padding:0 .625rem;display:grid;overflow:clip}@media (min-width:40em){.stateSwitch-module__Xm26pq__panelBody{flex-direction:column;gap:.5rem;display:flex}}.stateSwitch-module__Xm26pq__frameOpen .stateSwitch-module__Xm26pq__panelBody{opacity:1;visibility:visible;transition:opacity var(--motionDurationReveal)var(--motionEaseStandard)var(--motionDurationBase),visibility 0s;overflow-y:auto}.stateSwitch-module__Xm26pq__settings{border-radius:var(--radius-md);height:100%;color:var(--inverseForeground);text-align:left;cursor:pointer;flex:1;align-items:center;gap:.5rem;padding:0 .6875rem;display:flex;position:relative}.stateSwitch-module__Xm26pq__settings:focus-visible{outline:2px solid var(--inverseRing);outline-offset:0}.stateSwitch-module__Xm26pq__settings .stateSwitch-module__Xm26pq__switchLabel{flex:1}.stateSwitch-module__Xm26pq__chevron{transition:rotate var(--motionDurationBase)var(--motionEaseStandard)}.stateSwitch-module__Xm26pq__frameOpen .stateSwitch-module__Xm26pq__chevron{rotate:180deg}.stateSwitch-module__Xm26pq__panelTitle{color:var(--inverseMutedForeground);font:.6875rem/1.4 var(--font-mono);letter-spacing:.04em;text-transform:uppercase;margin:.125rem 0 0 .375rem}.stateSwitch-module__Xm26pq__group{align-content:start;gap:.25rem;margin-top:.625rem;display:grid}@media (min-width:40em){.stateSwitch-module__Xm26pq__group{margin-top:0}.stateSwitch-module__Xm26pq__group:first-child{margin-top:.625rem}.stateSwitch-module__Xm26pq__group+.stateSwitch-module__Xm26pq__group{margin-top:.5rem}}.stateSwitch-module__Xm26pq__switches{gap:.25rem;display:grid}.stateSwitch-module__Xm26pq__switchRow{border-radius:var(--radius-md);text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:.75rem;width:100%;min-height:2rem;padding:.125rem .375rem;display:flex;position:relative}.stateSwitch-module__Xm26pq__switchRow:before,.stateSwitch-module__Xm26pq__settings:before,.stateSwitch-module__Xm26pq__replay:before{border-radius:inherit;background:linear-gradient(color-mix(in srgb,var(--inverseForeground)7%,transparent),color-mix(in srgb,var(--inverseForeground)3%,transparent));box-shadow:inset 0 1px 0 var(--glow),0 0 0 1px var(--shade);content:"";opacity:0;pointer-events:none;transition:opacity var(--motionDurationSlow)var(--motionEaseOut);position:absolute;inset:0}.stateSwitch-module__Xm26pq__switchRow:hover:before,.stateSwitch-module__Xm26pq__settings:hover:before,.stateSwitch-module__Xm26pq__replay:hover:before{opacity:1;transition-duration:var(--motionDurationBase)}.stateSwitch-module__Xm26pq__switchRow:focus-visible,.stateSwitch-module__Xm26pq__replay:focus-visible{outline:2px solid var(--inverseRing);outline-offset:0}.stateSwitch-module__Xm26pq__switchLabel{min-width:0}.stateSwitch-module__Xm26pq__track{border-radius:var(--radius-pill);background:color-mix(in srgb,var(--inverseForeground)22%,transparent);width:2rem;height:1.125rem;transition:box-shadow var(--motionDurationSlow)var(--motionEaseOut);flex:none;position:relative}.stateSwitch-module__Xm26pq__track:before{border-radius:inherit;background:linear-gradient(90deg,var(--waveCompanion),var(--waveMain));content:"";opacity:0;transition:opacity var(--motionDurationSlow)var(--motionEaseOut);position:absolute;inset:0}.stateSwitch-module__Xm26pq__trackOn{box-shadow:0 0 .75rem -.125rem color-mix(in srgb,var(--waveMain)55%,transparent)}.stateSwitch-module__Xm26pq__trackOn:before{opacity:1}.stateSwitch-module__Xm26pq__thumb{border-radius:var(--radius-pill);background:var(--inverseForeground);z-index:1;width:.875rem;height:.875rem;transition:translate var(--motionDurationSlow)var(--motionEaseTravel);position:absolute;top:.125rem;left:.125rem}.stateSwitch-module__Xm26pq__trackOn .stateSwitch-module__Xm26pq__thumb{translate:.875rem}.stateSwitch-module__Xm26pq__replay{border-radius:var(--radius-md);width:2rem;height:2rem;color:var(--inverseMutedForeground);cursor:pointer;transition:color var(--motionDurationBase)var(--motionEaseStandard);flex:none;place-items:center;display:inline-grid;position:relative}.stateSwitch-module__Xm26pq__replay:hover{color:var(--inverseForeground)}.stateSwitch-module__Xm26pq__cursor{z-index:2;width:1.75rem;height:1.75rem;fill:var(--waveMain);stroke:var(--inverseForeground);stroke-width:1.5px;stroke-linejoin:round;filter:drop-shadow(var(--shadowCursor));opacity:0;pointer-events:none;transform-origin:20% 12%;transition:opacity var(--motionDurationBase)var(--motionEaseStandard),scale var(--motionDurationFast)var(--motionEaseStandard);position:absolute;top:0;left:0}.stateSwitch-module__Xm26pq__cursorOn{opacity:1}.stateSwitch-module__Xm26pq__cursorPressed{scale:.88}.stateSwitch-module__Xm26pq__caption{color:var(--mutedForeground);margin-top:.75rem;font-size:.875rem}@keyframes stateSwitch-module__Xm26pq__shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.stateSwitch-module__Xm26pq__bone{animation:none}}
