.re718-studio{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;padding:0;overscroll-behavior:contain;background:var(--bg,#141719);color:var(--text,#edf4f7);font:inherit;box-sizing:border-box}
.re718-studio{--bg:var(--ruction-surface-base,#0B0D0F);--panel:var(--ruction-surface-card,#1C1F22);--border:var(--ruction-border,#393D42);--text:var(--ruction-text-primary,#F4F6F7);--muted:var(--ruction-text-muted,#ADB4BB)}
.re718-studio::backdrop{background:#000a}.re718-studio *{box-sizing:border-box}
.re718-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px clamp(20px,4vw,56px);background:#111416;color:#f4f8fa;border-bottom:2px solid #159ca9}
.re718-top h1{font-size:clamp(27px,3vw,40px);font-weight:680;letter-spacing:-.025em;margin:7px 0}
.re718-top p{margin:0;color:#b2c1c8;max-width:650px;line-height:1.5}
.re718-kicker{font-size:11px;font-weight:750;letter-spacing:.13em;color:#179bad}
.re718-status{margin:22px clamp(20px,4vw,56px) 0;padding:12px 16px;border:1px solid var(--border,#43515a);border-left:3px solid #179bad;border-radius:8px;background:var(--panel,#22282b);line-height:1.45}
.re718-status[data-warning=true]{border-left-color:#e9a53b}
.re718-columns{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(320px,1.35fr) minmax(280px,1fr);gap:20px;padding:22px clamp(20px,4vw,56px) 50px;align-items:start}
.re718-panel{min-width:0;background:var(--panel,#22282b);border:1px solid var(--border,#43515a);border-radius:13px;padding:22px;box-shadow:0 6px 18px #00000014}
.re718-panel h2{font-size:19px;margin:0 0 18px;letter-spacing:-.015em}.re718-panel h3{font-size:14px;margin:12px 0}
.re718-panel hr{border:0;border-top:1px solid var(--border,#43515a);margin:24px 0}
.re718-field{display:flex;flex-direction:column;gap:7px;margin:0 0 16px;font-size:13px;font-weight:600}
.re718-field small,.re718-muted,.re718-panel small{font-size:12px;color:var(--muted,#8d9aa2);font-weight:400;line-height:1.45}
.re718-panel input,.re718-panel select{width:100%;min-width:0;min-height:42px;border:1px solid var(--border,#62717b);border-radius:8px;color:inherit;background:var(--bg,#141719);padding:10px;font:inherit}
.re718-panel input:focus-visible,.re718-panel select:focus-visible,.re718-btn:focus-visible{outline:2px solid #19a8b7;outline-offset:2px}
.re718-colors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.re718-colors input[type=color]{height:48px;padding:5px;border-radius:10px;cursor:pointer}
.re718-colors input::-webkit-color-swatch-wrapper{padding:0}.re718-colors input::-webkit-color-swatch{border:0;border-radius:6px}
.re718-presets,.re718-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.re718-presets{margin:0 0 18px}.re718-presets .re718-btn::before{content:'';display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--preset);border:1px solid #89969a;margin-right:7px;vertical-align:middle}
.re718-btn{cursor:pointer;border:1px solid var(--border,#62717b);border-radius:8px;background:var(--panel,#22282b);color:inherit;font:inherit;font-size:13px;font-weight:650;padding:10px 13px;min-height:40px;white-space:normal}
.re718-btn:hover:not(:disabled){border-color:#179bad}.re718-btn:disabled{opacity:.45;cursor:not-allowed}
.re718-top .re718-btn{background:#242a2e;color:white;border-color:#55636b}
.re718-primary{background:var(--ruction-action,#0678A8);border-color:var(--ruction-action,#0678A8);color:#fff}.re718-primary:hover:not(:disabled){background:var(--ruction-action-hover,#005D85)}
.re718-kicker,.re718-record-meta,.re718-counter{color:var(--ruction-elements-teal,#17B7C5)}.re718-top .re718-kicker{color:#17B7C5}
.re718-danger{color:#e26f6f;border-color:#b96363}.re718-library>.re718-primary{width:100%;margin-bottom:14px}.re718-library>input{margin-bottom:12px}
.re718-list{display:flex;flex-direction:column;gap:8px;max-height:430px;overflow:auto;margin-bottom:14px}
.re718-record{display:flex;flex-direction:column;gap:6px;text-align:left;width:100%;min-height:75px;text-wrap:wrap;overflow-wrap:anywhere}.re718-record[aria-pressed=true]{border-color:#17a7b0;box-shadow:inset 3px 0 #17a7b0}.re718-record small{font-weight:400}.re718-record-meta{font-size:11px;color:#179bad}
.re718-preview{position:sticky;top:16px}.re718-qr-stage{background:#fff;border-radius:12px;padding:12px;margin-bottom:14px;box-shadow:0 4px 14px #0002}.re718-qr-stage svg{width:100%;height:auto;display:block}
.re718-link{padding:10px;background:var(--bg,#141719);border:1px solid var(--border,#43515a);border-radius:7px;font-size:11px;overflow-wrap:anywhere;user-select:all;margin-bottom:10px}
.re718-preview .re718-actions{margin-top:10px}.re718-counter{font-variant-numeric:tabular-nums;font-size:40px;font-weight:680;color:#179bad;letter-spacing:-.04em}
.re718-chart{display:flex;height:80px;gap:3px;align-items:flex-end;border-bottom:1px solid var(--border,#43515a)}.re718-bar{flex:1;min-height:2px;background:#189ba7;border-radius:3px 3px 0 0}
.re718-outcomes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.re718-outcomes>div{display:flex;flex-direction:column;gap:6px;padding:10px 8px;border:1px solid var(--border);border-radius:8px;background:var(--bg);overflow-wrap:anywhere}.re718-outcomes strong{font-size:24px;color:var(--ruction-elements-teal,#17B7C5);font-variant-numeric:tabular-nums}.re718-outcomes small{line-height:1.2}
@media(max-width:1120px){.re718-columns{grid-template-columns:minmax(280px,1fr) minmax(280px,1fr)}.re718-library{grid-column:1/-1}.re718-list{max-height:170px;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}}
@media(max-width:680px){.re718-top{align-items:start;flex-direction:column;padding:22px 16px}.re718-columns{grid-template-columns:1fr;padding:14px 12px 30px;gap:12px}.re718-status{margin:14px 12px 0}.re718-library{grid-column:auto}.re718-preview{position:static}.re718-panel{padding:17px}.re718-list{display:flex}.re718-top p{font-size:13px}}
/* Compact modal studio. Only individual panes scroll on desktop; the artwork
   is a separate image document, immune to application-wide SVG styling. */
.re718-studio{inset:0;margin:auto;width:min(1200px,calc(100vw - 48px));height:min(760px,calc(100dvh - 48px));max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 24px 80px #0009}
.re718-studio[open]{display:flex;flex-direction:column}.re718-studio [hidden]{display:none!important}
.re718-top{padding:15px 20px;gap:12px;flex:0 0 auto}.re718-top h1{font-size:25px;margin:2px 0}.re718-top p{font-size:12px;line-height:1.3}.re718-status{margin:10px 14px 0;padding:7px 10px;font-size:12px;flex:0 0 auto}
.re718-columns{flex:1;min-height:0;grid-template-columns:minmax(175px,.8fr) minmax(300px,1.45fr) minmax(240px,1fr);align-items:stretch;gap:12px;padding:10px 14px 14px;overflow:hidden}.re718-panel{min-height:0;overflow:auto;padding:13px;border-radius:10px}.re718-library{grid-column:auto}.re718-panel h2{font-size:16px;margin:0 0 11px}.re718-panel h3{font-size:13px;margin:5px 0 8px}
.re718-field{gap:4px;margin:0 0 8px;font-size:12px}.re718-panel input,.re718-panel select{min-height:34px;padding:6px 8px;font-size:12px}.re718-btn{min-height:34px;padding:7px 10px;font-size:12px}.re718-library>.re718-primary{margin-bottom:8px}.re718-library>input{margin-bottom:7px}.re718-list{display:flex;max-height:42vh;gap:6px;margin-bottom:8px}.re718-record{min-height:58px;gap:3px}.re718-panel:nth-child(2){display:flex;flex-direction:column}.re718-form{flex:1;min-height:0;overflow:auto;padding:0 3px}.re718-panel:nth-child(2)>.re718-actions{padding-top:10px;border-top:1px solid var(--border)}
.re718-tabs{display:flex;gap:5px;margin-bottom:12px}.re718-tabs button{flex:1}.re718-tabs button[aria-pressed=true]{border-color:#17b7c5;background:#075568;color:#fff}.re718-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 9px}.re718-presets .re718-preset{display:flex;flex-direction:column;align-items:center;gap:4px;padding:5px 2px;font-size:10px;min-height:0;overflow:hidden}.re718-presets .re718-preset::before{display:none}.re718-preset img{width:42px;height:42px;object-fit:contain;border-radius:4px;background:white}.re718-colors{gap:5px}.re718-colors input[type=color]{height:32px;padding:3px}.re718-style-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.re718-logo-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.re718-logo-row .re718-field{flex:1 1 100%;margin-bottom:0}.re718-logo-row p{margin:0}.re718-preview{position:static}.re718-qr-stage{width:min(100%,245px);margin:0 auto 8px;padding:7px;border-radius:9px}.re718-qr-stage img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.re718-preview .re718-muted{margin:6px 0}.re718-link{padding:6px;font-size:10px;margin-bottom:6px}.re718-preview .re718-actions{margin:6px 0}.re718-stats{margin-top:10px;border-top:1px solid var(--border);padding-top:9px}.re718-stats summary{cursor:pointer;font-weight:650;font-size:12px}.re718-counter{font-size:28px}.re718-chart{height:42px}.re718-outcomes>div{padding:6px 4px}.re718-outcomes strong{font-size:18px}
@media(max-width:850px){.re718-studio{width:calc(100vw - 28px);max-width:calc(100vw - 28px);height:calc(100dvh - 28px);max-height:calc(100dvh - 28px)}.re718-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;overflow:auto}.re718-library{grid-column:1/-1}.re718-list{max-height:130px}.re718-panel{overflow:visible}.re718-form{overflow:visible}.re718-top{flex-direction:row;align-items:center}.re718-qr-stage{max-width:210px}}
@media(max-width:550px){.re718-columns{grid-template-columns:1fr}.re718-library{grid-column:auto}.re718-top p{display:none}.re718-top h1{font-size:20px}.re718-top .re718-btn{font-size:10px}.re718-top{padding:10px}.re718-presets{grid-template-columns:repeat(4,minmax(0,1fr))}}
.re722-performance .re722-table{margin:12px 0;overflow-x:auto}.re722-performance table{border-collapse:collapse;width:100%;font-size:11px}.re722-performance th,.re722-performance td{text-align:left;border-bottom:1px solid var(--border);padding:6px 4px;vertical-align:top;overflow-wrap:anywhere;max-width:190px}.re722-performance th{color:var(--ruction-elements-teal,#17B7C5)}.re722-performance .re718-chart{margin-bottom:10px}.re722-performance h3{margin:12px 0 6px}.re722-performance .re718-outcomes{margin:10px 0}
