/* RubleGuard 10 — shared product design system, no external assets. */
:root{--radius:20px;--rg-bg:#101916;--rg-surface:#17251f;--rg-raised:#1e3027;--rg-line:#34463c;--rg-text:#eaf4ef;--rg-muted:#adc3b5;--rg-accent:#81e4ad;--rg-deep:#244a36;--rg-ink:#10291b;--rg-other:#56a2a8;--rg-return:#aabbb4;--field:#15231c;--sidebar:#14221b;--goodbg:#203e2e;--nav-width:204px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
body.light{--rg-bg:#e5f7ed;--rg-surface:#fbfefc;--rg-raised:#eaf5ef;--rg-line:#d0e5da;--rg-text:#12251c;--rg-muted:#50675b;--rg-accent:#087a4b;--rg-deep:#d7f2e1;--rg-ink:#fff;--rg-other:#65aebc;--rg-return:#bacbc4;--field:#f4f9f6;--sidebar:#f6fcf8;--goodbg:#e0f5e6;--bad:#a23c2c;--badbg:#fcece7}
body{font-size:15px;line-height:1.55;letter-spacing:-.012em;background:var(--rg-bg)}body.light{background:linear-gradient(135deg,#d5f4e1 0,#ecf9f3 52%,#e1f4f4 100%);background-attachment:fixed}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:3px}button:hover{filter:none}button:disabled{cursor:not-allowed}a,button{transition:background .17s,color .17s,border-color .17s}h1,h2,h3{letter-spacing:-.045em}h1,h2{font-weight:650}h3{font-weight:650}.brand{letter-spacing:-.055em;font-weight:750}.brand svg,.nav .mark{box-sizing:content-box;padding:5px;background:#087c50;color:white;stroke:white;border-radius:11px;width:24px;height:24px}.brand-period{color:var(--rg-accent)}.index-page .wrap{max-width:1220px;width:calc(100% - 80px)}
/* Floating navigation, both surfaces use the same controls. */
.index-page .site-header{background:transparent;border:0;top:12px;padding:0;margin:12px 0 0}.index-page .rg-sitebar{height:66px;gap:12px;padding:8px 10px 8px 16px;border-radius:22px;background:var(--rg-surface);border:1px solid var(--rg-line);box-shadow:0 8px 35px #184d2d0b}.index-page .rg-sitebar .brand{font-size:21px}.rg-nav-button,.rg-theme-switch,.rg-top-link{border:0;border-radius:12px;background:var(--rg-raised);font-weight:600;color:var(--rg-text)}.rg-nav-button:hover,.rg-theme-switch:hover,.rg-top-link:hover{background:var(--rg-deep)}.rg-nav-tools{flex:0 1 360px;gap:8px}.rg-search-button{min-width:0;max-width:230px;flex:1;overflow:hidden}.rg-search-button span{overflow:hidden;text-overflow:ellipsis}.rg-search-button kbd{display:none}.mint-nav{display:flex;gap:17px;margin-left:auto;color:var(--rg-text);font-size:13px;white-space:nowrap}.mint-nav a:hover{color:var(--rg-accent)}.index-page .button.primary,.studio-page .panel button:not(.secondary):not(.contract-tabs button){background:var(--rg-accent);color:var(--rg-ink);border-color:transparent}.index-page .button.primary,.studio-page #compile,.studio-page #check{border-radius:13px;box-shadow:0 4px 9px #00774413}.index-page .button.primary:hover,.studio-page #compile:hover,.studio-page #check:hover{filter:brightness(.93)}.index-page .rg-studio-link{padding:10px 16px;min-height:44px}.index-page .rg-theme-switch{font-size:12px;padding:8px;min-height:38px}.index-page .hero{min-height:570px;padding:72px 0 54px;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:54px;align-items:center}.hero-copy{position:relative}.hero-copy .kicker{display:inline-flex;padding:6px 12px;border:1px solid var(--rg-line);border-radius:100px;background:var(--rg-surface);color:var(--rg-accent);font-size:12px;font-weight:650}.index-page .hero h1{font-size:clamp(46px,5.5vw,76px);font-weight:720;line-height:1.035;letter-spacing:-.065em;margin:25px 0 22px}.index-page .hero h1 em{color:var(--rg-accent)}.index-page .hero-copy>p:not(.fine){font-size:19px;line-height:1.65;max-width:470px;margin-bottom:28px}.index-page .actions{gap:18px}.index-page .actions .button{min-height:52px;padding-inline:21px;font-size:15px}.index-page .fine{margin:19px 0 0;font-size:12px}.index-page .demo-shell{position:relative;isolation:isolate;background:var(--rg-raised);border:1px solid var(--rg-line);border-radius:29px;padding:13px;box-shadow:0 18px 60px #0a774a18}.mint-token{position:absolute;right:-22px;top:-35px;z-index:-1;width:120px;height:120px;display:grid;place-items:center;background:linear-gradient(145deg,#b7ffbd,#1eae7b 62%,#066048);border:1px solid #b0eccc;border-radius:32px;box-shadow:8px 14px 22px #187b4b26,inset 0 3px 4px #ffffff70;transform:rotate(13deg)}.mint-token span{font-size:76px;line-height:1;font-weight:750;color:white;text-shadow:0 3px 4px #08784766}.demo-caption{color:var(--rg-muted);font-size:12px;padding:3px 8px 12px}.demo-caption span:first-child{font-weight:700;color:var(--rg-text)}.demo-caption i{display:inline-block;width:8px;height:8px;background:var(--rg-accent);border-radius:50%;margin-right:5px}.index-page .terminal{border-radius:20px;border:1px solid var(--rg-line);background:var(--rg-surface);overflow:hidden}.index-page .terminal-head{padding:12px 18px;font-size:12px}.index-page .terminal-body{padding:22px}.trans-header h2{font-size:38px;font-weight:700;letter-spacing:-.05em}.status{border:0;border-radius:100px;background:var(--rg-deep);color:var(--rg-accent);font-weight:650;padding:6px 11px}.ledger{border:0;gap:8px}.ledger>div,.ledger>div:first-child,.ledger>div+div{padding:11px;border:0;background:var(--rg-raised);border-radius:12px}.ledger .reserve{background:var(--rg-deep)!important}.ledger strong{font-size:18px;font-weight:650}.station i{background:var(--rg-surface);border-color:var(--rg-line);width:12px;height:12px}.station:before{top:5px;background:var(--rg-line)}.station b{font-weight:650}.rail{margin:20px 0}.rules>div{padding:9px 0}.demo-controls{margin:14px 0 10px}.demo-controls button{background:var(--rg-raised);border:1px solid transparent;border-radius:10px;font-size:12px;padding:8px 10px;color:var(--rg-text)}.index-page .demo-controls button[aria-pressed=true]{background:var(--rg-deep);border-color:var(--rg-accent);color:var(--rg-accent);font-weight:650}.compact .rg-chart{background:var(--rg-raised);border:0;border-radius:14px;padding:13px 16px}.compact .rg-ring>div{background:var(--rg-raised)}.index-page .rg-transfer{font-weight:650}.proofstrip{padding:22px 26px;background:var(--rg-surface);border:1px solid var(--rg-line);border-radius:20px;align-items:center}.proofstrip b{font-weight:720;font-size:32px;color:var(--rg-accent)}.proofstrip span{font-size:13px}.index-page .section{padding-block:76px;scroll-margin-top:100px}.section-title{margin-bottom:28px;gap:32px}.section-title h2,.security h2,.mint-ai-section h2{font-weight:700;letter-spacing:-.055em;font-size:clamp(34px,4vw,54px);line-height:1.12}.section-title p{font-size:15px}.index-page .cases{gap:14px;border:0;grid-template-columns:repeat(5,minmax(0,1fr))}.index-page .cases article,.index-page .cases article+article{background:var(--rg-surface);border:1px solid var(--rg-line);border-radius:22px;padding:20px 17px 0;min-height:250px;overflow:hidden;display:flex;flex-direction:column;position:relative}.index-page .cases h3{margin:0 0 7px;font-size:20px;line-height:1.2;letter-spacing:-.045em}.index-page .cases p{font-size:13px;line-height:1.45}.index-page .cases a{margin:12px 0 8px;font-size:12px;font-weight:650;z-index:1}.scenario-art{margin-top:auto;align-self:flex-end;display:grid;place-items:center;width:91px;height:91px;border-radius:23px;transform:rotate(-10deg) translate(5px,7px);color:#fff;background:linear-gradient(145deg,#57d5ad,#087b50);box-shadow:0 8px 20px #126f3925,inset 0 1px 2px #ffffff80}.scenario-art svg{width:46px;height:46px;stroke:currentColor;stroke-width:1.35;fill:none;stroke-linecap:round;stroke-linejoin:round}.tone-1{background:linear-gradient(145deg,#8cdadf,#247b99)}.tone-2{background:linear-gradient(145deg,#c7c8f2,#6d72aa)}.tone-3{background:linear-gradient(145deg,#b7deb0,#4f935a)}.tone-4{background:linear-gradient(145deg,#8cc4af,#267867)}.index-page .rg-chart{border-radius:19px;padding:24px}.index-page .compact .rg-chart{padding:13px}.rg-chart h3{font-size:16px;font-weight:680}.rg-chart p{font-size:12px}.rg-chart .rg-bar{fill:var(--rg-accent)}.rg-chart .rg-blocked{fill:var(--rg-other)}.rg-ring>div{font-weight:700}.index-page .rg-lab{padding-top:0}.rg-run,.rg-inline-ai{border-radius:11px;font-weight:650;padding:10px 15px}.process{border:0;gap:16px}.process article,.process article+article{padding:20px 18px 15px;background:var(--rg-surface);border:1px solid var(--rg-line);border-radius:18px}.process article>span{display:inline-grid;place-items:center;background:var(--rg-deep);font-size:14px;font-weight:700;border-radius:10px;width:39px;height:39px}.process h3{margin-top:18px}.index-page .security{border:0;background:var(--rg-surface);border-radius:30px;width:calc(100% - 80px);max-width:1220px;margin:0 auto}.security-inner{width:auto!important;padding:42px 40px!important}.security .button{border-color:var(--rg-line);border-radius:12px}.mint-ai-section{text-align:center;padding:95px 0 100px;position:relative;isolation:isolate}.mint-ai-section:before{content:'';position:absolute;z-index:-1;inset:20% 9%;background:radial-gradient(ellipse at 40% 55%,#6edca344,transparent 65%),radial-gradient(ellipse at 65% 55%,#7eceda36,transparent 65%);pointer-events:none}.mint-ai-brand{display:inline-flex;gap:9px;align-items:center;color:var(--rg-accent);font-weight:680;margin-bottom:20px}.mint-ai-brand span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:var(--rg-deep);font-size:22px}.mint-ai-section h2{font-size:clamp(38px,5vw,62px);margin-bottom:20px}.mint-ai-section p{color:var(--rg-muted);font-size:17px;margin:0 auto 28px;max-width:590px}.mint-ask{display:flex;gap:7px;max-width:770px;margin:0 auto;padding:7px;background:var(--rg-surface);border:1px solid var(--rg-line);border-radius:23px;box-shadow:0 10px 36px #127e3920}.mint-ask input{flex:1;min-width:0;padding:15px 17px;font:inherit;border:0;color:var(--rg-text);background:transparent;outline:none}.mint-ask button{display:grid;place-items:center;width:56px;min-height:56px;flex:none;border:0;background:var(--rg-accent);color:var(--rg-ink);border-radius:17px}.mint-ask button svg{width:24px;height:24px}.mint-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:22px auto 17px}.mint-suggestions button{padding:9px 14px;font-size:13px;font-weight:600;border:1px solid var(--rg-line);background:var(--rg-surface);border-radius:100px;color:var(--rg-text)}.mint-suggestions button:hover{background:var(--rg-deep)}.mint-ai-inner>small{color:var(--rg-muted);font-size:11px}.index-page .bottom{padding-block:35px}.index-page footer{padding-bottom:90px}
/* Spacious full-width catalog, matching navigation on both surfaces. */
.rg-catalog:not(.search-mode){inset:18px 0 auto;margin:0 auto;width:min(1220px,calc(100vw - 48px));height:min(780px,calc(100dvh - 36px));border:1px solid var(--rg-line);border-radius:26px;box-shadow:0 20px 80px #173a2933}.rg-catalog:not(.search-mode)[open]{animation:rgAppear .2s ease-out}.rg-catalog::backdrop{background:#153d3040;backdrop-filter:blur(5px)}.rg-catalog.search-mode{border-radius:24px}.rg-catalog-head{margin:0!important;padding:26px 30px 20px!important}.rg-catalog-head h2{font-size:29px;font-weight:700;letter-spacing:-.045em}.rg-close{background:var(--rg-raised)!important;border:0;border-radius:12px;color:var(--rg-text)!important}.rg-catalog-search{background:var(--rg-raised);border:0;border-radius:15px;padding:13px 16px;margin:0 30px 16px}.rg-filter{padding-inline:30px}.rg-filter button{padding:9px 13px;border:0;border-radius:11px;background:var(--rg-raised);font-weight:600}.rg-count{margin-inline:30px}.rg-results{padding:6px 22px 24px}.rg-catalog:not(.search-mode) .rg-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:start;gap:12px 25px}.rg-result-group{min-width:0}.rg-results h3{font-size:13px;color:var(--rg-muted);font-weight:650;margin:14px 9px 8px}.rg-result{border-radius:13px!important;background:transparent!important;color:var(--rg-text)!important;min-height:58px;margin:0!important;padding:9px!important;font-weight:500}.rg-result:hover,.rg-result:focus-visible{background:var(--rg-raised)!important}.rg-result-icon{border-radius:10px}.rg-result-text b{font-weight:650}.rg-catalog-foot{margin:0!important;padding:14px 30px!important}
/* Studio: same visual tokens, purpose-built workspace. */
.studio-page{--nav-width:204px}.studio-page>header{background:var(--rg-surface);margin:12px 15px 0 calc(var(--nav-width) + 12px);height:62px;padding:0 15px;border:1px solid var(--rg-line);border-radius:18px;top:12px;box-shadow:0 4px 20px #0b482c08;gap:10px}.studio-page .nav{inset:12px auto 12px 12px;width:calc(var(--nav-width) - 12px);border:1px solid var(--rg-line);border-radius:22px;background:var(--rg-surface);padding:21px 12px;gap:5px}.studio-page .nav .brand{padding:0 3px;margin-bottom:21px;font-size:20px;gap:7px}.studio-page .nav .mark{width:21px;height:21px;padding:5px;border-radius:10px}.studio-page .nav a:not(.brand){min-height:44px;border-radius:12px;padding:11px 10px;color:var(--rg-muted);font-weight:550;font-size:13px}.studio-page .nav a.active{background:var(--rg-deep);color:var(--rg-accent);box-shadow:none;border-color:transparent;font-weight:700}.studio-page .nav small{padding:14px 4px 2px}.mint-side-ai{display:flex;align-items:center;gap:10px;border:0;background:var(--rg-raised);color:var(--rg-accent);border-radius:12px;font-weight:650;margin:7px 0 0;text-align:left;padding:10px}.mint-side-ai span{font-size:20px;line-height:1}.mint-mobile-brand{display:none}.studio-page .topline{gap:8px}.studio-page .topline .rg-top-link,.studio-page .topline button{border-radius:10px}.studio-page .topline .rg-top-link.selected{background:var(--rg-deep);color:var(--rg-accent)}.studio-page main{padding:32px 28px 85px;max-width:none}.mint-breadcrumb{font-size:12px;font-weight:550;color:var(--rg-muted);margin:0 0 9px}.mint-breadcrumb span{margin:0 5px;color:var(--rg-accent)}.studio-page .page-heading{gap:12px}.studio-page .page-heading h1{font-size:clamp(30px,3vw,43px);font-weight:700;line-height:1.12;letter-spacing:-.055em;margin:0 0 8px}.studio-page .page-title p{font-size:14px}.studio-page .viewtools{margin:0;gap:7px}.studio-page .viewtools button{padding:8px 12px;background:var(--rg-surface);border:1px solid var(--rg-line);border-radius:11px;min-height:38px;font-weight:600}.studio-page .draft-status{margin-top:10px}.studio-page .overview{border:0;gap:12px;background:transparent;overflow:visible;margin:24px 0}.studio-page .overview>div,.studio-page .overview>div+div{border:1px solid var(--rg-line);border-radius:17px;padding:16px 18px;background:var(--rg-surface)}.studio-page .overview .status-title{background:var(--rg-deep);border-color:var(--rg-line)}.studio-page .overview strong{font-size:21px;font-weight:700}.studio-page .overview small{font-size:12px;letter-spacing:0}.studio-page .steps{padding:18px 20px 14px;border:1px solid var(--rg-line);border-radius:16px;background:var(--rg-surface);margin:0 0 16px}.studio-page .steps i,.studio-page .sim-rail i{width:12px;height:12px;background:var(--rg-surface);border-color:var(--rg-line)}.studio-page .steps span:first-child i,.studio-page .steps[data-progress=drafted] span:nth-child(-n+2) i,.studio-page .steps[data-progress=verified] span:nth-child(-n+4) i,.studio-page .steps[data-progress=simulated] span i{background:var(--rg-accent);border-color:var(--rg-accent)}.studio-page .steps span{font-weight:600}.studio-page .layout{gap:14px;border:0;border-radius:0;background:transparent;overflow:visible;align-items:stretch}.studio-page .layout.single{max-width:none}.studio-page .panel,.studio-page .layout:not(.single) #editor{background:var(--rg-surface);border:1px solid var(--rg-line);border-radius:20px;padding:23px;box-shadow:0 4px 14px #0d503907}.studio-page .panel h2{font-weight:700;font-size:22px;margin-bottom:17px}.studio-page label{font-weight:600}.studio-page input,.studio-page select,.studio-page textarea{border:1px solid var(--rg-line);border-radius:11px;padding:11px 12px;background:var(--field);font-size:14px}.studio-page #intent{min-height:88px}.studio-page .examples button,.studio-page .editor-tools button{border-radius:9px;padding:7px 10px;min-height:30px;background:var(--rg-raised);color:var(--rg-text)}.studio-page button.secondary{border-radius:11px;background:var(--rg-raised);color:var(--rg-text);font-weight:600}.studio-page #generate{background:var(--rg-deep);color:var(--rg-accent);border:0}.studio-page #suggest{color:var(--rg-muted)}.studio-page .contract-tabs{background:var(--rg-raised);border:0;border-radius:13px;padding:4px;gap:4px}.studio-page .contract-tabs button{border:0;border-radius:10px;margin:0;flex:1;font-weight:600;background:transparent}.studio-page .contract-tabs button[aria-pressed=true]{background:var(--rg-surface);color:var(--rg-text);box-shadow:0 2px 5px #00000009}.readable-head{background:var(--rg-deep);border:0;border-radius:16px;padding:16px;margin-bottom:6px}.studio-page .readable-head strong{font-size:34px;font-weight:700}.rule-icon{border-radius:10px;background:var(--rg-deep);color:var(--rg-accent);font-weight:650}.readable-rules b{font-weight:650}.studio-page .metric,.studio-page .graph,.studio-page .proof>div,.studio-page pre{border-radius:14px}.studio-page .metric{background:var(--rg-raised)}.studio-page .rg-chart{border-radius:17px}.mint-flow-summary{display:grid;grid-template-columns:1fr 1.15fr;gap:22px;align-items:center;background:var(--rg-surface);border:1px solid var(--rg-line);border-radius:20px;padding:24px;margin-top:16px}.mint-flow-summary h2{font-size:23px;letter-spacing:-.04em;margin:0 0 7px;font-weight:700}.mint-flow-summary p{font-size:13px}.mint-flow-link{display:inline-block;color:var(--rg-accent);font-size:13px;font-weight:650;margin-top:12px}.mint-flow-chart{display:grid;gap:11px}.mint-flow-chart>div{display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center;font-size:12px;color:var(--rg-muted)}.mint-flow-chart strong{font-weight:650;color:var(--rg-text)}.mint-track{grid-column:1/-1;height:8px;border-radius:20px;background:var(--rg-raised);overflow:hidden}.mint-track i{height:100%;display:block;background:var(--rg-accent);border-radius:20px;transition:width .3s}.studio-page footer{border:0}
/* One assistant on both pages. */
.rg-chat-launch{background:var(--rg-accent);color:var(--rg-ink);border:0;border-radius:18px;box-shadow:0 8px 22px #147b4040;padding:14px 18px;min-height:50px}.rg-chat-launch svg{color:var(--rg-ink)}.rg-chat-panel{border-radius:24px;border:1px solid var(--rg-line);box-shadow:0 16px 50px #184d2d29;max-height:min(700px,calc(100dvh - 105px))}.rg-chat-header{background:var(--rg-raised);padding:18px 16px}.rg-chat-avatar{background:var(--rg-accent);color:var(--rg-ink);border-radius:14px}.rg-chat-avatar svg{color:var(--rg-ink)}.rg-chat-header b{font-size:19px;letter-spacing:-.04em;font-weight:700}.rg-chat-header small{margin-top:3px}.rg-chat-tools button{border:0;border-radius:9px;background:var(--rg-surface);font-size:11px}.rg-chat-msg{border:0;border-radius:15px;padding:12px 13px}.rg-chat-msg.user{background:var(--rg-deep);border:0}.rg-chat-quick{gap:7px}.rg-chat-quick button{background:var(--rg-raised);border:0;border-radius:10px;font-weight:600;padding:9px 10px;font-size:12px}.rg-chat-footer{background:var(--rg-surface)}.rg-chat-footer textarea{border:1px solid var(--rg-line);border-radius:13px;background:var(--field)}.rg-chat-footer form button{background:var(--rg-accent);color:var(--rg-ink);border:0;border-radius:11px;height:42px}.rg-chat-footer .rg-chat-transfer{border:0;background:var(--rg-raised);border-radius:10px;font-weight:600}.rg-chat-panel p{line-height:1.4}.studio-page .rg-chat-panel label{font-weight:400}.studio-page .rg-chat-panel textarea{font-size:13px}.studio-page .rg-chat-panel button{font-weight:550}.studio-page .rg-chat-panel .rg-chat-tools button{font-size:11px}
@media(min-width:1450px){.studio-page.rg-chat-open main{margin-right:338px;padding-right:16px}.studio-page.rg-chat-open>header{margin-right:350px}.studio-page.rg-chat-open footer{margin-right:338px}.studio-page.rg-chat-open .rg-chat-panel{width:320px;top:12px;right:12px;bottom:12px;max-height:none;box-shadow:none}.studio-page.rg-chat-open .rg-chat-launch{display:none}.studio-page.rg-chat-open .page-heading{flex-direction:column;align-items:flex-start}}
@media(max-width:1150px){.mint-nav{display:none}.rg-nav-tools{flex:1}.index-page .hero{gap:28px}.index-page .cases{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-page .header-context,.studio-page .topsep{display:none}.studio-page .page-heading{align-items:flex-start}.studio-page .viewtools{margin-top:4px}.studio-page .panel{padding:18px}}
@media(max-width:900px){.index-page .hero{min-height:0;grid-template-columns:1fr;padding-top:45px}.hero-copy{text-align:center}.index-page .hero-copy>p:not(.fine){margin-inline:auto}.index-page .actions{justify-content:center}.index-page .demo-shell{max-width:680px;width:100%;margin:auto}.mint-token{right:-8px;top:-23px}.index-page .cases{grid-template-columns:repeat(2,minmax(0,1fr))}.rg-catalog:not(.search-mode) .rg-results{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-page{--nav-width:174px}.studio-page .nav .brand{font-size:17px}.studio-page .nav .mark{width:17px;height:17px}.studio-page .topline .sandbox{display:none}.studio-page .layout:not(.single){grid-template-columns:1fr}.mint-flow-summary{grid-template-columns:1fr}}
@media(max-width:760px){.index-page .wrap{width:calc(100% - 30px)}.index-page .site-header{top:6px;margin-top:6px}.index-page .rg-sitebar{height:auto;gap:7px;padding:9px;border-radius:17px}.index-page .rg-sitebar .brand{font-size:19px}.index-page .rg-sitebar .brand svg{width:20px;height:20px;padding:4px}.index-page .rg-nav-tools{flex-basis:100%;order:3}.index-page .rg-search-button{max-width:none}.index-page .rg-studio-link{padding-inline:10px;font-size:12px}.index-page .hero{padding:48px 0 26px;gap:42px}.index-page .hero h1{font-size:clamp(42px,10vw,59px);margin:20px 0}.index-page .hero-copy>p:not(.fine){font-size:16px}.index-page .actions .button{min-height:46px}.index-page .terminal-body{padding:15px}.ledger strong{font-size:14px}.ledger span{font-size:10px}.ledger>div,.ledger>div:first-child{padding:8px}.trans-header h2{font-size:31px}.proofstrip{padding:18px;gap:16px}.proofstrip b{font-size:28px}.index-page .section{padding-block:48px;scroll-margin-top:136px}.section-title{gap:14px}.section-title h2,.security h2{font-size:35px}.index-page .cases{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.index-page .cases article,.index-page .cases article+article{padding:15px 12px 0;min-height:225px;border:1px solid var(--rg-line)}.index-page .cases h3{font-size:18px}.scenario-art{width:76px;height:76px;border-radius:19px}.scenario-art svg{width:38px;height:38px}.process{gap:10px}.process article,.process article+article{padding:15px 12px;border:1px solid var(--rg-line)}.process h3{font-size:17px}.process p{font-size:12px}.index-page .security{width:calc(100% - 30px);border-radius:22px}.security-inner{padding:25px!important}.mint-ai-section{padding:65px 0}.mint-ai-section h2{font-size:39px}.mint-ai-section p{font-size:15px}.mint-ask input{padding:10px 8px;font-size:13px}.mint-ask button{width:44px;min-height:44px}.mint-ask{border-radius:18px}.mint-suggestions button{font-size:12px}.rg-catalog:not(.search-mode),.rg-catalog.search-mode{inset:8px 0 auto;height:calc(100dvh - 16px);width:calc(100vw - 16px);border-radius:20px}.rg-catalog:not(.search-mode) .rg-results{grid-template-columns:1fr;gap:0}.rg-catalog-head{padding:18px 17px 12px!important}.rg-catalog-search{margin:0 17px 12px}.rg-filter{padding-inline:17px}.rg-count{margin-inline:17px}.rg-results{padding-inline:10px}.rg-catalog-foot{padding-inline:17px!important}.studio-page>header{margin:8px 8px 0;padding:9px 12px;height:auto;min-height:60px;position:static;justify-content:space-between}.mint-mobile-brand{display:inline-block;color:var(--rg-text);font-size:18px;font-weight:750;letter-spacing:-.055em}.studio-page #headerView{display:none}.studio-page .nav{position:sticky;top:0;inset:auto;width:calc(100% - 16px);margin:8px;border-radius:14px;flex-direction:row;overflow:auto;padding:5px;z-index:8}.studio-page .nav a:not(.brand){min-height:37px;padding:8px 10px;font-size:12px}.studio-page .nav .brand,.studio-page .nav .mint-side-ai{display:none}.studio-page main{margin-left:0;padding:20px 15px 90px}.studio-page .overview{gap:7px}.studio-page .overview>div,.studio-page .overview>div+div{padding:12px 9px;border-radius:13px}.studio-page .overview strong,.studio-page .overview .status-title strong{font-size:16px}.studio-page .overview small{font-size:10px}.studio-page .steps{padding:15px 12px}.studio-page .panel,.studio-page .layout:not(.single) #editor{padding:18px;border-radius:17px}.studio-page .page-heading h1{font-size:32px}.studio-page .viewtools{gap:5px}.studio-page .viewtools button{font-size:12px;padding:7px 9px}.rg-chat-launch{border-radius:15px;bottom:12px;right:12px}.rg-chat-panel{right:10px;bottom:73px;width:min(390px,calc(100vw - 20px));max-height:calc(100dvh - 86px)}.rg-chat-header{padding:13px}.rg-chat-quick button{font-size:11px}.mint-flow-summary{padding:17px}}
@media(max-width:410px){.studio-page .overview{grid-template-columns:1fr}.studio-page #install{display:none}.studio-page .topline{gap:5px}.studio-page .topline button{font-size:11px}.index-page .rg-sitebar .rg-theme-switch{padding:5px}.index-page .cases article{min-height:245px}.index-page .hero h1{font-size:42px}.index-page .demo-controls button{padding:6px;font-size:11px}.mint-token{right:0}.mint-ask input{font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
/* Keep the whole document painted, including full-page capture and scroll. */
html{background:#101916}html:has(body.light){background:#e5f7ed}body.light{background-attachment:scroll;min-height:100vh} .mint-token{top:-48px;right:-25px;width:100px;height:100px;border-radius:27px}.mint-token span{font-size:62px}.demo-caption span:last-child{position:relative;padding-right:4px}.rg-chat-open .rg-chat-log{flex:0 1 auto;max-height:54vh}.rg-chat-open .rg-chat-footer{margin-top:auto}.rg-chat-open .rg-chat-quick{padding-top:4px}.rg-chat-open .rg-chat-panel{min-height:0}.rg-chart .mint-line{stroke:var(--rg-accent);stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}.rg-chart .mint-point{fill:var(--rg-accent);stroke:var(--rg-surface);stroke-width:2}.rg-chart .mint-area{fill:var(--rg-accent);opacity:.10}.rg-chart.mint-history{grid-column:1/-1}.mint-history svg{max-height:180px}.studio-page .rg-chat-panel .rg-chat-footer textarea{padding:9px;min-height:58px}.studio-page .rg-chat-panel .rg-chat-footer form button{margin:0}.studio-page .nav a.active{background:var(--rg-deep)}@media(max-width:760px){.mint-token{top:-27px;right:0;width:76px;height:76px;border-radius:20px}.mint-token span{font-size:47px}.rg-chat-open .rg-chat-log{max-height:36vh}}

/* --- RubleGuard 15 refinements --- */
.site-header .rg-sitebar-clean{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.site-header .rg-sitebar-clean .brand{margin-right:auto}
.site-header .rg-sitebar-clean .rg-nav-tools{display:flex;gap:10px;flex-wrap:wrap}
.site-header .rg-sitebar-clean .rg-theme-switch,.site-header .rg-sitebar-clean .rg-settings-trigger,.site-header .rg-sitebar-clean .rg-studio-link{margin-left:0}
.rg-header-status{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:14px;background:var(--rg-deep);color:var(--rg-accent);font-size:13px;font-weight:700}
.rg-header-status::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--rg-accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--rg-accent) 22%, transparent)}
.site-header .mint-nav{display:none}

.studio-page .topline .rg-top-link{display:none}
.studio-page .topline:first-child{flex-wrap:wrap}
.studio-page .topline:first-child .header-context,
.studio-page .topline:first-child .topsep,
.studio-page .topline:first-child #headerView{font-weight:700;color:var(--rg-text)}
.studio-page .topline:first-child .rg-nav-button{margin-left:4px}

.studio-page .sim-panel{display:flex;flex-direction:column;gap:18px}
.studio-page .sim-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.studio-page .sim-head .panel-desc{margin:6px 0 0}
.studio-page .sim-mode{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:var(--rg-deep);color:var(--rg-accent);font-size:12px;font-weight:700;white-space:nowrap}
.studio-page .sim-mode::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--rg-accent)}
.studio-page .sim-stage-card,.studio-page .sim-log-card,.studio-page .sim-analytics-card{border:1px solid var(--rg-line);background:var(--rg-bg);border-radius:18px;padding:18px}
.studio-page .sim-metrics{margin:0}
.studio-page .sim-toolbar{display:grid;grid-template-columns:240px 1fr;gap:14px;align-items:end}
.studio-page .sim-day label{margin-top:0}
.studio-page .sim-day input{margin-top:0}
.studio-page .sim-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.studio-page .sim-actions button{margin:0;min-height:42px;padding:10px 14px;border-radius:12px}
.studio-page .sim-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.studio-page .sim-card-head h3{margin:0;font-size:16px;font-weight:700;letter-spacing:-.02em}
.studio-page .sim-card-head small{color:var(--rg-muted);font-size:12px}
.studio-page .sim-log-card pre{margin:0;max-height:none;min-height:112px}
.studio-page .sim-analytics-card .rg-analytics{margin-top:0}
.studio-page .session-actions{display:flex;flex-wrap:wrap;gap:10px}
.studio-page .session-actions button{margin:0;border-radius:12px;min-height:40px}

@media (max-width: 900px){
  .studio-page .sim-toolbar{grid-template-columns:1fr}
}
