/* 2026-11-09 tools2: 연구모형·가설 만들기 */
.rm-sec{border:1.5px solid #e5e7eb;border-left:6px solid var(--rc,#4f46e5);border-radius:14px;padding:10px 12px 12px;margin:0 0 12px;background:#fff}
.rm-sec__hd{display:flex;flex-direction:column;gap:1px;margin-bottom:8px}
.rm-sec__hd b{display:flex;align-items:center;gap:8px;font-size:15.5px}
.rm-sec__hd b i{font-style:normal;display:inline-grid;place-items:center;min-width:28px;height:28px;border-radius:8px;background:var(--rc,#4f46e5);color:#fff;font-size:14px;font-weight:800}
.rm-sec__hd small{color:#64748b;font-size:12.5px;margin-left:36px}
.rm-var{display:grid;grid-template-columns:1fr auto;gap:6px;margin:0 0 8px}
.rm-var .rm-subs{grid-column:1/-1;min-height:42px !important;font-size:14px !important;background:#f8fafc !important}
.rm-x{min-width:44px;color:#b91c1c !important}
.rm-add{width:100%;min-height:44px;border-style:dashed !important;font-weight:700}
.rm-path{border:1px solid #e5e7eb;border-radius:12px;padding:8px;margin:0 0 8px;background:#fff;display:flex;flex-direction:column;gap:6px}
.rm-path__r{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.rm-path select{flex:1 1 110px;min-width:0;min-height:44px !important;font-size:14px !important;padding:6px 8px !important}
.rm-h{display:inline-grid;place-items:center;min-width:40px;height:30px;padding:0 6px;border-radius:999px;background:#0f172a;color:#fff;font-size:13px}
.rm-sign{display:inline-flex;gap:4px;flex:1}
.rm-sign .gg-btn{flex:1;min-height:40px;padding:0 6px;font-size:13px}
.rm-sign .gg-btn[aria-pressed=true]{background:#eef2ff;border-color:#4f46e5;color:#3730a3;box-shadow:inset 0 0 0 1px #4f46e5}
.rm-hyp{border:1px solid #e5e7eb;border-radius:12px;padding:8px 10px;margin:0 0 8px;background:#fff}
.rm-hyp.is-sub{margin-left:18px;background:#f8fafc}
.rm-hyp__hd{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.rm-hyp__hd b{font-size:14px;color:#111827}
.rm-hyp__hd small{color:#64748b;font-size:12px;flex:1}
.rm-hyp textarea{font-size:15px}
.rm-themes{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:8px;margin:4px 0 8px}
.rm-theme{display:flex;flex-direction:column;gap:6px;padding:8px;border:1.5px solid #e5e7eb;border-radius:14px;cursor:pointer}
.rm-theme span{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;height:30px}
.rm-theme span i{border-radius:5px;border:2px solid}
.rm-theme b{font-size:12.5px;color:#111827;text-align:center}
.rm-theme[aria-pressed=true]{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.3)}
.rm-pv{font-style:normal;display:inline-grid;place-items:center;width:34px;height:28px;border-radius:7px;font-weight:800;font-size:14px;border:2px solid}
.rm-pv--iv{background:#dbeafe;border-color:#2563eb;color:#1e40af}.rm-pv--med{background:#dcfce7;border-color:#16a34a;color:#166534}.rm-pv--mod{background:#ffedd5;border-color:#ea580c;color:#9a3412}.rm-pv--dv{background:#ede9fe;border-color:#7c3aed;color:#5b21b6}.rm-pv--ctrl{background:#f8fafc;border-color:#64748b;color:#475569;border-style:dashed}
.rm-tpl{font-style:normal;font-size:11.5px;font-weight:800;color:#4f46e5;background:#eef2ff;border-radius:6px;padding:3px 5px;white-space:nowrap}
@media (max-width:1023px){#gg-app.ck-research-model:not(.is-fs) .gg-canvas{height:calc(56.25vw + 70px);min-height:280px}}
