.salary-rest-control { display:flex; flex-direction:column; gap:6px; max-width:260px; }
.salary-rest-card-summary { color:#805323; line-height:1.6; }
.cost-record-list>article>div:last-child { align-items:flex-start; flex-wrap:wrap; }
.cost-record-list>article>div:last-child>button { white-space:nowrap; flex:0 0 auto; }
dialog.salary-rest-dialog { border:0; border-radius:18px; padding:24px; width:min(900px,calc(100vw - 24px)); max-height:88vh; overflow:auto; color:#193a33; }
.salary-rest-dialog::backdrop { background:rgb(0 25 20 / 45%); }
.salary-rest-dialog .salary-rest-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.salary-rest-dialog h2 { margin:0; font-size:22px; }
.salary-rest-dialog p { line-height:1.6; font-size:14px; }
.salary-rest-dialog button { cursor:pointer; padding:8px 12px; border:1px solid #cbdcd5; border-radius:8px; font:inherit; background:#fff; color:#146654; }
.salary-rest-dialog button.primary-button { background:#146654; color:white; }
.salary-rest-dialog button:disabled { opacity:.5; cursor:wait; }
.salary-rest-dialog .salary-rest-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0; }
.salary-rest-summary span { padding:12px; background:#eef5f1; border-radius:10px; font-size:13px; }
.salary-rest-summary strong { display:block; font-size:20px; margin-top:6px; }
.salary-rest-dialog .salary-rest-form { display:flex; gap:12px; align-items:end; flex-wrap:wrap; margin-bottom:18px; }
.salary-rest-form label { display:grid; gap:6px; }
.salary-rest-form input { padding:10px; border:1px solid #cbdcd5; border-radius:8px; min-width:0; }
.salary-rest-dialog .salary-rest-table { overflow-x:auto; }
.salary-rest-table table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.salary-rest-table th,.salary-rest-table td { padding:10px; border-bottom:1px solid #e3ebe7; }
.salary-rest-table td:first-child { white-space:nowrap; }
.salary-rest-table small { display:block; color:#71847e; }
.salary-rest-table button { margin:3px; white-space:nowrap; }
@media(max-width:600px) { .salary-rest-dialog .salary-rest-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } dialog.salary-rest-dialog { padding:16px; } }
