#mgLedger{color:#2d4361}.mg-actions,.mg-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mg-notice{background:#f0f5fc;border:1px solid #e1e9f5;border-radius:9px;padding:12px 15px;font-size:12px;line-height:1.9;color:#61758f;margin:12px 0 18px}.mg-tabs{display:flex;gap:6px;margin:16px 0;flex-wrap:wrap}.mg-tabs button{background:#eaf0f8;color:#5a7191;border-radius:8px}.mg-tabs button[aria-pressed=true]{background:#263e60;color:white}.mg-toolbar input{min-width:240px}.mg-toolbar input,.mg-fields input{padding:10px 12px;border:1px solid #d3dfed;border-radius:7px;color:#304c70;box-sizing:border-box;background:white;font-size:12px}.mg-help,#mgStatus{font-size:12px;color:#7d8fa6;line-height:1.9}.mg-scroll{overflow:auto;max-height:540px;scrollbar-gutter:stable}.mg-scroll table{width:100%;font-size:12px}.mg-scroll th{position:sticky;top:0;background:#f0f5fc;z-index:1}.mg-scroll td{padding:12px 10px;vertical-align:top}.mg-scroll td small{display:block;color:#8798ac;margin-top:5px}.mg-pager{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin-top:14px;font-size:12px}.mg-title{display:flex;justify-content:space-between;gap:14px}.mg-title h3{font-size:16px;margin:0}.mg-title span{font-size:12px;color:#7f91a8}.mg-boundary{font-size:12px;line-height:1.9;color:#7a8da6}.mg-boundary summary{cursor:pointer}#mgDetail{width:min(1250px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90vh;margin:auto;border:0;border-radius:13px;padding:0;box-sizing:border-box;color:#2e4767;overflow:hidden}#mgDetail[open]{display:flex;flex-direction:column}#mgDetail::backdrop{background:#15274177}.mg-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 22px;background:#f2f6fc;border-bottom:1px solid #e0e8f3}.mg-dialog-head h3{font-size:16px;margin:0}.mg-dialog-head p{font-size:12px;margin:7px 0 0;color:#8191a8}.mg-dialog-body{padding:18px 22px;overflow:auto;min-height:0}.mg-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:15px 0}.mg-fields label{font-size:12px;color:#6e819a;display:flex;flex-direction:column;gap:7px;min-width:0}.mg-wide{grid-column:span 2}.mg-check{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.8;margin:12px 0}.mg-lines{max-height:340px}.mg-lines input{width:90px;padding:8px;border:1px solid #d7e1ee;border-radius:5px;box-sizing:border-box}.mg-lines input[data-mapping]{width:165px}#mgDetail button:disabled{opacity:.5}#mgDetailMessage{font-size:12px;color:#a76537;line-height:1.9}#mgAudit{font-size:11px;white-space:pre-wrap;color:#6e819a}#mgPost{border-top:1px solid #e2eaf4;margin-top:18px;padding-top:7px}@media(max-width:750px){.mg-fields{grid-template-columns:1fr}.mg-wide{grid-column:auto}.mg-toolbar input{min-width:0;width:100%}.mg-dialog-head,.mg-dialog-body{padding:14px}}
#mgDetailMessage:not(:empty){padding:12px 14px;border:1px solid #edc99a;background:#fff7ec;border-radius:8px;margin:14px 0;color:#94652f}#mgDetailMessage[data-state=success]{border-color:#bee0cb;background:#edf8f1;color:#367c56}#mgDetailMessage[data-state=pending]{border-color:#cfdfef;background:#f0f6fd;color:#54789e}
.mg-shelving-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.mg-shelving-summary[hidden]{display:none}.mg-shelving-caption{grid-column:1/-1;margin:0;color:#6e819a;font-size:12px}.mg-shelving-summary>div{background:white;border:1px solid #dfe8f3;border-radius:10px;padding:14px 16px}.mg-shelving-summary span{display:block;font-size:12px;color:#6e819a}.mg-shelving-summary strong{display:block;margin-top:7px;font-size:24px;font-weight:700;color:#263e60;font-variant-numeric:tabular-nums}@media(max-width:600px){.mg-shelving-summary{grid-template-columns:1fr;gap:8px}.mg-shelving-summary>div{display:flex;justify-content:space-between;align-items:center}.mg-shelving-summary strong{margin-top:0;font-size:22px}}
