.rm{margin:24px auto 32px;max-width:880px;color:#302838;min-width:0}
.rm *,.rm-article *{box-sizing:border-box}
.rm [hidden]{display:none!important}
.rm button,.rm input,.rm textarea,.rm select{font:inherit}
.rm button,.rm select,.rm input[type=text]{min-height:44px}
.rm button{border:1px solid var(--line-2,#ded5e5);border-radius:10px;padding:10px 14px;background:#fff;color:var(--brand-dark,#490876);font-size:14px;cursor:pointer}
.rm button:hover{background:var(--brand-soft,#f3eafa)}
.rm button:disabled{opacity:.45;cursor:default}
.rm button.rm-primary{background:var(--brand,#6C0EAF);color:#fff;border-color:var(--brand,#6C0EAF);font-weight:700}
.rm :focus-visible,.rm-article :focus-visible{outline:3px solid var(--brand,#6C0EAF);outline-offset:3px}
.rm textarea,.rm input[type=text],.rm select{width:100%;min-width:0;border:1px solid var(--line-2,#ded5e5);border-radius:10px;padding:12px;background:#fff;color:inherit;font-size:16px}
.rm textarea{resize:vertical;line-height:1.8;display:block}
.rm label{display:block;font-size:14px;font-weight:700;margin:14px 0 6px}
.rm-card{padding:4px 0}
.rm-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0 8px}
.rm-stats div{background:var(--brand-soft,#f3eafa);border-radius:12px;padding:10px 12px;min-width:0}
.rm-stats dt{font-size:12px;color:var(--muted,#726779);line-height:1.5}
.rm-stats dd{margin:2px 0 0;font-size:22px;font-weight:700;color:var(--brand-dark,#490876);font-variant-numeric:tabular-nums}
.rm-stats small{display:block;font-size:11px;color:var(--muted,#726779);line-height:1.5;overflow-wrap:anywhere}
.rm-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.rm-hint{font-size:12px;line-height:1.7;color:var(--muted,#726779);margin:8px 0}
.rm-hint:empty{display:none}
.rm-log{margin-top:28px}
.rm-log-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rm-log h2{font-size:20px;margin:0}
.rm-tablewrap{overflow-x:auto;max-width:100%;margin-top:8px}
.rm-table{border-collapse:collapse;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}
.rm-table th,.rm-table td{border-bottom:1px solid var(--line-2,#ded5e5);padding:8px 10px;text-align:right}
.rm-table th:nth-child(-n+4),.rm-table td:nth-child(-n+4){text-align:left}
.rm-table td:nth-child(4){white-space:normal;min-width:10em;max-width:16em}
.rm-table thead th{background:var(--brand-soft,#f3eafa);font-size:12px}
.rm .rm-del{min-height:36px;padding:4px 10px;color:#a12721}
.rm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.rm-article{max-width:880px;margin:0 auto 40px}
.rm-article summary{cursor:pointer;color:var(--brand-dark,#490876);padding:12px 8px;font-weight:700;min-height:44px}
.rm-article #rm-reset{min-height:44px;padding:10px 14px;border:1px solid var(--line-2,#ded5e5);border-radius:10px;background:#fff;color:#a12721;font:inherit;cursor:pointer}
@media (max-width:560px){.rm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rm-row{grid-template-columns:1fr}}
