.mmg-personnel-card{position:fixed!important;inset:0!important;margin:auto!important;width:min(760px,calc(100vw - 32px))!important;max-width:760px!important;max-height:min(84dvh,760px)!important;box-sizing:border-box;border:1px solid var(--hairline,#ccd6df);border-radius:16px;padding:0!important;overflow:auto!important;background:var(--surface,#fff);color:var(--text,#172638);box-shadow:0 18px 55px #07182b44}.mmg-personnel-card::backdrop{background:#07182b80}.mmg-personnel-card form{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px 20px 0}.mmg-personnel-card form>header{position:sticky;top:-16px;z-index:4;grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-16px -20px 4px;padding:14px 18px;border-bottom:1px solid var(--hairline,#ccd6df);background:var(--surface,#fff)}.mmg-personnel-card h2,.mmg-personnel-card section,.mmg-personnel-card [role=alert],.mmg-personnel-card form>footer{grid-column:1/-1;margin:0}.mmg-personnel-card h2{font:600 20px/1.3 Inter,Arial,sans-serif}.mmg-personnel-card .mmg-personnel-card-close{width:36px;min-width:36px;height:36px;min-height:36px;padding:0;border:1px solid var(--hairline,#ccd6df);border-radius:8px;background:var(--surface-2,#f4f7fa);color:inherit;font:22px/1 Arial,sans-serif}.mmg-personnel-card form>footer{position:sticky;bottom:0;z-index:4;display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:4px -20px 0;padding:12px 18px;border-top:1px solid var(--hairline,#ccd6df);background:var(--surface,#fff)}.mmg-personnel-card form>footer button:first-child{margin-right:auto}.mmg-personnel-card label{display:flex;flex-direction:column;gap:4px;font-size:13px;min-width:0}.mmg-personnel-card input,.mmg-personnel-card textarea{box-sizing:border-box;width:100%;min-height:36px;color:inherit;background:var(--surface-2,#f4f7fa);border:1px solid var(--hairline,#ccd6df);border-radius:6px;padding:6px}.mmg-personnel-card input[type=checkbox]{width:20px;min-height:20px}.mmg-personnel-card fieldset{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0;border:1px solid var(--hairline,#ccd6df)}.mmg-personnel-card button{min-height:40px}.mmg-personnel-card textarea{resize:vertical}.mmg-personnel-card [role=alert]{color:var(--danger,#b62626)}@media(max-width:620px){.mmg-personnel-card{width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}.mmg-personnel-card form{grid-template-columns:1fr;padding-left:12px;padding-right:12px}.mmg-personnel-card form>header,.mmg-personnel-card form>footer{margin-left:-12px;margin-right:-12px}.mmg-personnel-card label:has(textarea){grid-column:1/-1}.mmg-personnel-card form>footer{flex-wrap:wrap}.mmg-personnel-card form>footer button:first-child{width:100%;margin-right:0}}
