/* HR letters: register, editor and the printed letter. */
.hrl-page{display:grid;gap:14px}
.hrl-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.hrl-filters{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 520px}
.hrl-filters input{flex:1 1 220px;min-width:0}
.hrl-filters select{flex:0 1 190px;min-width:0}
.hrl-title{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}
.hrl-title h2{margin:0;font-size:18px}
.hrl-actions .sb-center-manage{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.hrl-note{border:1px solid var(--line,#e2e8f0);border-left:3px solid var(--warn,#d97706);background:var(--panel,#fff);border-radius:8px;padding:9px 12px;font-size:13px}
.hrl-empty{padding:36px 16px;text-align:center}
.hrl-table td small{margin-left:4px}
.hrl-split{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:18px;align-items:start}
.hrl-form{display:grid;gap:10px}
.hrl-form .field{display:grid;gap:4px;margin:0;align-content:start}
.hrl-form :is(input,select){min-height:38px;box-sizing:border-box;width:100%}
.hrl-form textarea{width:100%;min-height:360px;font:inherit;line-height:1.5;resize:vertical}
.hrl-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hrl-preview,.hrl-paper-wrap{overflow:auto;background:rgba(148,163,184,.14);border-radius:10px;padding:18px}
@media (max-width:900px){.hrl-split{grid-template-columns:1fr}.hrl-row{grid-template-columns:1fr}.hrl-preview,.hrl-paper-wrap{padding:8px}}
.hrl-selwrap{position:relative;display:block;min-width:0}
.hrl-filters .hrl-selwrap{display:inline-block;flex:0 1 190px}
.hrl-filters .hrl-selwrap select{width:100%}
.hrl-selwrap select{padding-right:34px!important}
html[data-theme="dark"] .hrl-selwrap::after{content:"";position:absolute;right:15px;top:50%;width:7px;height:7px;border-right:2px solid #94a3b8;border-bottom:2px solid #94a3b8;transform:translateY(-70%) rotate(45deg);pointer-events:none}
