.rh-modal{z-index:240;color:#24364c;background:#17243b55;justify-content:center;align-items:center;padding:20px;font:13px/1.6 Arial,Yu Gothic,sans-serif;display:flex;position:fixed;inset:0}.rh-modal *{box-sizing:border-box}.rh-modal>.fm-dialog{background:#fff;border:1px solid #dce4ef;border-radius:12px;flex-direction:column;width:min(1080px,100vw - 40px);max-height:calc(100dvh - 40px);padding:0;display:flex;overflow:hidden;box-shadow:0 24px 80px #0f172a33}.rh-modal header{cursor:move;touch-action:none;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:20px;padding:18px 24px;display:flex}.rh-modal h2{margin:0;font-size:17px;font-weight:700}.rh-modal header p{color:#687b94;overflow-wrap:anywhere;margin:4px 0 0;font-size:12px}.rh-modal h3{margin:18px 0 4px;font-size:14px;font-weight:600}.rh-modal button,.rh-records button{font:inherit;cursor:pointer;color:#3c506e;background:#fff;border:1px solid #d6e0ed;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:7px 12px;display:inline-flex}.rh-modal button:disabled{opacity:.45;cursor:default}.rh-modal button:hover:not(:disabled){background:#eff5ff}.rh-modal button:focus-visible,.rh-modal input:focus-visible,.rh-modal select:focus-visible,.rh-modal textarea:focus-visible,.rh-records button:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.rh-modal header>button{border:0;padding:5px}.rh-body{min-height:140px;padding:18px 24px;overflow:auto}.rh-modal footer{border-top:1px solid #e2e8f0;justify-content:space-between;gap:10px;padding:14px 24px;display:flex}.rh-modal .rh-primary{color:#fff;background:#2563eb;border-color:#2563eb}.rh-modal .rh-primary:hover:not(:disabled){background:#1d4ed8}.rh-records-tools{color:#64748b;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;font-size:12px;display:flex}.rh-records-tools input{width:min(360px,65%);font:inherit;color:#24364c;background:#fff;border:1px solid #d6e0ed;border-radius:6px;padding:8px 10px}.rh-table-scroll{border:1px solid #e0e7f0;border-radius:8px;overflow:auto}.rh-records table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}.rh-records th{color:#62748d;white-space:nowrap;background:#f4f7fb;font-weight:500}.rh-records td,.rh-records th{vertical-align:top;border-bottom:1px solid #e7edf5;padding:12px 14px}.rh-records tr:last-child td{border-bottom:0}.rh-records th button{background:0 0;border:0;border-radius:0;padding:0;font-size:12px}.rh-records td:first-child{white-space:nowrap}.rh-records .rh-text-link{text-align:left;color:#2563eb;background:0 0;border:0;justify-content:flex-start;padding:0}.rh-records .rh-comment{white-space:pre-wrap;min-width:130px}.rh-kind{white-space:nowrap;border-radius:4px;padding:2px 8px;display:inline-block}.rh-kind-submit{color:#2563eb;background:#eff6ff}.rh-kind-approve{color:#047857;background:#ecfdf5}.rh-kind-return{color:#b45309;background:#fff7ed}.rh-kind-publish{color:#0f766e;background:#f0fdfa}.rh-empty{text-align:center;color:#7e8fa5;padding:24px}.rh-note{color:#64748b;margin:0;line-height:1.8}.rh-settings-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.rh-settings-grid label{color:#536882;gap:4px;font-size:12px;display:grid}.rh-settings-grid input,.rh-settings-grid select,.rh-settings-grid textarea{width:100%;font:inherit;color:#24364c;background:#fff;border:1px solid #d6e0ed;border-radius:5px;padding:8px 10px}.rh-wide{grid-column:1/-1}.rh-stage{border:1px solid #dce5ef;border-radius:8px;margin:12px 0;padding:14px}.rh-stage legend{padding:0 6px;font-weight:600}.rh-stage-actions{gap:7px;margin-top:12px;display:flex}.rh-managed{border-top:1px solid #e2e8f0;margin-top:20px;padding-top:12px}.rh-managed p{color:#64748b;margin:4px 0}.rh-error{color:#b91c1c;background:#fff1f2;border-radius:6px;margin-bottom:12px;padding:10px}.rh-error button{margin-left:10px}.rh-success{color:#047857;background:#ecfdf5;border-radius:6px;padding:10px}@media (max-width:650px){.rh-settings-grid{grid-template-columns:1fr}.rh-modal{padding:10px}.rh-modal>.fm-dialog{width:calc(100vw - 20px)}.rh-body,.rh-modal header,.rh-modal footer{padding:12px}}
