.action-row td:first-child>small,.schedule td:first-child small{display:block;color:var(--muted);font-size:11px;margin:3px 0 0 31px}.expand-btn{border:0;background:#e8f1ee;color:var(--green);border-radius:6px;width:23px;height:23px;margin-right:8px;cursor:pointer;font-weight:900}.rubrica-row{background:#fbfcfc}.rubrica-row td{font-size:13px;color:#4f615c}.rubrica-row td:first-child{display:flex;align-items:flex-start;padding-left:30px}.rubrica-row td:first-child small{display:block;color:var(--green2);font-size:9px;font-weight:800;letter-spacing:.08em}.rubrica-row em{display:block;color:var(--muted);font-size:11px;font-style:normal;margin-top:2px}.rubrica-line{width:18px;height:16px;border-left:1px solid #b8cbc5;border-bottom:1px solid #b8cbc5;margin:0 9px 0 0;flex:0 0 auto}.rubrica-row:hover{background:#f3f8f6}
.date-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-note{font-size:12px;color:var(--muted);margin:10px 0 0}.period-label{color:var(--green2)!important;font-weight:700}.rubrica-row .row-action{white-space:nowrap}@media(max-width:560px){.date-grid{grid-template-columns:1fr}}
.rubric-grid{display:grid;grid-template-columns:.8fr 1fr 1fr;gap:10px}.calc-total{margin-top:14px;background:#edf6f2;border:1px solid #cfe3dc;border-radius:9px;padding:11px 13px;display:flex;justify-content:space-between;align-items:center}.calc-total span{font-size:12px;color:var(--muted)}.calc-total strong{color:var(--green);font-size:18px}@media(max-width:560px){.rubric-grid{grid-template-columns:1fr}}
.row-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.split-actions{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center}.btn.danger{background:#fff0ef;color:#a52a2a;border:1px solid #e8b7b2}.btn.danger:hover{background:#ffe3e0}@media(max-width:620px){.split-actions{grid-template-columns:1fr 1fr}.split-actions span{display:none}.split-actions .danger{grid-column:1/-1}}
.reconcile-alert{color:#a46400!important;font-weight:800}
.wide-dialog{width:min(760px,calc(100% - 28px))}.allocation-head{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 10px}.allocation-head span{background:#f3f7f5;border:1px solid var(--line);padding:9px;border-radius:8px;font-size:12px}.allocation-head strong{display:block;font-size:15px;margin-top:2px}.allocation-wrap{max-height:52vh;border:1px solid var(--line);border-radius:9px}.allocation-wrap input{width:120px;text-align:right;border:1px solid var(--line);border-radius:6px;padding:7px}.allocation-wrap td{padding:8px 12px}.balance-ok{color:var(--green2);font-weight:800}.balance-bad{color:#a1432d;font-weight:800}@media(max-width:620px){.allocation-head{grid-template-columns:1fr}.allocation-wrap input{width:95px}}
.history-title{padding:20px 20px 0}.role-select{border:1px solid var(--line);border-radius:7px;padding:7px;background:#fff}.viewer-mode .edit-control,.viewer-mode #newBtn,.viewer-mode #resetData{display:none!important}.user-meta{display:block;color:var(--muted);font-size:12px}
.user-access-note{margin-bottom:16px;border-left:4px solid var(--green)}.user-access-note strong{color:var(--green)}.user-access-note p{margin:5px 0 0;color:var(--muted)}.access-status{border:0;border-radius:20px;padding:6px 10px;font-weight:800;cursor:pointer}.access-status.active{background:#dff3ea;color:#14614c}.access-status.blocked{background:#f9e9e6;color:#9a3c2b}.access-status:disabled,.danger-link:disabled{opacity:.45;cursor:not-allowed}.danger-link{color:#a52a2a}.access-role-help{margin-top:16px;padding:12px 14px;background:#f6f9f8;border:1px solid var(--line);border-radius:9px}.access-role-help p{margin:4px 0;color:var(--muted);font-size:13px}.access-role-help strong{color:var(--ink)}
.schedule-edit{display:block;margin:5px 0 0 31px}.schedule-detail td{background:#fbfcfc;font-size:12px}.schedule-detail .detail-label,.schedule-physical-row .detail-label{display:inline-flex;margin-left:31px;padding:5px 9px;border-radius:14px;font-size:11px;font-weight:800}.financial-planned .detail-label{background:#eaf1ef;color:#405d55}.financial-paid .detail-label{background:#dff3ea;color:#14614c}.schedule-physical-row td{background:#f8fbfa;vertical-align:top}.schedule-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px;min-width:620px}.schedule-metric{border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px}.schedule-metric span{display:block;color:var(--green2);font-size:9px;text-transform:uppercase;font-weight:800;letter-spacing:.06em}.schedule-metric strong,.schedule-metric small{display:block}.schedule-metric strong{font-size:12px;margin:3px 0}.schedule-metric small{color:var(--muted);font-size:11px}.schedule-metric .progress{margin-top:7px}.schedule-empty{color:var(--muted);padding:9px;font-size:12px}.schedule-payment{display:block;margin:5px 0 0 31px}.payment-list{display:grid;gap:8px;margin-top:15px}.payment-choice{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff;text-align:left;cursor:pointer;color:var(--ink)}.payment-choice:hover{background:#f3f8f6;border-color:#b9d2c9}.payment-choice span{font-weight:700}.payment-choice strong{color:var(--green2);font-size:12px;white-space:nowrap}
.disbursement-cards{margin-bottom:16px}.disbursement-note{margin-bottom:16px;border-left:4px solid var(--gold);padding:16px 20px}.disbursement-note p{margin:4px 0 0;color:var(--muted);font-size:13px}.disbursement-panel{margin-bottom:16px}.disbursement-title{padding:20px 20px 0}.disbursement-panel tfoot td{font-weight:800;background:#f0f6f3}.disbursement-panel tbody tr:nth-child(odd) td{background:#fbfcfc}
.participation-value strong,.participation-value small{display:block}.participation-value small{color:var(--green2);font-weight:800;margin-top:3px}
