.mg-page{font-family:var(--font-lexend),system-ui,-apple-system,"Segoe UI",sans-serif;color:#212526;letter-spacing:.01em;max-width:1120px;padding:20px 16px 0;font-size:16px;line-height:24px}.mg-page *,.mg-page :before,.mg-page :after{box-sizing:border-box}.mg-page button,.mg-page input{letter-spacing:inherit;font-family:inherit}.mg-page button{cursor:pointer}.mg-page :focus-visible,.mg-toast :focus-visible,.mg-dialog :focus-visible{outline-offset:2px;outline:2px solid #1795d4}.mg-page svg{flex:none}.mg-page a{color:inherit;text-decoration:none}@media (min-width:768px){.mg-page{padding:32px 28px 0}}@media (min-width:1200px){.mg-page{padding:40px 40px 0}}.mg-sr{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mg-bottom{z-index:20;background:#fff;border-top:1px solid #e2e8f0;grid-template-columns:repeat(4,1fr);height:64px;display:grid;position:fixed;bottom:0;left:0;right:0}.mg-tab{color:#475569;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:44px;font-size:12px;font-weight:500;line-height:16px;display:flex}.mg-tab-pill{border-radius:14px;justify-content:center;align-items:center;width:56px;height:28px;display:flex}.mg-tab.is-active{color:#22567c;font-weight:600}.mg-tab.is-active .mg-tab-pill{background:#dceef8}.mg-h1{letter-spacing:-.02em;margin:0;font-size:24px;font-weight:600;line-height:32px}.mg-sub{color:#475569;margin:4px 0 0;font-size:14px;line-height:20px}.mg-search{margin-top:16px;display:block;position:relative}.mg-search svg{color:#475569;pointer-events:none;position:absolute;top:14px;left:14px}.mg-search input{color:#212526;background:#fff;border:1px solid #64748b;border-radius:4px;width:100%;height:48px;padding:0 14px 0 44px;font-size:16px}.mg-search input::placeholder{color:#64748b}.mg-count{color:#475569;margin:16px 0 0;font-size:14px;line-height:20px}.mg-table{margin-top:12px}.mg-thead{display:none}.mg-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.mg-row{background:#fff;border:1px solid #e2e8f0;padding:16px;display:grid}.mg-ttl{grid-column:1/-1;padding-bottom:12px}.mg-t{letter-spacing:-.005em;font-size:16px;font-weight:500;line-height:22px}.mg-a{color:#475569;margin-top:2px;font-size:14px;line-height:20px}.mg-stat{border-top:1px solid #e2e8f0;flex-direction:column;gap:2px;padding:12px 8px 0 0;display:flex}.mg-lbl{color:#475569;font-size:12px;line-height:16px}.mg-val{font-size:15px;font-weight:500;line-height:24px}.mg-empty{text-align:center;background:#fff;border:1px solid #e2e8f0;flex-direction:column;align-items:center;gap:8px;margin-top:12px;padding:40px 24px;display:flex}.mg-empty-t{margin:0;font-size:16px;font-weight:500}.mg-btn{color:#fff;background:#22567c;border:0;border-radius:6px;justify-content:center;align-items:center;gap:8px;height:52px;padding:0 20px;font-size:16px;font-weight:500;display:flex}.mg-btn:hover{background:#1b4666}.mg-btn-outline{color:#212526;background:#fff;border:1px solid #64748b;border-radius:6px;justify-content:center;align-items:center;height:48px;padding:0 20px;font-size:16px;font-weight:500;display:flex}.mg-btn-outline:hover{background:#f1f5f9}.mg-card{background:#fff;border:1px solid #e2e8f0;margin-top:16px;padding:20px}.mg-h2{letter-spacing:-.01em;margin:0;font-size:18px;font-weight:600;line-height:28px}.mg-h2-gap{margin-top:32px}.mg-form{gap:16px;margin-top:16px;display:grid}.mg-field{flex-direction:column;gap:6px;min-width:0;display:flex}.mg-field-switch{justify-content:flex-end}.mg-label{font-size:14px;font-weight:500;line-height:20px}.mg-input{color:#212526;background:#fff;border:1px solid #64748b;border-radius:4px;width:100%;height:48px;padding:0 14px;font-size:16px}.mg-input.is-invalid{border-color:#a3152b;box-shadow:inset 0 0 0 1px #a3152b}.mg-err{color:#a3152b;align-items:flex-start;gap:6px;margin:0;font-size:13px;line-height:18px;display:flex}.mg-err svg{margin-top:1px}.mg-switch{cursor:pointer;align-items:center;gap:12px;min-height:48px;font-size:15px;font-weight:500;display:flex;position:relative}.mg-switch input{opacity:0;width:1px;height:1px;position:absolute}.mg-track{background:#64748b;border-radius:12px;flex:none;width:44px;height:24px;position:relative}.mg-track:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;position:absolute;top:3px;left:3px}.mg-switch input:checked+.mg-track{background:#22567c}.mg-switch input:checked+.mg-track:after{left:23px}.mg-switch input:focus-visible+.mg-track{outline-offset:2px;outline:2px solid #1795d4}.mg-btn:disabled{cursor:not-allowed;background:#5b6b7b}.mg-help{color:#475569;margin:8px 0 0;font-size:14px;line-height:22px}.mg-help-tight{margin:0}.mg-help code{color:#212526;overflow-wrap:anywhere;background:#f1f5f9;border-radius:4px;padding:1px 6px;font-family:JetBrains Mono,ui-monospace,monospace;font-size:13px}.mg-file-row{flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;display:flex}.mg-file{cursor:pointer;gap:8px;display:inline-flex;position:relative}.mg-file:focus-within{outline-offset:2px;outline:2px solid #1795d4}.mg-fname{color:#475569;overflow-wrap:anywhere;font-size:14px;line-height:20px}.mg-preview{border-top:1px solid #e2e8f0;flex-direction:column;gap:12px;margin-top:16px;padding-top:16px;display:flex}.mg-preview-h{margin:0;font-size:16px;font-weight:600;line-height:24px}.mg-prev-list{border:1px solid #e2e8f0;margin:0;padding:0;list-style:none}.mg-prev-row{border-top:1px solid #e2e8f0;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 12px;display:grid}.mg-prev-row:first-child{border-top:0}.mg-prev-main{flex-direction:column;min-width:0;display:flex}.mg-prev-main .mg-t{font-size:15px;line-height:22px}.mg-prev-batch{color:#475569;white-space:nowrap;font-size:13px;line-height:20px}.mg-more{color:#475569;margin:0;font-size:14px;line-height:20px}.mg-success{color:#14575a;background:#e7f4f4;align-items:flex-start;gap:8px;margin:16px 0 0;padding:12px;font-size:14px;line-height:20px;display:flex}.mg-ellip{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mg-badge{white-space:nowrap;border-radius:12px;align-items:center;height:24px;padding:0 10px;font-size:12px;font-weight:500;line-height:16px;display:inline-flex}.mg-badge-admin{color:#22567c;background:#dceef8}.mg-row.mg-cols-users{grid-template-columns:minmax(0,1fr);gap:12px}.mg-cols-users .mg-ttl{padding-bottom:0}.mg-umeta{grid-column:1/-1;align-items:center;gap:12px;display:flex}.mg-ubatch{color:#475569;font-size:14px;line-height:20px}.mg-uact{grid-column:1/-1;gap:8px;display:flex}.mg-btn-sm{color:#212526;white-space:nowrap;background:#fff;border:1px solid #64748b;border-radius:6px;flex:1;height:44px;padding:0 14px;font-size:14px;font-weight:500}.mg-btn-sm:hover{background:#f1f5f9}.mg-btn-danger{color:#a3152b;border-color:#a3152b}.mg-btn-sm:disabled{opacity:.45;cursor:not-allowed}.mg-ta-r{text-align:right}.mg-btn-red{color:#fff;background:#a3152b;border:0;border-radius:6px;justify-content:center;align-items:center;height:48px;padding:0 20px;font-size:16px;font-weight:500;display:flex}.mg-btn-red:hover{background:#861022}.mg-back{color:#22567c;background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;height:44px;margin:-10px 0 2px -10px;padding:0 12px 0 6px;font-size:15px;font-weight:500;display:inline-flex}.mg-back:hover{background:#e6eef4}.mg-hub{gap:12px;margin-top:20px;display:grid}.mg-hubcard{color:#212526;text-align:left;background:#fff;border:1px solid #e2e8f0;border-radius:6px;align-items:center;gap:16px;width:100%;min-height:88px;padding:16px;display:flex}.mg-hubcard:hover{background:#f8fbfd;border-color:#1795d4}.mg-hub-ic{color:#22567c;background:#dceef8;border-radius:6px;flex:none;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.mg-hub-tx{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.mg-hub-t{font-size:16px;font-weight:600;line-height:24px}.mg-hub-d{color:#475569;font-size:14px;line-height:20px}.mg-hub-go{color:#475569}.mg-scan-opts{gap:12px;display:grid}.mg-opt{color:#212526;text-align:left;background:#fff;border:1px solid #64748b;border-radius:6px;align-items:center;gap:14px;width:100%;min-height:72px;padding:12px 16px;display:flex}.mg-opt:hover{background:#f1f5f9}.mg-opt-ic{color:#fff;background:#22567c;border-radius:6px;flex:none;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.mg-opt-tx{flex-direction:column;gap:2px;min-width:0;display:flex}.mg-opt-t{font-size:16px;font-weight:500;line-height:22px}.mg-opt-d{color:#475569;font-size:13px;line-height:18px}.mg-hint{color:#475569;margin:0;font-size:13px;line-height:18px}.mg-qr-form{flex-wrap:wrap;align-items:flex-end;gap:16px;display:flex}.mg-qr-go{height:48px}.mg-step{gap:8px;display:flex}.mg-step-b{color:#212526;background:#fff;border:1px solid #64748b;border-radius:6px;justify-content:center;align-items:center;width:48px;height:48px;padding:0;display:flex}.mg-step-b:hover{background:#f1f5f9}.mg-step-i{text-align:center;width:96px}.mg-qr-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:28px;display:flex}.mg-print{gap:8px;height:44px;display:inline-flex}.mg-qr-sheet{background:#fff;border:1px solid #e2e8f0;margin-top:12px;padding:16px}.mg-qr-grid{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.mg-qr{border:1px dashed #94a3b8;flex-direction:column;align-items:center;gap:6px;padding:8px;display:flex}.mg-qr-svg{width:100%;height:auto;display:block}.mg-row.mg-cols-borrowed{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-ago{color:#475569;font-size:13px;line-height:18px;display:block}.mg-ract{border-top:1px solid #e2e8f0;grid-column:1/-1;margin-top:12px;padding-top:12px}.mg-ract .mg-btn-sm{flex:none;width:100%}.mg-toast{z-index:140;background:#fff;border:1px solid #cbd5e1;align-items:center;gap:12px;padding:10px 8px 10px 16px;font-size:14px;line-height:20px;display:flex;position:fixed;top:64px;left:16px;right:16px;box-shadow:0 8px 24px #21252633}.mg-toast-ok{color:#1d6f71}.mg-toast-err{color:#a3152b}.mg-toast-t{flex:1;min-width:0}.mg-toast-x{color:#475569;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex}.mg-toast-x:hover{background:#f1f5f9}.mg-modal{z-index:110;background:#21252699;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.mg-dialog{background:#fff;flex-direction:column;gap:8px;width:100%;max-width:420px;padding:24px;display:flex;box-shadow:0 24px 48px #0000004d}.mg-dialog-t{letter-spacing:-.01em;margin:0;font-size:18px;font-weight:600;line-height:26px}.mg-dialog-d{color:#475569;margin:0;font-size:14px;line-height:22px}.mg-dialog-act{gap:8px;margin-top:16px;display:flex}.mg-dialog-act button{flex:1}.mg-block{z-index:130;background:#f1f5f9d1;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.mg-block-card{text-align:center;background:#fff;border:1px solid #cbd5e1;flex-direction:column;align-items:center;gap:10px;max-width:320px;padding:28px 32px;display:flex;box-shadow:0 12px 32px #2125262e}.mg-spin{border:3px solid #dceef8;border-top-color:#22567c;border-radius:50%;width:32px;height:32px;animation:.9s linear infinite mgspin}.mg-block-t{font-size:16px;font-weight:600;line-height:24px}.mg-block-s{color:#475569;font-size:14px;line-height:20px}@keyframes mgspin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.mg-spin{animation-duration:3s}}@media (min-width:768px){.mg-h1{font-size:28px;line-height:36px}.mg-search{max-width:440px}.mg-table{background:#fff;border:1px solid #e2e8f0;margin-top:16px}.mg-thead{color:#475569;background:#f8fafc;border-bottom:1px solid #e2e8f0;gap:12px;padding:10px 20px;font-size:13px;font-weight:500;line-height:20px;display:grid}.mg-list{gap:0}.mg-row{border:0;border-top:1px solid #e2e8f0;align-items:center;gap:12px;padding:14px 20px}.mg-row:first-child{border-top:0}.mg-ttl{grid-column:auto;padding:0}.mg-stat{border-top:0;gap:0;padding:0}.mg-lbl{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}.mg-val{font-size:14px}.mg-card{padding:24px}.mg-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}.mg-form-actions{grid-column:1/-1}.mg-form-actions .mg-btn{min-width:168px;display:inline-flex}.mg-thead.mg-cols-users,.mg-row.mg-cols-users{grid-template-columns:minmax(0,1fr) 84px 76px 224px}.mg-umeta{display:contents}.mg-uact{grid-column:auto;justify-content:flex-end}.mg-btn-sm{flex:none;height:36px}.mg-toast{width:380px;top:24px;left:auto;right:28px}.mg-hub,.mg-scan-opts{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-field-wide{grid-column:1/-1}.mg-qr-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.mg-thead.mg-cols-borrowed{display:none}.mg-row.mg-cols-borrowed{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;row-gap:12px}.mg-row.mg-cols-borrowed .mg-ttl{grid-column:1/-1}.mg-cols-borrowed .mg-lbl{clip:auto;white-space:normal;width:auto;height:auto;margin:0;position:static;overflow:visible}.mg-cols-borrowed .mg-ract{border-top:0;grid-column:auto;justify-content:flex-end;margin:0;padding:0;display:flex}.mg-cols-borrowed .mg-ract .mg-btn-sm{width:auto}}@media (min-width:1200px){.mg-h1{font-size:32px;line-height:40px}.mg-thead,.mg-row{column-gap:24px}.mg-val{font-size:15px}.mg-thead.mg-cols-users,.mg-row.mg-cols-users{grid-template-columns:minmax(0,1fr) 110px 90px 248px}.mg-toast{right:40px}.mg-qr-grid{grid-template-columns:repeat(auto-fill,minmax(136px,1fr))}.mg-thead.mg-cols-borrowed{display:grid}.mg-thead.mg-cols-borrowed,.mg-row.mg-cols-borrowed{grid-template-columns:minmax(0,1fr) 168px 176px 152px}.mg-row.mg-cols-borrowed{align-items:center;row-gap:0}.mg-row.mg-cols-borrowed .mg-ttl{grid-column:auto}.mg-cols-borrowed .mg-lbl{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;margin:-1px;position:absolute;overflow:hidden}}@media print{.sh-side,.sh-top,.sh-bottom,.sh-fab,.mg-noprint{display:none!important}.sh-app,.sh-main{background:#fff;display:block}.sh-content{padding:0}.mg-page{max-width:none;padding:0}.mg-qr-sheet{border:0;margin:0;padding:0}.mg-qr{break-inside:avoid}}.mg-copies{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.mg-chip{background:#f8fafc;border:1px solid #cbd5e1;border-radius:18px;align-items:center;gap:4px;max-width:100%;min-height:36px;padding:0 4px 0 12px;font-size:14px;line-height:20px;display:inline-flex}.mg-chip-t{overflow-wrap:anywhere;font-family:JetBrains Mono,ui-monospace,monospace;font-size:13px}.mg-chip-x{color:#475569;background:0 0;border:0;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;padding:0;display:flex}.mg-chip-x:hover{background:#e2e8f0}
