/* RuvoKit PDF Direct Edit Workspace V9. Original object selection never mutates page. */
#rk-pdf-workbench .rk9-context{position:sticky;top:0;z-index:7;margin:14px 0;background:#f8fbff;border:1px solid #cbd9ff;border-radius:14px;padding:13px 16px;box-shadow:0 8px 18px rgba(44,68,138,.06);line-height:1.4}
.rk9-context-head{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.rk9-context-head strong{font-size:14px;color:#1c3368}.rk9-context-head small{font-size:11px;color:#627397;flex-basis:100%}.rk9-context-pill{font-size:9px;letter-spacing:.07em;background:#ddf7f6;color:#04636b;font-weight:900;padding:6px 8px;border-radius:30px}.rk9-context-empty{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.rk9-context-empty button{font-size:11px!important;border:1px solid #d1dbf1;background:white;color:#2648a0;border-radius:8px;padding:9px 12px;font-weight:700}.rk9-context-empty button:hover{background:#eaf0ff}.rk9-properties{display:flex;align-items:end;flex-wrap:wrap;gap:8px;margin-top:12px}.rk9-properties[hidden],.rk9-context-warning[hidden],.rk9-context-empty[hidden]{display:none!important}.rk9-properties label{font-size:11px;font-weight:700;color:#475b83;display:flex;flex-direction:column;gap:4px;min-width:90px;flex:1}.rk9-properties label.rk9-wide{flex:3;min-width:170px}.rk9-properties input,.rk9-properties select{width:100%;min-height:38px;border:1px solid #cad7ee;border-radius:8px;background:white;color:#213359;font-size:12px;padding:7px}.rk9-properties input[type=color]{padding:3px;width:48px}.rk9-properties label.rk9-color-field{flex:0 0 72px}.rk9-properties button{height:38px;padding:8px 12px;border-radius:8px;font-size:11px!important;font-weight:800;border:1px solid #cbd8eb;background:#fff;color:#304783}.rk9-properties .rk9-format{font-size:14px!important}.rk9-properties .rk9-format[aria-pressed=true]{background:#2528aa;border-color:#2528aa;color:white}.rk9-properties .rk9-apply{background:#1945c9;color:#fff;border-color:#1945c9}.rk9-context-warning{font-size:10px;color:#8b6000;margin:10px 0 0;padding:8px;background:#fffaeb;border-radius:8px}.rk9-click-hit{position:absolute;cursor:text;pointer-events:auto!important;box-sizing:border-box;border:1px solid transparent;background:transparent;padding:0;outline-offset:2px}.rk9-click-hit:hover,.rk9-click-hit:focus-visible{background:rgba(99,155,246,.18)!important;border:1px dashed #174edb}.rk9-image-hit{cursor:copy;border:1px solid transparent}.rk9-image-hit:hover,.rk9-image-hit:focus-visible{border:2px dashed #8a4de8!important;background:rgba(138,77,232,.06)}#rk8-hits{z-index:4;pointer-events:none!important}#rk8-layer{z-index:3}#rk8-canvas{position:relative;z-index:1}#rk8-hits.rk8-visible-hits button{background:rgba(72,111,222,.08)}#rk8-layer{cursor:default}#rk8-layer[data-mode=pen],#rk8-layer[data-mode=highlight]{cursor:crosshair}#rk-pdf-workbench .rk8-shell{grid-template-columns:minmax(280px,320px) minmax(0,1fr)}#rk-pdf-workbench .rk8-side{max-height:calc(100vh - 50px)}
@media(max-width:1020px){#rk-pdf-workbench .rk8-shell{grid-template-columns:1fr}#rk-pdf-workbench .rk8-side{position:static;max-height:none}#rk-pdf-workbench .rk9-context{top:2px}}@media(max-width:650px){.rk9-properties label{flex:1 1 100px}.rk9-properties label.rk9-wide{flex-basis:100%}.rk9-context-head small{font-size:10px}#rk-pdf-workbench .rk8-tools{display:flex;overflow-x:auto;scroll-snap-type:x proximity}#rk-pdf-workbench .rk8-tools button{min-width:110px;flex:0 0 auto}.rk9-properties .rk9-apply{flex:1 1 100%}}
