.rec49-intro{padding:22px;margin-bottom:18px;display:flex;gap:22px;align-items:center;justify-content:space-between}.rec49-intro h2{margin:0 0 8px}.rec49-intro p{max-width:850px;margin:7px 0;line-height:1.5}.rec49-intro>.btn{flex-shrink:0}.rec49-notice{padding:16px 20px;background:#eff6fc;border-left:4px solid #347fa7;border-radius:8px;line-height:1.55;margin:0 0 20px;color:#17324a}.rec49-notice p{margin:8px 0}.rec49-period,.rec49-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}.rec49-grid label,.rec49-period label,.rec49-confirm>label:not(.rec49-check),#rec49-rule-form>label:not(.rec49-check){display:flex;flex-direction:column;gap:8px}.rec49-dialog input:not([type=checkbox]),.rec49-dialog select,.rec49-dialog textarea{width:100%;min-width:0;padding:10px;border:1px solid #ccd5df;border-radius:7px;background:#fff;color:#172533;font:inherit}.rec49-dialog textarea{min-height:86px;resize:vertical}.rec49-check{display:flex;align-items:flex-start;gap:10px;line-height:1.5;margin:14px 0}.rec49-dialog input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#2678a1;margin-top:2px}.rec49-scroll{overflow:auto;width:100%;max-height:52vh;border:1px solid #dbe2e8;border-radius:8px;margin:16px 0}.rec49-scroll table{width:100%;min-width:640px;border-collapse:collapse}.rec49-scroll th{background:#edf2f6;text-align:left;position:sticky;top:0;z-index:1}.rec49-scroll th,.rec49-scroll td{padding:12px 14px;vertical-align:top;border-bottom:1px solid #e2e8ef}.rec49-scroll td small{display:block;line-height:1.5;margin-top:5px}.rec49-scroll .btn{display:block;margin-top:8px}.rec49-group td{background:#f5f7f9}.rec49-tools{flex-wrap:wrap;gap:10px}.rec49-sum{padding:12px 16px;border:1px solid #bdd4e2;border-radius:6px;font-weight:600;line-height:1.5}.rec49-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.rec49-totals>div{padding:16px;background:#f2f5f8;border-radius:8px}.rec49-totals small,.rec49-totals strong{display:block}.rec49-totals strong{font-size:22px;margin-top:8px;overflow-wrap:anywhere}.rec49-alert{padding:16px;background:#fff1e5;border:1px solid #efc49c;border-radius:8px;margin-bottom:18px;line-height:1.5}.rec49-error,.rec49-action-cancel{color:#a12e3a}.rec49-action-create,.rec49-action-reactivate{color:#176444}.rec49-action-update{color:#89570c}.rec49-confirm{margin:18px 0}.rec49-dialog .modal-body{overflow-x:hidden;min-width:0}.rec49-dialog .modal-footer{flex-wrap:wrap}.rec49-dialog .btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:650px){.rec49-intro{display:block;padding:16px}.rec49-intro>.btn{margin-top:12px}.rec49-grid,.rec49-period{grid-template-columns:1fr}.rec49-totals{grid-template-columns:1fr}.rec49-totals strong{font-size:20px}.rec49-scroll{max-height:40vh}.rec49-notice{padding:14px}.rec49-dialog .modal-footer .btn{flex:1 1 140px}.rec49-check{font-size:14px}}

.rec49-scroll td{font-size:14px}.rec49-scroll th{font-size:13px}.rec49-scroll td small{font-size:12px}.rec49-notice summary{cursor:pointer;margin-top:10px;font-weight:600}.rec49-confirm .rec49-check{flex-direction:row}@media(max-width:650px){.rec49-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.rec49-totals>div:last-child{grid-column:1/-1}.rec49-totals>div{padding:12px}.rec49-totals small{font-size:12px}.rec49-totals strong{font-size:18px}}

.rec49-partner{margin:20px 0;padding:16px;border:1px solid #ccd5df;border-radius:8px}.rec49-partner>label{display:flex;flex-direction:column;gap:8px}.rec49-partner .row{margin:10px 0}.rec49-partner .row>input{flex:1;min-width:130px}.rec49-partner small{display:block;line-height:1.5}.rec49-grid label{line-height:1.5}
