/* Ruction Elements v0.5.10 — opt-in Impact Reports visual studio. */
#impactView #re510CustomizeButton{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;border-radius:10px;border:1px solid #393D42;background:#24282C;color:#EAF5F8;cursor:pointer;padding:8px 12px;min-height:42px;white-space:nowrap}
#impactView #re510CustomizeButton svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
#impactView #re510CustomizeButton:hover,#impactView #re510CustomizeButton.re510-is-editing{border-color:#17B7C5;background:#10333A;color:#3FE0F2}
#appShell[data-theme="light"] #impactView #re510CustomizeButton{background:#fff;color:#25343C;border-color:#D1D9DF}
#impactView .re510-edit-mode *{cursor:crosshair!important}
#impactView .re510-edit-mode [data-re510-hover="true"]{outline:1px dashed #17B7C5;outline-offset:2px}
#impactView [data-re510-selected="true"]{outline:2px solid #17B7C5!important;outline-offset:2px;position:relative}
#re510VisualPanel[hidden]{display:none!important}
#re510VisualPanel{--bg:#1C1F22;--surface:#24282C;--fg:#F4F6F7;--muted:#ADB8BF;--stroke:#393D42;position:fixed;right:16px;top:96px;width:362px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 115px);z-index:19995;overflow:auto;overscroll-behavior:contain;border:1px solid #17B7C5;border-radius:16px;background:var(--bg);color:var(--fg);padding:16px;box-shadow:0 14px 44px rgba(0,0,0,.62);font-family:Arial,Helvetica,sans-serif;font-size:13px;scrollbar-width:thin;scrollbar-color:#546269 transparent}
#re510VisualPanel.re510-light{--bg:#FAFCFD;--surface:#EBF0F2;--fg:#20282E;--muted:#60707E;--stroke:#D9E0E5;box-shadow:0 10px 35px rgba(0,0,0,.18)}
#re510VisualPanel *,#re510VisualPanel *::before,#re510VisualPanel *::after{box-sizing:border-box}
#re510VisualPanel button{border:1px solid var(--stroke);border-radius:9px;padding:8px 10px;cursor:pointer;color:var(--fg);background:var(--surface);font:inherit;font-size:12px}
#re510VisualPanel button:hover:not(:disabled),#re510VisualPanel button:focus-visible{border-color:#17B7C5;outline-color:#17B7C5}
#re510VisualPanel button:disabled{opacity:.4;cursor:not-allowed}
#re510VisualPanel .re510-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:11px;border-bottom:1px solid var(--stroke)}
#re510VisualPanel .re548-editor-position{display:flex;gap:6px;margin:8px 0;flex-wrap:wrap}
#re548MoveGrip{touch-action:none;cursor:grab!important}
#re548MoveGrip:active{cursor:grabbing!important}
#re510VisualPanel .re510-panel-head small{display:block;font-size:9px;letter-spacing:.12em;font-weight:800;color:#17B7C5;margin-bottom:4px}
#re510VisualPanel .re510-panel-head strong{display:block;font-size:19px;line-height:1.2;font-weight:800}
#re510VisualPanel #re510Done{background:#109DC9;border-color:#109DC9;color:#051d26;font-weight:800;min-width:60px}
#re510VisualPanel .re510-intro{font-size:12px;line-height:1.4;color:var(--muted);margin:10px 0}
#re510VisualPanel .re510-selection{padding:10px;background:var(--surface);border:1px solid var(--stroke);border-radius:12px}
#re510VisualPanel .re510-selection>label{display:block;font-size:11px;font-weight:800;margin-bottom:6px}
#re510VisualPanel select{border-radius:8px;background:var(--bg);color:var(--fg);border:1px solid var(--stroke);padding:8px;width:100%;min-height:36px;font-family:inherit;font-size:12px}
#re510VisualPanel .re510-selection-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:9px 0}
#re510VisualPanel #re510Pick{border-color:#17B7C5;color:#17B7C5;font-weight:750}
#re510VisualPanel #re510ShowOriginal[aria-pressed="true"]{border-color:#22DB68;color:#22DB68}
#re510VisualPanel #re510Selected{font-size:11px;color:var(--muted);line-height:1.3;overflow-wrap:anywhere}
#re510VisualPanel .re510-undo-row{display:flex;align-items:center;gap:6px;margin:10px 0}
#re510VisualPanel .re510-undo-row button{padding:7px 9px;white-space:nowrap}
#re510VisualPanel #re510History{font-size:10px;color:var(--muted);margin-left:auto;text-align:right}
#re510VisualPanel .re510-presets{border-top:1px solid var(--stroke);padding-top:10px}
#re510VisualPanel .re510-presets h4{font-size:12px;display:flex;justify-content:space-between;margin:0 0 10px}
#re510VisualPanel .re510-presets h4 small{font-size:10px;font-weight:400;color:var(--muted)}
#re510VisualPanel .re510-preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#re510VisualPanel .re510-preset{display:flex;align-items:center;text-align:left;gap:8px;min-height:49px;padding:8px;background:var(--surface)}
#re510VisualPanel .re510-preset>i{width:15px;height:15px;border-radius:50%;background:var(--re510-swatch);flex-shrink:0;border:1px solid rgba(255,255,255,.22)}
#re510VisualPanel .re510-preset>span{font-size:11px;font-weight:750;line-height:1.2}
#re510VisualPanel .re510-preset small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:3px}
#re510VisualPanel .re510-edit-controls{border:0;margin:12px 0 0;padding:0;min-width:0}
#re510VisualPanel .re510-edit-controls:disabled{opacity:.55}
#re510VisualPanel details{border:1px solid var(--stroke);border-radius:10px;margin-bottom:8px;overflow:hidden}
#re510VisualPanel summary{padding:10px 12px;background:var(--surface);font-size:12px;font-weight:800;cursor:pointer;user-select:none}
#re510VisualPanel .re510-controls{display:grid;gap:12px;padding:12px}
#re510VisualPanel .re510-slider-label{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;font-size:11px;font-weight:650}
#re510VisualPanel .re510-slider-label output{font-size:11px;color:#17B7C5;font-weight:800;font-variant-numeric:tabular-nums}
#re510VisualPanel input[type="range"]{grid-column:1/-1;width:100%;accent-color:#17B7C5;margin:1px 0 0}
#re510VisualPanel .re510-select-label{display:grid;gap:5px;font-size:11px;font-weight:650}
#re510VisualPanel .re510-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#re510VisualPanel .re510-color-label{display:flex;flex-direction:column;align-items:flex-start;gap:6px;font-size:11px;font-weight:650}
#re510VisualPanel input[type="color"]{width:100%;height:32px;background:transparent;border:1px solid var(--stroke);border-radius:7px;padding:3px;cursor:pointer}
#re510VisualPanel .re510-bottom-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0 10px}
#re510VisualPanel #re510ResetPage{border-color:#8A5156}
#re510VisualPanel .re510-status{font-size:11px;color:var(--muted);line-height:1.45;padding:9px 10px;background:var(--surface);border-radius:9px}
@media(max-width:600px){#re510VisualPanel{right:10px;top:70px;width:min(362px,calc(100vw - 20px));max-height:calc(100dvh - 85px);padding:12px}#impactView #re510CustomizeButton{padding:8px 10px;font-size:11px}}
