/* Protected configuration: lightweight, responsive and separate from ledger UI. */
#modal.r525-dialog{width:min(1060px,calc(100vw - 32px));max-width:1060px;max-height:calc(100dvh - 32px)}
.r525-dialog .modal-body{overflow:auto;overscroll-behavior:contain}.r525-dialog .modal-footer{flex-wrap:wrap}
#r525-root h3{font-size:15px;margin:22px 0 10px}#r525-root p{line-height:1.5}
.r525-notice{background:#f4f7f8;border:1px solid #dde6e9;border-radius:12px;padding:12px 14px;margin-bottom:14px;font-size:13px;color:#2d4856}.r525-notice p{margin:5px 0 0}
.r525-identity,.r525-explain{font-size:13px;color:#506776}.r525-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
#r525-root label{display:grid;gap:6px;font-size:13px;font-weight:500;min-width:0}#r525-root input,#r525-root select,#r525-root textarea{box-sizing:border-box;max-width:100%;min-width:0}
#r525-root .r525-check{display:flex;align-items:flex-start;gap:9px;line-height:1.5;font-weight:400;margin-top:14px}.r525-check input{flex:0 0 auto;margin-top:3px}
.r525-tabs,.r525-pages{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.r525-pages{justify-content:space-between;margin-top:12px;font-size:13px}
#r525-search{display:flex;align-items:end;gap:10px;margin:15px 0}#r525-search label{flex:1}
.r525-table{margin:12px 0;box-shadow:none!important}.r525-list{box-shadow:none!important}.r525-list .nf-row-open{width:100%;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r525-table table{min-width:520px}.r525-list table{width:100%;table-layout:fixed}.r525-list th:last-child{width:90px}.r525-list th:first-child{width:38%}
.r525-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.r525-totals>div{background:#f5f8f8;border:1px solid #dce7e7;border-radius:10px;padding:12px;display:grid;gap:5px}.r525-totals small{font-size:12px;color:#516874}.r525-totals b{font-size:21px;color:#16454b}
.r525-warning{border-left:3px solid #b87920;background:#fff8eb;padding:10px 12px;font-size:13px;line-height:1.5}
.r525-save{margin-top:20px;padding-top:14px;border-top:1px solid #dce4e8}#r525-reason{min-height:64px;resize:vertical}#r525-error{color:#a92a22;font-size:14px;white-space:pre-wrap}.r525-history{border-bottom:1px solid #dbe5e8;padding:6px 0 12px}.r525-history p{overflow-wrap:anywhere}
@media(max-width:700px){#modal.r525-dialog{inset:0;margin:0;border-radius:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh}.r525-dialog .modal-header{padding-top:max(14px,env(safe-area-inset-top))}.r525-dialog .modal-footer{padding-bottom:max(14px,env(safe-area-inset-bottom))}.r525-grid,.r525-totals{grid-template-columns:1fr}.r525-extra{display:none}.r525-list th:last-child{width:96px}.r525-list th:first-child{width:44%}#r525-root .btn,#r525-root .icon-btn{min-height:44px}.r525-totals>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.r525-totals b{font-size:19px}}
/* Author display rules must not override the hidden state of inapplicable fields. */
.r525-dialog [hidden]{display:none!important}
html[data-x520-density] .nf-table.r525-list table{min-width:0!important;width:100%;table-layout:fixed}
html[data-x520-density] .r525-list td:first-child{min-width:0}

.r525-schedule-mobile{display:none}
@media(max-width:700px){.r525-table{display:none}.r525-schedule-mobile{display:block;margin-top:14px;border-top:1px solid #dce4e8}.r525-schedule-mobile article{padding:10px 0;border-bottom:1px solid #dce4e8}.r525-schedule-mobile article>div{display:flex;justify-content:space-between;gap:10px;font-size:14px}.r525-schedule-mobile article span{font-weight:650;white-space:nowrap}.r525-schedule-mobile article p{margin:4px 0 0;color:#506776;font-size:12px}}
