.rh-pt-app{min-width:0}
.rh-pt-app [data-pt-file],.rh-pt-app [data-pt-shot]{display:none!important}
.rh-pt-help{display:flex;gap:12px;align-items:flex-start;min-width:0;margin:0 0 14px;padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:#101214}
.rh-pt-help-ico{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:rgba(0,230,118,.12);color:#00E676}
.rh-pt-help-ico svg{width:18px;height:18px}
.rh-pt-help h2{margin:0;font-size:15px;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
.rh-pt-help p{margin:6px 0 0;font-size:14px;line-height:1.45;color:rgba(255,255,255,.62);overflow-wrap:anywhere}
.rh-pt-help-tip{color:rgba(0,230,118,.9)!important}
.rh-pt-grid{display:grid;gap:14px;min-width:0;align-items:stretch}
.rh-pt-pane{display:flex;flex-direction:column;height:min(68dvh,640px);min-height:0;max-height:min(68dvh,640px);overflow:hidden}
.rh-pt-body{flex:1 1 auto;min-width:0;min-height:0;overflow:auto;display:flex;flex-direction:column}
.rh-pt-drop{min-height:148px}
.rh-pt-cam{display:none;width:100%;min-height:44px;margin-top:10px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:#16181c;color:#fff;font-size:14px;font-weight:650;cursor:pointer}
.rh-pt-view{overflow:auto;flex:1 1 auto;max-width:100%;max-height:none;min-height:0;margin-top:12px;border-radius:14px;background:#0a0c0e;min-width:0}
.rh-pt-wrap{position:relative;width:calc(100% * var(--z, 1));min-width:0;overflow:hidden}
.rh-pt-wrap img{display:block;width:100%;height:auto;max-width:none;user-select:none;-webkit-user-drag:none}
.rh-pt-crop{position:absolute;border:2px solid #00E676;box-shadow:0 0 0 9999px rgba(0,0,0,.45);touch-action:none;cursor:move;box-sizing:border-box}
.rh-pt-crop i{position:absolute;width:44px;height:44px;touch-action:none}
.rh-pt-crop i::after{content:"";position:absolute;width:14px;height:14px;border-radius:4px;background:#00E676;box-shadow:0 0 0 2px #06210d}
.rh-pt-crop i[data-pt-h="nw"]{left:0;top:0;cursor:nwse-resize}
.rh-pt-crop i[data-pt-h="nw"]::after{left:4px;top:4px}
.rh-pt-crop i[data-pt-h="ne"]{right:0;top:0;cursor:nesw-resize}
.rh-pt-crop i[data-pt-h="ne"]::after{right:4px;top:4px}
.rh-pt-crop i[data-pt-h="sw"]{left:0;bottom:0;cursor:nesw-resize}
.rh-pt-crop i[data-pt-h="sw"]::after{left:4px;bottom:4px}
.rh-pt-crop i[data-pt-h="se"]{right:0;bottom:0;cursor:nwse-resize}
.rh-pt-crop i[data-pt-h="se"]::after{right:4px;bottom:4px}
.rh-pt-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin-top:12px}
.rh-pt-zoom{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 180px;margin:0}
.rh-pt-zoom span{flex:none;font-size:14px;color:rgba(255,255,255,.62)}
.rh-pt-zoom input{flex:1;min-width:0;height:44px;accent-color:#00E676}
.rh-pt-reset{flex:none;min-height:44px;padding:0 12px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#fff;font-size:14px;cursor:pointer}
.rh-pt-box{width:100%;max-width:100%;min-width:0;flex:1 1 auto;min-height:0;margin-top:0;padding:12px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:#121218;color:#fff;font-size:15px;line-height:1.55;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere;box-sizing:border-box}
textarea.rh-pt-box{resize:none;font-family:inherit}
.rh-pt-warn{margin:10px 0 0;padding:10px 12px;border-radius:12px;border:1px solid rgba(232,184,74,.4);background:rgba(232,184,74,.08);color:#f5d67a;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.rh-pt-warn[hidden]{display:none!important}
.rh-pt-lang{flex:none;min-width:0;margin-top:12px}
.rh-pt-lang-lab{margin:0 0 8px;font-size:14px;font-weight:650;color:rgba(255,255,255,.72);overflow-wrap:anywhere}
.rh-pt-seg{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.rh-pt-seg button{flex:none;min-width:0;min-height:44px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:transparent;color:rgba(255,255,255,.68);font-size:14px;font-weight:600;cursor:pointer}
.rh-pt-seg button.is-on{border-color:#3DDC84;color:#3DDC84;background:rgba(61,220,132,.1)}
.rh-pt-lang-acts{display:flex;flex-wrap:wrap;gap:8px;min-width:0;margin-top:8px}
.rh-pt-tr{flex:1 1 140px;height:44px;margin-top:0;border:0;border-radius:12px;background:#3b82f6;color:#fff;font-size:14px;font-weight:650;cursor:pointer}
.rh-pt-tr:disabled,.rh-pt-act:disabled{background:#25282e;color:rgba(255,255,255,.32);cursor:not-allowed}
.rh-pt-lang-acts .rh-pt-reset{flex:1 1 140px}
.rh-pt-act{flex:none;width:100%;height:44px;margin-top:12px;border:0;border-radius:12px;background:#3b82f6;color:#fff;font-size:14px;font-weight:650;cursor:pointer}
.rh-pt-act:disabled{background:#25282e;color:rgba(255,255,255,.32);cursor:not-allowed}
.rh-pt-note{margin:10px 0 0;font-size:14px;line-height:1.45;color:rgba(255,255,255,.45);overflow-wrap:anywhere}
.rh-pt-st{min-height:1.2em}
.rh-pt-pane>.rh-tl-go{margin-top:12px}
.rh-pt-app.is-empty [data-pt-tools],.rh-pt-app.is-empty [data-pt-view]{display:none}
.rh-pt-app.is-loaded [data-pt-drop],.rh-pt-app.is-busy [data-pt-drop],.rh-pt-app.is-done [data-pt-drop]{display:none}
.rh-pt-app.is-empty [data-pt-out],.rh-pt-app.is-loaded [data-pt-out],.rh-pt-app.is-busy [data-pt-out]{display:none}
@media(min-width:768px){
  .rh-pt-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:767px){
  .rh-pt-pane{height:min(70dvh,560px);min-height:320px;max-height:min(70dvh,560px)}
  .rh-pt-cam{display:inline-flex;align-items:center;justify-content:center}
  .rh-pt-act{width:100%}
}
@media(prefers-reduced-motion:reduce){
  .rh-pt-help{scroll-behavior:auto}
}
