/* Remove object: the site's workspace layout, a light stage with zoom, the controls as numbered steps on the side */
.ro-stage { padding: 0; background: #ecebe9; cursor: crosshair; overflow: hidden; touch-action: none; min-height: 240px; justify-self: center; max-width: 100%; }
.ro-stage.is-move { cursor: grab; }
.ro-stage.is-panning { cursor: grabbing; }
.ro-stage.is-click { cursor: pointer; }
.ro-stage canvas { display: block; width: 100%; height: 100%; max-height: none; }

/* floating bits on the stage: zoom, compare, progress, hint */
.ro-float { position: absolute; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 10px rgba(14, 8, 7, 0.14), 0 0 0 1px rgba(14, 8, 7, 0.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ro-float-zoom { left: 12px; }
.ro-icon, .ro-zoom-val { display: inline-flex; align-items: center; justify-content: center; height: 30px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 12.5px/1 var(--sans); cursor: pointer; transition: background var(--t-fast) var(--ease); }
.ro-icon { width: 30px; padding: 0; }
.ro-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ro-zoom-val { min-width: 54px; padding: 0 6px; font-variant-numeric: tabular-nums; }
.ro-icon:hover, .ro-zoom-val:hover { background: rgba(14, 8, 7, 0.08); }
.ro-float-right { right: 12px; }
.ro-pill { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 12.5px/1 var(--sans); cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: none; transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.ro-pill:hover { background: rgba(14, 8, 7, 0.08); }
.ro-original.is-on, .ro-original:active { background: var(--ink); color: #fff; }
.ro-progress { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; gap: 7px; min-width: 240px; padding: 11px 14px; border-radius: 12px; background: rgba(14, 8, 7, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font: 500 13px/1.3 var(--sans); pointer-events: none; box-shadow: 0 10px 30px rgba(14, 8, 7, 0.25); }
.ro-bar-track { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.ro-bar-track i { display: block; height: 100%; width: 0; background: #fff; transition: width var(--t) var(--ease); }
.ro-hint-float { position: absolute; left: 12px; bottom: 12px; z-index: 2; margin: 0; max-width: 70%; padding: 6px 10px; border-radius: 9px; background: rgba(255, 255, 255, 0.85); color: var(--muted); font: 400 12px/1.4 var(--sans); pointer-events: none; transition: opacity var(--t-slow) var(--ease); }
.ro-stage.is-busy .ro-hint-float, .ro-hint-float:empty { opacity: 0; }

/* the side panel, in numbered blocks */
.ro-panel { display: grid; gap: 14px; align-content: start; }
.ro-block { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.ro-block h3 { display: flex; align-items: center; gap: 8px; margin: 0; font: 600 12px/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ro-step { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 11px/1 var(--sans); letter-spacing: 0; }
.ro-hint { margin: 0; font: 400 12.5px/1.45 var(--sans); color: var(--muted); }
.ro-seg { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.ro-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ro-seg svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ro-seg.is-two { grid-template-columns: 1fr 1fr; }
.ro-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ro-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ro-chips .chip-btn { text-align: center; }
.ro-panel .btn { width: 100%; }
.ro-editor:not(.is-erased) .ro-after { display: none; }
.ro-editor.is-erased .ro-float-right { display: inline-flex; }
.tool-toolbar .chip-btn[disabled] { opacity: 0.4; cursor: default; }
.tool-toolbar .chip-btn[disabled]:hover { background: #fff; color: var(--ink); border-color: var(--line); }
#ro-stats:empty { display: none; }
.tool-note:empty { display: none; }

@media (max-width: 860px) {
  /* phone: the stage first, full width, shaped like the photo but never taller than most of the screen, the steps stacked below */
  .ro-editor { gap: 12px; }
  .ro-stage { justify-self: stretch; width: 100% !important; border-radius: 14px; }
  .ro-stage canvas { max-height: none; }
  .ro-hint-float { max-width: 80%; font-size: 11.5px; }
  .ro-float-zoom { left: 8px; top: 8px; }
  .ro-float-right { right: 8px; top: 8px; }
  .ro-panel { gap: 10px; }
  .ro-block { padding: 12px; border-radius: 12px; }
  .ro-seg button { padding-left: 6px; padding-right: 6px; }
}
