.rb-viewer{--rb-ink:#243a36;--rb-muted:#596f67;--rb-line:#c6d1c9;--rb-paper:#f8f9f5;color:var(--rb-ink);overflow:hidden;border:1px solid var(--rb-line);border-radius:14px;background:var(--rb-paper);font:inherit}
.rb-viewer *{box-sizing:border-box}.rb-viewer [hidden]{display:none!important}
.rb-stage{position:relative;isolation:isolate;min-height:330px;height:clamp(360px,50vw,630px);overflow:hidden;background:radial-gradient(ellipse at 50% 83%,#d2d9d0 0%,#e8ebe4 24%,transparent 59%),linear-gradient(160deg,#eaf1ed 4%,#f2f3ed 58%,#e4e7df)}
.rb-canvas,.rb-poster{display:block;width:100%;height:100%;margin:0;padding:0;max-width:none;object-fit:cover}.rb-canvas{position:absolute;inset:0;touch-action:none;cursor:grab;outline-offset:-4px}.rb-canvas.rb-grabbing{cursor:grabbing}.rb-canvas:focus-visible,.rb-viewer button:focus-visible,.rb-viewer select:focus-visible{outline:3px solid #2e7267;outline-offset:2px}.rb-canvas:focus-visible{outline-offset:-4px}
.rb-toolbar,.rb-nav{position:absolute;z-index:1;display:flex;gap:4px;align-items:center}
.rb-toolbar{left:16px;top:16px}.rb-nav{right:16px;bottom:16px;border:1px solid #bdc9c1;background:#fffffff2;border-radius:8px;padding:3px;box-shadow:0 2px 9px #1d392014}
.rb-viewer .rb-floor{display:flex;align-items:center;gap:9px;background:#fffffff2;border:1px solid #bdc9c1;border-radius:8px;padding:0 7px 0 10px;color:var(--rb-muted);font-size:.82rem;box-shadow:0 2px 9px #1d392014}
.rb-viewer select{width:auto;min-height:40px;margin:0;border:1px solid var(--rb-line);border-radius:6px;background:#fff;color:var(--rb-ink);font:inherit;padding:4px 7px;cursor:pointer}.rb-viewer .rb-floor select{border:none;background:transparent;font-weight:600;padding:4px 1px}
.rb-viewer .rb-icon{display:grid;place-content:center;min-width:35px;min-height:35px;padding:0;border:0;border-radius:4px;background:transparent;color:#284d43;font-family:system-ui,sans-serif;font-size:20px;font-weight:500;line-height:1;cursor:pointer}.rb-viewer .rb-icon:hover,.rb-viewer .rb-icon:focus-visible{background:#e7efe9}
.rb-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:.55rem .85rem;border-radius:6px;background:#fffffff0;font-size:.9rem;white-space:nowrap}
.rb-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px;border-top:1px solid var(--rb-line);background:var(--rb-paper)}.rb-hint{color:var(--rb-muted);font-size:.9rem;line-height:1.45}.rb-open{display:flex;flex-shrink:0;gap:6px;align-items:center}.rb-open select{font-size:.9rem}.rb-viewer .rb-submit{min-height:40px;border:0;border-radius:5px;background:#244e43;color:white;padding:7px 13px;font:inherit;font-size:.9rem;cursor:pointer}.rb-viewer .rb-submit:disabled{opacity:.53;cursor:default}
@media(max-width:620px){.rb-stage{height:clamp(340px,113vw,510px);min-height:0}.rb-toolbar{left:9px;top:9px}.rb-nav{right:9px;bottom:9px}.rb-viewer .rb-icon{min-width:32px;min-height:34px}.rb-footer{flex-wrap:wrap;gap:8px;padding:10px}.rb-open{flex:1}.rb-open select{flex:1}.rb-viewer .rb-submit{padding:7px 16px}.rb-hint{width:100%;font-size:.83rem}}
@media(prefers-reduced-motion:reduce){.rb-viewer *{scroll-behavior:auto}}

.rb-canvas.rb-hit{cursor:pointer}.rb-canvas.rb-grabbing{cursor:grabbing}.rb-hover-label{position:absolute;z-index:2;pointer-events:none;color:white;background:#26493ff0;border-radius:5px;padding:5px 9px;font:600 12px/1.45 system-ui,sans-serif;white-space:nowrap;box-shadow:0 2px 7px #223d3726}
